Template:Poll aux: Difference between revisions
Jump to navigation
Jump to search
(Bleh.) |
m (Ugh.) |
||
Line 6: | Line 6: | ||
! Previous poll | ! Previous poll | ||
|- | |- | ||
| [[Pikipedia:Poll#{{{psection|{{{ptitle | | [[Pikipedia:Poll#{{#if:{{{psection|}}}|{{{psection}}}|{{{ptitle}}}}} | {{{ptitle}}}]] | ||
|- | |- | ||
| Winner: '''{{{pwinner}}}''' ({{{pwinnerp}}}% votes out of {{{poptions}}} options) | | Winner: '''{{{pwinner}}}''' ({{{pwinnerp}}}% votes out of {{{poptions}}} options) |
Revision as of 07:26, February 1, 2017
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. | |
ptitle | Yes | Title of the previous poll. | |
psection | No | Name of the previous poll's section on Pikipedia:Poll. Use this when the title has italics (because the section name doesn't technically have italics in it). If not specified, it'll be the same as {{{ptitle}}}. | |
pwinner | Yes | Winner of the previous poll. | |
pwinnerp | Yes | Percentage of votes that the winner of the previous poll got. | |
poptions | Yes | Number of options that the previous poll had. |
Skeleton
{{poll aux |id = |max = |ptitle = |psection = |pwinner = |pwinnerp = |poptions = }}