Template:Voting Table: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{{numberOfRounds}}} |
|||
{| class="article-table" style="height: 1px; border: 2px solid #d10200; border-collapse:collapse" cellspacing="1" cellpadding="1" border="1" |
|||
|{{#switch:{{{numberOfRounds}}}} |
|||
|- |
|||
| #default|1 = {{Voting Table R1}} |
|||
! colspan="20" scope="row" style="background-color: #000000; color: #ffffff; text-align:center;" |{{{year|2018}}} - {{{seed}}} |
|||
| 2 = {{Voting Table R2}} |
|||
|- |
|||
| 3 = {{Voting Table R3}} |
|||
! style="text-align:center;" |Round |
|||
| 4 = {{Voting Table R4}} |
|||
! style="text-align:center;" |Opponent |
|||
| 5 = {{Voting Table R5}} |
|||
! style="text-align:center;" |Series |
|||
| 6 = {{Voting Table R6}} |
|||
! style="text-align:center;" |Votes |
|||
| 7 = {{Voting Table R7}} |
|||
! style="text-align:center;" |Pct. For |
|||
|- |
|||
|Round {{{round1|1}}} |
|||
|({{{oppSeedNumber1|}}}) {{{oppIcon1|}}} {{{oppName1|}}} |
|||
|{{{series1|}}} |
|||
|{{{voteA1|}}} - {{{voteB1|}}} |
|||
| style="background-color: {{{bgcolor1|#98fb98}}}; text-align:center;" | {{{pcctfor1|}}}% |
|||
|- |
|||
|Round {{{round2|2}}} |
|||
|({{{oppSeedNumber2|}}}) {{{oppIcon2|}}} {{{oppName2|}}} |
|||
|{{{series2|}}} |
|||
|{{{voteA2|}}} - {{{voteB2|}}} |
|||
| style="background-color: {{{bgcolor2|#98fb98}}}; text-align:center;" | {{{pcctfor2|}}}% |
|||
|- |
|||
|Round {{{round3|3}}} |
|||
|({{{oppSeedNumber3|}}}) {{{oppIcon3|}}} {{{oppName3|}}} |
|||
|{{{series3|}}} |
|||
|{{{voteA3|}}} - {{{voteB3|}}} |
|||
| style="background-color: {{{bgcolor3|#98fb98}}}; text-align:center;" | {{{pcctfor3|}}}% |
|||
|- |
|||
|Round {{{round4|4}}} |
|||
|({{{oppSeedNumber4|}}}) {{{oppIcon4|}}} {{{oppName4|}}} |
|||
|{{{series4|}}} |
|||
|{{{voteA4|}}} - {{{voteB4|}}} |
|||
| style="background-color: {{{bgcolor4|#98fb98}}}; text-align:center;" | {{{pcctfor4|}}}% |
|||
|- |
|||
|{{{round5|Quarter-Finals}}} |
|||
|({{{oppSeedNumber5|}}}) {{{oppIcon5|}}} {{{oppName5|}}} |
|||
|{{{series5|}}} |
|||
|{{{voteA5|}}} - {{{voteB5|}}} |
|||
| style="background-color: {{{bgcolor5|#98fb98}}}; text-align:center;" | {{{pcctfor5|}}}% |
|||
|- |
|||
|{{{round6|Semi-Finals}}} |
|||
|({{{oppSeedNumber6|}}}) {{{oppIcon6|}}} {{{oppName6|}}} |
|||
|{{{series6|}}} |
|||
|{{{voteA6|}}} - {{{voteB6|}}} |
|||
| style="background-color: {{{bgcolor6|#98fb98}}}; text-align:center;" | {{{pcctfor6|}}}% |
|||
|- |
|||
|{{{round7|Finals}}} |
|||
|({{{oppSeedNumber7|}}}) {{{oppIcon7|}}} {{{oppName7|}}} |
|||
|{{{series7|}}} |
|||
|{{{voteA7|}}} - {{{voteB7|}}} |
|||
| style="background-color: {{{bgcolor7|#98fb98}}}; text-align:center;" | {{{pcctfor7|}}}% |
|||
|} |
|} |
||
<noinclude> |
<noinclude> |
||
<!-- Red: #ffdedb- -> |
<!-- 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
|}