Difference between revisions of "Template:Past Poll"

m
m
Line 1: Line 1:
<includeonly>{| style="border:1px solid #000000; border-collapse:collapse; margin:1px; width:auto;"
+
{| style="border:1px solid #000000; border-collapse:collapse; margin:1px; width:auto;"
 
|-
 
|-
 
! 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}}}
Line 26: Line 26:
 
}}
 
}}
 
|}
 
|}
{{#if: {{{option3}}}
+
{{#if: {{{option3|}}}
 
| {{!}}-
 
| {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option3}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option3}}}
Line 39: Line 39:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
   {{#if: {{{option4}}}
+
   {{#if: {{{option4|}}}
 
   | {{!}}-
 
   | {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option4}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option4}}}
Line 52: Line 52:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
     {{#if: {{{option5}}}
+
     {{#if: {{{option5|}}}
 
     | {{!}}-
 
     | {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option5}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option5}}}
Line 65: Line 65:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
       {{#if: {{{option6}}}
+
       {{#if: {{{option6|}}}
 
       | {{!}}-
 
       | {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option6}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option6}}}
Line 78: Line 78:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
         {{#if: {{{option7}}}
+
         {{#if: {{{option7|}}}
 
         | {{!}}-
 
         | {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option7}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option7}}}
Line 91: Line 91:
 
}}
 
}}
 
{{!}}}
 
{{!}}}
           {{#if: {{{option8}}}
+
           {{#if: {{{option8|}}}
 
           | {{!}}-
 
           | {{!}}-
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option8}}}
 
{{!}} style="background-color:#F6F6F6; padding:3px 5px;" {{!}} {{{option8}}}
Line 112: Line 112:
 
|-
 
|-
 
| colspan="3" style="background-color:#F6F6F6; font-size:10px; padding:3px; text-align:right;" | ({{{totalvotes}}} votes total)
 
| colspan="3" style="background-color:#F6F6F6; font-size:10px; padding:3px; text-align:right;" | ({{{totalvotes}}} votes total)
|}</includeonly><noinclude>[[Template:Past Poll]] is designed for use on the [[UOGuide:Polls|Past Polls]] page to display a poll that has was once featured on the front page of UOGuide and has since been archived.
+
|}<noinclude>[[Template:Past Poll]] is designed for use on the [[UOGuide:Polls|Past Polls]] page to display a poll that has was once featured on the front page of UOGuide and has since been archived.
  
 
==Template==
 
==Template==

Revision as of 12:02, 1 September 2009

{{{question}}}
{{{option1}}}
{{{result1}}}%
{{{option2}}}
{{{result2}}}%
({{{totalvotes}}} votes total)
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=
}}