Template:Poll aux: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Hope this works.)
(Might as well center this too.)
Line 1: Line 1:
<includeonly><center>{{#if:{{{max|}}}|''You may select up to {{{max}}} options.''<br>}}
<includeonly><center>{{#if:{{{max|}}}|''You may select up to {{{max}}} options.''<br>}}
{{#tag:polldaddy||pollid={{{id}}}}}</center>
{{#tag:polldaddy||pollid={{{id}}}}}</center>
<div style="align: left; font-size: 7pt;">({{tt|Not showing?|If you cannot see the poll, consider disabling any ad-blocking extension on Pikipedia. Alternately, click the link to the right to be taken to the poll page.}} <span class="plainlinks">[https://polldaddy.com/poll/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div>
<div style="align: left; margin: auto; font-size: 7pt;">({{tt|Not showing?|If you cannot see the poll, consider disabling any ad-blocking extension on Pikipedia. Alternately, click the link to the right to be taken to the poll page.}} <span class="plainlinks">[https://polldaddy.com/poll/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div>


{| style="margin: auto;"
{| style="margin: auto;"

Revision as of 06:17, June 1, 2016


This template populates the poll data to be used on Template:Poll. It is only an auxiliary template that makes it easier to update to a new poll.

Parameter Mandatory Default Detailed description
id Yes Poll ID used on polldaddy.com.
max No If specified, this is the maximum number of options the user can pick.
ptitle Yes Title of the previous poll.
psection No Name of the previous poll's section on Pikipedia:Poll. Use this when the title has italics (because the section name doesn't technically have italics in it). If not specified, it'll be the same as {{{ptitle}}}.
pwinner Yes Winner of the previous poll.
pwinnerp Yes Percentage of votes that the winner of the previous poll got.
poptions Yes Number of options that the previous poll had.

Skeleton

{{poll aux
|id       = 
|max      = 
|ptitle   = 
|psection = 
|pwinner  = 
|pwinnerp = 
|poptions = 
}}