Template:CitePoll/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{{Documentation}} __NOTOC__ {{invokes|References}} ==Usage== <pre>{{CitePoll|url=|poll=|question=|polldate=|notes=|name=}}</pre> ===url=== The full URL of the poll, including <code>http://</code> ===poll=== Name of the poll being cited. ===question=== Number of the question being cited. Do not use names. If the poll only has a single question, use <code>question=no</code> - this removes a maintenance category. ===Polldate=== Date the poll was opened. {{References st...")
(No difference)

Revision as of 00:21, 17 October 2024

This is a documentation subpage for Template:CitePoll.
It contains usage information, categories, and other content that is not part of the original template page.
Template:CitePoll invokes function pollref in Module:References using Lua.
Template:CitePoll invokes Module:References using Lua.

Usage

{{CitePoll|url=|poll=|question=|polldate=|notes=|name=}}

url

The full URL of the poll, including http://

poll

Name of the poll being cited.

question

Number of the question being cited. Do not use names. If the poll only has a single question, use question=no - this removes a maintenance category.

Polldate

Date the poll was opened.

Standard parameters

The following parameters are standard across all citation templates.

notes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

name

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

group

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.