Template:Poll aux: Difference between revisions
Jump to navigation
Jump to search
(Looks like {{anchorencode}} will help here.) |
mNo edit summary |
||
Line 6: | Line 6: | ||
! Previous poll | ! Previous poll | ||
|- | |- | ||
| [[Pikipedia:Poll#{{anchorencode:{{{ | | [[Pikipedia:Poll#{{anchorencode:{{{prevtitle}}}}}|{{{prevtitle}}}]] | ||
|- | |- | ||
| Winner: '''{{{prevwinner}}}''' ({{{prevwinnerp}}}% votes out of {{{prevoptions}}} options) | | Winner: '''{{{prevwinner}}}''' ({{{prevwinnerp}}}% votes out of {{{prevoptions}}} options) |
Revision as of 17:57, November 9, 2018
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.
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
id | Yes | Poll ID used on polldaddy.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 = }}