Difference between revisions of "Template:Past Poll"
m |
m |
||
Line 3: | Line 3: | ||
! colspan="2" style="background-color:#9F3215; border:1px solid #000000; color:#FFFFFF; padding:3px;" | {{{question}}} | ! colspan="2" style="background-color:#9F3215; border:1px solid #000000; color:#FFFFFF; padding:3px;" | {{{question}}} | ||
|- | |- | ||
− | | style="background-color:#F6F6F6; padding:3px; width:auto;" | {{{option1}}} | + | | style="background-color:#F6F6F6; padding:3px 5px; width:auto;" | {{{option1}}} |
| style="background-color:#F6F6F6; padding:3px; width:auto;" | | | style="background-color:#F6F6F6; padding:3px; width:auto;" | | ||
{| style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {| style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
|- | |- | ||
− | | style="background-color:#F6F6F6; font-size:10px; padding | + | | style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" | {{{result1}}}% |
{{#if: {{{result1|}}} | {{#if: {{{result1|}}} | ||
| {{#ifexpr: {{{result1}}} > 0 | | {{#ifexpr: {{{result1}}} > 0 | ||
Line 19: | Line 19: | ||
{| style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {| style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
|- | |- | ||
− | | style="background-color:#F6F6F6; font-size:10px; padding | + | | style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" | {{{result2}}}% |
{{#if: {{{result2|}}} | {{#if: {{{result2|}}} | ||
| {{#ifexpr: {{{result2}}} > 0 | | {{#ifexpr: {{{result2}}} > 0 | ||
Line 32: | Line 32: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result3}}}% |
{{#if: {{{result3|}}} | {{#if: {{{result3|}}} | ||
| {{#ifexpr: {{{result3}}} > 0 | | {{#ifexpr: {{{result3}}} > 0 | ||
Line 45: | Line 45: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result4}}}% |
{{#if: {{{result4|}}} | {{#if: {{{result4|}}} | ||
| {{#ifexpr: {{{result4}}} > 0 | | {{#ifexpr: {{{result4}}} > 0 | ||
Line 58: | Line 58: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result5}}}% |
{{#if: {{{result5|}}} | {{#if: {{{result5|}}} | ||
| {{#ifexpr: {{{result5}}} > 0 | | {{#ifexpr: {{{result5}}} > 0 | ||
Line 71: | Line 71: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result6}}}% |
{{#if: {{{result6|}}} | {{#if: {{{result6|}}} | ||
| {{#ifexpr: {{{result6}}} > 0 | | {{#ifexpr: {{{result6}}} > 0 | ||
Line 84: | Line 84: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result7}}}% |
{{#if: {{{result7|}}} | {{#if: {{{result7|}}} | ||
| {{#ifexpr: {{{result7}}} > 0 | | {{#ifexpr: {{{result7}}} > 0 | ||
Line 97: | Line 97: | ||
{{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | {{{!}} style="border-collapse:collapse; margin-left:auto; margin-right:0px; width:auto;" | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="background-color:#F6F6F6; font-size:10px; padding | + | {{!}} style="background-color:#F6F6F6; font-size:10px; padding:0px 3px 0px 10px; text-align:right;" {{!}} {{{result8}}}% |
{{#if: {{{result8|}}} | {{#if: {{{result8|}}} | ||
| {{#ifexpr: {{{result8}}} > 0 | | {{#ifexpr: {{{result8}}} > 0 |
Revision as of 10:47, 1 September 2009
Template:Past Poll is designed for use on the Past Polls page to display a poll that has was once featured on the front page of UOGuide and has since been archived.
Template
{{Past Poll |question= |option1= |result1= |option2= |result2= |option3= |result3= |option4= |result4= |option5= |result5= |option6= |result6= |option7= |result7= |option8= |result8= |totalvotes= }}