Template:Old poll: Difference between revisions
Jump to navigation
Jump to search
m (Skeleton.) |
mNo edit summary |
||
Line 6: | Line 6: | ||
! Percentage || Votes | ! Percentage || Votes | ||
|- | |- | ||
{{poll option|{{{1}}}|{{#expr:{{{2}}} / {{{votes}}} * 100}}|{{{2}}}|{{#ifeq:{{{most}}}|{{{2}}}|y}}}} | {{poll option|{{{1|}}}|{{#expr:{{{2}}} / {{{votes}}} * 100}}|{{{2}}}|{{#ifeq:{{{most}}}|{{{2}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{3}}}|{{#expr:{{{4}}} / {{{votes}}} * 100}}|{{{4}}}|{{#ifeq:{{{most}}}|{{{4}}}|y}}}} | {{poll option|{{{3|}}}|{{#expr:{{{4}}} / {{{votes}}} * 100}}|{{{4}}}|{{#ifeq:{{{most}}}|{{{4}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{5}}}|{{#expr:{{{6}}} / {{{votes}}} * 100}}|{{{6}}}|{{#ifeq:{{{most}}}|{{{6}}}|y}}}} | {{poll option|{{{5|}}}|{{#expr:{{{6}}} / {{{votes}}} * 100}}|{{{6}}}|{{#ifeq:{{{most}}}|{{{6}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{7}}}|{{#expr:{{{8}}} / {{{votes}}} * 100}}|{{{8}}}|{{#ifeq:{{{most}}}|{{{8}}}|y}}}} | {{poll option|{{{7|}}}|{{#expr:{{{8}}} / {{{votes}}} * 100}}|{{{8}}}|{{#ifeq:{{{most}}}|{{{8}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{9}}}|{{#expr:{{{10}}} / {{{votes}}} * 100}}|{{{10}}}|{{#ifeq:{{{most}}}|{{{10}}}|y}}}} | {{poll option|{{{9|}}}|{{#expr:{{{10}}} / {{{votes}}} * 100}}|{{{10}}}|{{#ifeq:{{{most}}}|{{{10}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{11}}}|{{#expr:{{{12}}} / {{{votes}}} * 100}}|{{{12}}}|{{#ifeq:{{{most}}}|{{{12}}}|y}}}} | {{poll option|{{{11|}}}|{{#expr:{{{12}}} / {{{votes}}} * 100}}|{{{12}}}|{{#ifeq:{{{most}}}|{{{12}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{13}}}|{{#expr:{{{14}}} / {{{votes}}} * 100}}|{{{14}}}|{{#ifeq:{{{most}}}|{{{14}}}|y}}}} | {{poll option|{{{13|}}}|{{#expr:{{{14}}} / {{{votes}}} * 100}}|{{{14}}}|{{#ifeq:{{{most}}}|{{{14}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{15}}}|{{#expr:{{{16}}} / {{{votes}}} * 100}}|{{{16}}}|{{#ifeq:{{{most}}}|{{{16}}}|y}}}} | {{poll option|{{{15|}}}|{{#expr:{{{16}}} / {{{votes}}} * 100}}|{{{16}}}|{{#ifeq:{{{most}}}|{{{16}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{17}}}|{{#expr:{{{18}}} / {{{votes}}} * 100}}|{{{18}}}|{{#ifeq:{{{most}}}|{{{18}}}|y}}}} | {{poll option|{{{17|}}}|{{#expr:{{{18}}} / {{{votes}}} * 100}}|{{{18}}}|{{#ifeq:{{{most}}}|{{{18}}}|y}}}} | ||
|- | |- | ||
{{poll option|{{{19}}}|{{#expr:{{{20}}} / {{{votes}}} * 100}}|{{{20}}}|{{#ifeq:{{{most}}}|{{{20}}}|y}}}} | {{poll option|{{{19|}}}|{{#expr:{{{20}}} / {{{votes}}} * 100}}|{{{20}}}|{{#ifeq:{{{most}}}|{{{20}}}|y}}}} | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 07:07, June 1, 2016
Info
Use this template to provide info about an old poll. To be used on Pikipedia:Poll.
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
1, 3, 5, ..., 19 | No | Title of option 1, option 2, etc., up to 10 options. | |
2, 4, 6, ..., 20 | No | Number of votes for option 1, option 2, etc., up to 10 options. | |
id | Yes | Poll ID on polldaddy.com. | |
begin | Yes | Begin date for this poll. Use {{date}}. | |
end | Yes | End date for this poll. Use {{date}}. | |
votes | Yes | Total number of votes it got. | |
max | No | If users can vote more than one option, specify that number here. | |
most | Yes | Number of votes of the winner option(s). |
Skeleton
{{old poll |id = |begin = {{date|||}} |end = {{date|||}} |votes = |max = |most = |... }}