Template:Poll aux: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(PollDaddy has changed names.)
No edit summary
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}}}}}
{{#widget:Crowdsignal|id={{{id}}}}}
<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://crowdsignal.com/poll/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div></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://crowdsignal.com/poll/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div></center>



Revision as of 19:11, January 15, 2019


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 crowdsignal.com.
max No If specified, this is the maximum number of options the user can pick.
prevtitle Yes Title of the previous poll.
prevwinner Yes Winner of the previous poll.
prevwinnerp Yes Percentage of votes that the winner of the previous poll got.
prevoptions Yes Number of options that the previous poll had.

Skeleton

{{poll aux
|id          = 
|max         = 
|prevtitle   = 
|prevwinner  = 
|prevwinnerp = 
|prevoptions = 
}}