Template:Poll aux: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
Line 47: Line 47:
</pre>
</pre>


[[Category:Utility templates]]
[[Category:Utility templates]]</noinclude>
</noinclude>

Revision as of 01:51, August 30, 2019


This template populates the poll data to be used on Template:Poll. It is only an auxiliary template that makes it easier to update to a new poll, since this way, the editor doesn't have to find what to replace in the middle of Template:Poll's code.

Parameter Mandatory Default Detailed description
id Yes Poll ID used on crowdsignal.com.
max No If specified, this is the maximum number of options the user can pick.
prevtitle Yes Title of the previous poll.
prevwinner Yes Winner of the previous poll.
prevwinnerp Yes Percentage of votes that the winner of the previous poll got.
prevoptions Yes Number of options that the previous poll had.

Skeleton

{{poll aux
|id          = 
|max         = 
|prevtitle   = 
|prevwinner  = 
|prevwinnerp = 
|prevoptions = 
}}