Difference between revisions of "Template:Stats table"

From comp.tf
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
! 1
 
! 1
| [[File:{{#if:{{{icon1|}}}|{{{icon1}}}|{{{class1}}}}}icon.png|20px|link={{{class1}}}]]
+
| rowspan={{#if:{{{rowspanclass1|}}}|{{{rowspanclass1}}}|1}} | [[File:{{#if:{{{icon1|}}}|{{{icon1}}}|{{{class1}}}}}icon.png|20px|link={{{class1}}}]]
| [[File:{{{team1}}}_Icon_Thin.png|link={{{team1}}}]]
+
| rowspan={{#if:{{{rowspanteam1|}}}|{{{rowspanteam1}}}|1}} | [[File:{{{team1}}}_Icon_Thin.png|link={{{team1}}}]]
| {{Player link|{{{flag1}}}|{{{player1}}}}}
+
| style="padding-left:1em; padding-right:1em;" | {{Player link|{{{flag1}}}|{{{player1}}}}}
| {{{value1}}}
+
| style="padding-left:0.5em; padding-right:0.5em;" | {{{value1}}}
 
|-
 
|-
 
! 2
 
! 2
| [[File:{{#if:{{{icon2|}}}|{{{icon2}}}|{{{class2}}}}}icon.png|20px|link={{{class2}}}]]
+
| rowspan={{#if:{{{rowspanclass2|}}}|{{{rowspanclass2}}}|1}} | [[File:{{#if:{{{icon2|}}}|{{{icon2}}}|{{{class2}}}}}icon.png|20px|link={{{class2}}}]]
| [[File:{{{team2}}}_Icon_Thin.png|link={{{team2}}}]]
+
| rowspan={{#if:{{{rowspanteam2|}}}|{{{rowspanteam2}}}|1}} | [[File:{{{team2}}}_Icon_Thin.png|link={{{team2}}}]]
| {{Player link|{{{flag2}}}|{{{player2}}}}}
+
| style="padding-left:1em; padding-right:1em;" | {{Player link|{{{flag2}}}|{{{player2}}}}}
| {{{value2}}}
+
| style="padding-left:0.5em; padding-right:0.5em;" | {{{value2}}}
 
|-
 
|-
 
! 3
 
! 3
| [[File:{{#if:{{{icon3|}}}|{{{icon3}}}|{{{class3}}}}}icon.png|20px|link={{{class3}}}]]
+
| rowspan={{#if:{{{rowspanclass3|}}}|{{{rowspanclass3}}}|1}} | [[File:{{#if:{{{icon3|}}}|{{{icon3}}}|{{{class3}}}}}icon.png|20px|link={{{class3}}}]]
| [[File:{{{team3}}}_Icon_Thin.png|link={{{team3}}}]]
+
| rowspan={{#if:{{{rowspanteam3|}}}|{{{rowspanteam3}}}|1}} | [[File:{{{team3}}}_Icon_Thin.png|link={{{team3}}}]]
| {{Player link|{{{flag3}}}|{{{player3}}}}}
+
| style="padding-left:1em; padding-right:1em;" | {{Player link|{{{flag3}}}|{{{player3}}}}}
| {{{value3}}}
+
| style="padding-left:0.5em; padding-right:0.5em;" | {{{value3}}}
 
|-
 
|-
 
! 4
 
! 4
| [[File:{{#if:{{{icon4|}}}|{{{icon4}}}|{{{class4}}}}}icon.png|20px|link={{{class4}}}]]
+
| rowspan={{#if:{{{rowspanclass4|}}}|{{{rowspanclass4}}}|1}} | [[File:{{#if:{{{icon4|}}}|{{{icon4}}}|{{{class4}}}}}icon.png|20px|link={{{class4}}}]]
| [[File:{{{team4}}}_Icon_Thin.png|link={{{team4}}}]]
+
| rowspan={{#if:{{{rowspanteam4|}}}|{{{rowspanteam4}}}|1}} | [[File:{{{team4}}}_Icon_Thin.png|link={{{team4}}}]]
| {{Player link|{{{flag4}}}|{{{player4}}}}}
+
| style="padding-left:1em; padding-right:1em;" | {{Player link|{{{flag4}}}|{{{player4}}}}}
| {{{value4}}}
+
| style="padding-left:0.5em; padding-right:0.5em;" | {{{value4}}}
 
|-
 
|-
 
! 5
 
! 5
| [[File:{{#if:{{{icon5|}}}|{{{icon5}}}|{{{class5}}}}}icon.png|20px|link={{{class5}}}]]
+
| rowspan={{#if:{{{rowspanclass5|}}}|{{{rowspanclass5}}}|1}} | [[File:{{#if:{{{icon5|}}}|{{{icon5}}}|{{{class5}}}}}icon.png|20px|link={{{class5}}}]]
| [[File:{{{team5}}}_Icon_Thin.png|link={{{team5}}}]]
+
| rowspan={{#if:{{{rowspanteam5|}}}|{{{rowspanteam5}}}|1}} | [[File:{{{team5}}}_Icon_Thin.png|link={{{team5}}}]]
 
| {{Player link|{{{flag5}}}|{{{player5}}}}}
 
| {{Player link|{{{flag5}}}|{{{player5}}}}}
| {{{value5}}}
+
| style="padding-left:0.5em; padding-right:0.5em;" | {{{value5}}}
 
|}</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>
 
|}</includeonly><noinclude>{{documentation}}[[Category:Template]][[Category:Templates]]</noinclude>

Latest revision as of 04:20, 20 June 2016

(view - edit) Documentation

{{Stats table |title=|header=
|class1=
|team1=
|flag1=
|player1=
|value1=

|class2=
|team2=
|flag2=
|player2=
|value2=

|class3=
|team3=
|flag3=
|player3=
|value3=

|class4=
|team4=
|flag4=
|player4=
|value4=

|class5=
|team5=
|flag5=
|player5=
|value5=
}}