Template:Voting Table: Difference between revisions
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|{{{voteA1|}}} - {{{voteB1|}}} |
|{{{voteA1|}}} - {{{voteB1|}}} |
||
| style="background-color: {{{bgcolor1|#98fb98}}}; text-align:center;" | {{{pcctfor1|}}}% |
| style="background-color: {{{bgcolor1|#98fb98}}}; text-align:center;" | {{{pcctfor1|}}}% |
||
|- |
|||
{{#ifexpr:{{{number of rows|1}}}>1| |
|||
|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- -> |
||
Line 27: | Line 57: | ||
[[Category:Characters]] |
[[Category:Characters]] |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
<!--{{#switch: {{{numberOfRounds}}} |
|||
| 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> |
</noinclude> |
||
<noinclude>{{Documentation}}</noinclude> |
Latest revision as of 05:40, 19 May 2021
2018 - {{{seed}}} | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | () | - | % | ||||||||||||||||
Round 2 | () | - | % | ||||||||||||||||
Round 3 | () | - | % | ||||||||||||||||
Round 4 | () | - | % | ||||||||||||||||
Quarter-Finals | () | - | % | ||||||||||||||||
Semi-Finals | () | - | % | ||||||||||||||||
Finals | () | - | % |
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[edit]
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[edit]
Type {{Voting Table}}
somewhere.
Samples[edit]
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 13 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Round | Opponent | Series | Votes | Pct. For | |||||||||||||||
Round 1 | (116) Maid Marian | Robin Hood | 231 - 100 | 69.8% | |||||||||||||||
Round 2 | (52) Dexter's Mom | Dexter's Laboratory | 175 - 156 | 59.9% | |||||||||||||||
Round 3 | (20) Noodle | Gorillaz | 169 - 161 | 51.2% | |||||||||||||||
Round 4 | (4) Harley Quinn | DC | 185 - 112 | 62.3% | |||||||||||||||
Quarter-Finals | () | - | % | ||||||||||||||||
Semi-Finals | () | - | % | ||||||||||||||||
Finals | () | - | % |