Template:Votes: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
No edit summary |
(explode loop counts one too many, so subtract the last one when returning.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:VotesNum|0}}{{#while:|{{#explode:{{{1|}}}|*|{{++|VotesNum}}}}|}}{{ | <includeonly>{{#vardefine:VotesNum|0}}{{#while:|{{#explode:{{{1|}}}|*|{{++|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. |