Template:Voting Table: Difference between revisions
No edit summary |
No edit summary |
||
Line 1:
{{{numberOfRounds}}}
|{{#switch:{{{numberOfRounds}}}}
| #default|1 = {{Voting Table R1}}
| 2 = {{Voting Table R2}}
| 3 = {{Voting Table R3}}
| 4 = {{Voting Table R4}}
| 5 = {{Voting Table R5}}
| 6 = {{Voting Table R6}}
| 7 = {{Voting Table R7}}
|}
<noinclude>
<!-- Red: #ffdedb- ->
|
Revision as of 05:13, 19 May 2021
{{{numberOfRounds}}} |{{#switch:{{{numberOfRounds}}}} | #default|1 =
2018 - seed {{{seed}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | () | ' | ' - | % |
| 2 =
2018 - {{{seed}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | () | - | % | ||||||||||||||||
Round 2 | () | - | % |
| 3 = Template:Voting Table R3
| 4 = Template:Voting Table R4
| 5 = Template:Voting Table R5
| 6 = Template:Voting Table R6
| 7 = Template:Voting Table R7
|}
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
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...
{{{numberOfRounds}}} |{{#switch:{{{numberOfRounds}}}} | #default|1 =
2018 - seed {{{seed}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | () | ' | ' - | % |
| 2 =
2018 - {{{seed}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | () | - | % | ||||||||||||||||
Round 2 | () | - | % |
| 3 = Template:Voting Table R3
| 4 = Template:Voting Table R4
| 5 = Template:Voting Table R5
| 6 = Template:Voting Table R6
| 7 = Template:Voting Table R7
|}