Difference between revisions of "Template:Abo"
From Stars!wiki
Line 17: | Line 17: | ||
|align='right'| '''{{{3}}}''' | |align='right'| '''{{{3}}}''' | ||
|align='right'| {{#expr:trunc(({{{3}}}*100)/({{{1}}}+{{{2}}}+{{{3}}}))}}% | |align='right'| {{#expr:trunc(({{{3}}}*100)/({{{1}}}+{{{2}}}+{{{3}}}))}}% | ||
− | |- | + | {{#if: {{{4}}}| |
− | + | {{!}}- | |
+ | {{!}}{{{5}}} | ||
+ | |}} | ||
|}<br clear=left></includeonly> | |}<br clear=left></includeonly> |
Revision as of 18:14, 11 January 2012
Template to display results from a survey on which cheats should be banned.
Usage:{{abo| (votes for allow) | (votes for ban) | (votes for other) | (imagefilename) | (optional other content)}}
eg: {{abo|4|6|10|Chaffresponse.png|Blah}} produces:
Allow: | 4 | 20% |
Ban: | 6 | 30% |
Other: | 10 | 50% |