Template:Voting Table: Difference between revisions

From 4chan Tournaments Wiki
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
{{{numberOfRounds}}}
{{#switch: {{{numberOfRounds}}}
|{{#switch:{{{numberOfRounds}}}}
| #default|1 = {{Voting Table R1}}
| #default|1 = {{Voting Table R1}}
| 2 = {{Voting Table R2}}
| 2 = {{Voting Table R2}}
Line 8: Line 7:
| 6 = {{Voting Table R6}}
| 6 = {{Voting Table R6}}
| 7 = {{Voting Table R7}}
| 7 = {{Voting Table R7}}
|}
}}


<noinclude>
<noinclude>

Revision as of 05:16, 19 May 2021

2018 - seed {{{seed}}}
Round Opponent Series Votes Pct. For
Round 1 () ' ' - %


Description

This template is created as a prototype test for creating easier Voting Tables, and initializes a table for R1-R7, however it still creates rows for the character when the values are null.

Test Cases go Here: https://mrmsco.fandom.com/wiki/Template:Voting_Table/testcases

Syntax

Type {{Voting Table}} somewhere.

Samples

This is an example for the character Gwenpool.

{{Voting Table |year = 2018 |seed = seed 13 |oppSeedNumber1 = 116 |oppIcon1 = {{Maid marian}} |oppName1 = [[Maid Marian]] |series1 = ''Robin Hood'' |voteA1 = '''231''' |voteB1 = 100 |pcctfor1 = 69.8 |oppSeedNumber2 = 52 |oppIcon2 = {{Dexters mom}} |oppName2 = [[Dexter's Mom]] |series2 = ''Dexter's Laboratory'' |voteA2 = '''175''' |voteB2 = 156 |pcctfor2 = 59.9 |oppSeedNumber3 = 20 |oppIcon3 = {{Noodle}} |oppName3 = [[Noodle]] |series3 = ''Gorillaz'' |voteA3 = '''169''' |voteB3 = 161 |pcctfor3 = 51.2 |oppSeedNumber4 = 4 |oppIcon4 = {{Harley}} |oppName4 = [[Harley Quinn]] |series4 = ''DC'' |voteA4 = 185 |voteB4 = '''112''' |pcctfor4 = 62.3 |bgcolor4 = #ffdedb }}

results in...


2018 - seed {{{seed}}}
Round Opponent Series Votes Pct. For
Round 1 () ' ' - %