Template:Poll aux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replacement - "{| style="margin: auto; border: 1px rgba(96, 128, 96, 128) solid; border-radius: 8px; text-align: center;"" to "{| style="margin: 0 auto 10px; border: 1px rgba(96, 128, 96, 128) solid; border-radius: 8px; text-align: center;"") |
||
Line 3: | Line 3: | ||
<div style="font-size: 7pt; text-align: center;">({{tt|Not showing?|If you cannot see the poll, consider disabling any ad-blocking extensions on Pikipedia. Alternately, click the link to the right to be taken to the poll page.}} <span class="plainlinks">[https://poll.fm/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div> | <div style="font-size: 7pt; text-align: center;">({{tt|Not showing?|If you cannot see the poll, consider disabling any ad-blocking extensions on Pikipedia. Alternately, click the link to the right to be taken to the poll page.}} <span class="plainlinks">[https://poll.fm/{{{id}}} [Link<nowiki>]</nowiki>]</span>)</div> | ||
{| style="margin: auto; border: 1px rgba(96, 128, 96, 128) solid; border-radius: 8px; text-align: center;" | {| style="margin: 0 auto 10px; border: 1px rgba(96, 128, 96, 128) solid; border-radius: 8px; text-align: center;" | ||
! Previous poll | ! Previous poll | ||
|- | |- |
Revision as of 12:58, April 5, 2021
Info
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, since this way, the editor doesn't have to find what to replace in the middle of Template:Poll's code.
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 = }}