Difference between revisions of "Template:Abo"
From Stars!wiki
Line 1: | Line 1: | ||
− | <includeonly> | + | <noinclude>Template to display results from a survey on which cheats should be banned. |
+ | |||
+ | Usage:<nowiki>{{abo| (votes for allow) | (votes for ban) | (votes for other) }}</nowiki> | ||
+ | |||
+ | eg: <nowiki>{{abo|4|6|10}}</nowiki> produces: {{abo|4|6|10}}</noinclude><includeonly> | ||
{| | {| | ||
− | |Allow || '''{{{1}}}''' || | + | ||Allow: |align='right'| '''{{{1}}}''' |align='right'| {{#expr:trunc(({{{1}}}*100)/({{{1}}}+{{{2}}}+{{{3}}}))}}% |
|- | |- | ||
− | |Ban: || '''{{{2}}}''' || | + | ||Ban: |align='right'| '''{{{2}}}''' |align='right'| {{#expr:trunc(({{{2}}}*100)/({{{1}}}+{{{2}}}+{{{3}}}))}}% |
|- | |- | ||
− | |Other: || '''{{{3}}}''' || | + | ||Other: |align='right'| '''{{{3}}}''' |align='right'| {{#expr:trunc(({{{3}}}*100)/({{{1}}}+{{{2}}}+{{{3}}}))}}% |
|}</includeonly> | |}</includeonly> |
Revision as of 03:02, 14 March 2011
Template to display results from a survey on which cheats should be banned.
Usage:{{abo| (votes for allow) | (votes for ban) | (votes for other) }}
eg: {{abo|4|6|10}} produces: [[Image:{{{4}}}|left]]
Allow: | 4 | 20% |
Ban: | 6 | 30% |
Other: | 10 | 50% |