Template:Votes: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
(Undid revision 67443 by Locke (talk) guess it didn't like that)
Line 1: Line 1:
<includeonly>{{#vardefine:VotesNum|0}}{{#while:|{{#explode:{{{1|}}}|{{N}}
<includeonly>{{#vardefine:VotesNum|0}}{{#while:|{{#explode:{{N}}
*|{{++|VotesNum}}}}|}}</includeonly><noinclude>
{{{1|}}}|{{N}}
*|{{++|VotesNum}}}}|}}{{--|VotesNum}}</includeonly><noinclude>
==Purpose==
==Purpose==
This template is used to automatically count the rolling votes in featured content nominations.
This template is used to automatically count the rolling votes in featured content nominations.

Revision as of 00:32, April 4, 2013

Purpose

This template is used to automatically count the rolling votes in featured content nominations.

Usage

Using this template properly requires the following formatting to be put in place when setting up a new nomination, after which, it'll function on its own so long as new votes are put in the proper locations. This formatting goes within a nomination, below the introductory post:

===Support===
{{Votes/Support|
<!-- Place support votes within the brackets and below this line.-->

}}
===Oppose===
{{Votes/Oppose|
<!-- Place opposition votes within the brackets and below this line.-->

}}
===Total===
{{Votes/Total|~}}