Difference between revisions of "Template:InfoboxPlayer"

From comp.tf
Jump to navigation Jump to search
m
m
Line 45: Line 45:
 
{{#if:{{{name|}}}|
 
{{#if:{{{name|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Name'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Name:'''
{{!}} class="playerinfobox-body" {{!}} {{{name}}}
+
{{!}} class="playerinfobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}<br>{{{romanized_name|}}}
|}}<!--
 
 
 
ROMANIZED NAME
 
 
 
-->
 
{{#if:{{{romanized_name|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}} class="playerinfobox-subheader" {{!}} '''Romanized Name'''
 
{{!}} class="playerinfobox-body" {{!}} {{{romanized_name|}}}
 
 
|}}<!--
 
|}}<!--
  
Line 63: Line 54:
 
{{#if:{{{birth_year|}}}|
 
{{#if:{{{birth_year|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Born'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Born:'''
 
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{birth_month|}}} | {{#if: {{{birth_day|}}} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{birth_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} }} |}} |}} | {{{birth_year|}}} }}
 
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{birth_month|}}} | {{#if: {{{birth_day|}}} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{#if: {{{death_year|}}} | {{birth_date | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} | {{birth_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} }} }} |}} |}} | {{{birth_year|}}} }}
 
|}}<!--
 
|}}<!--
Line 72: Line 63:
 
{{#if:{{{death_year|}}}|
 
{{#if:{{{death_year|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Died'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Died:'''
 
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{death_month|}}} | {{#if: {{{death_day|}}} | {{#if: {{{death_day|}}} | {{death_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} | {{death_date | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} }} |}} | {{{death_year|}}} }}
 
{{!}} class="playerinfobox-body" {{!}} {{#if: {{{death_month|}}} | {{#if: {{{death_day|}}} | {{#if: {{{death_day|}}} | {{death_date_and_age | {{{birth_year|}}} | {{{birth_month|}}} | {{{birth_day|}}} | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} | {{death_date | {{{death_year|}}} | {{{death_month|}}} | {{{death_day|}}} }} }} |}} | {{{death_year|}}} }}
 
|}}<!--
 
|}}<!--
Line 81: Line 72:
 
{{#if:{{{nationality|}}}|
 
{{#if:{{{nationality|}}}|
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Nationality'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}:'''
 
{{!}} class="playerinfobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}
 
{{!}} class="playerinfobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}}
 
|}}<!--
 
|}}<!--
Line 89: Line 80:
 
-->
 
-->
 
|- class="playerinfobox-info"
 
|- class="playerinfobox-info"
| class="playerinfobox-subheader" | '''Status'''
+
| class="playerinfobox-subheader" | '''Status:'''
 
| class="playerinfobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!--
 
| class="playerinfobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!--
  
Line 97: Line 88:
 
{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default=
 
{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default=
 
{{!}}- class="playerinfobox-info"
 
{{!}}- class="playerinfobox-info"
{{!}} class="playerinfobox-subheader" {{!}} '''Format'''
+
{{!}} class="playerinfobox-subheader" {{!}} '''Format:'''
 
{{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]]
 
{{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]]
 
}}
 
}}
Line 106: Line 97:
 
-->
 
-->
 
|- class="playerinfobox-info"
 
|- class="playerinfobox-info"
| class="playerinfobox-subheader" | '''Team'''
+
| class="playerinfobox-subheader" | '''Team:'''
 
| class="playerinfobox-body" | [[File:{{{team|}}} Icon.png|x19px|link={{{team|}}}]] [[{{{team|}}}]]<!--
 
| class="playerinfobox-body" | [[File:{{{team|}}} Icon.png|x19px|link={{{team|}}}]] [[{{{team|}}}]]<!--
  
Line 113: Line 104:
 
-->
 
-->
 
|- class="playerinfobox-info"
 
|- class="playerinfobox-info"
| class="playerinfobox-subheader" | '''Role'''
+
| class="playerinfobox-subheader" | '''Role{{#if:{{{role2|}}}|s|}}'''
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
 
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }}
 
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
 
   | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
Line 130: Line 121:
 
   | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
 
   | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
 
   | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
 
   | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
}}<!--
+
}}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }}
 +
  | scout =  {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]]
 +
  | pocket = {{Icon | pocket | | Pocket Soldier}} [[:Category:Pocket Soldiers|Pocket]]
 +
  | roamer = {{Icon | roamer | | Roaming Soldier}} [[:Category:Roaming Soldiers|Roamer]]
 +
  | soldier ={{Icon | soldier | | Soldier}}  [[:Category:Soldiers|Soldier]]
 +
  | pyro = {{Icon | pyro | | Pyro}} [[:Category:Pyros|Pyro]]
 +
  | demo
 +
  | demoman = {{Icon | demoman | | Demoman}} [[:Category:Demomen|Demoman]]
 +
  | heavy
 +
  | heavyweapons = {{Icon | heavy | | Heavy}} [[:Category:Heavies|Heavy]]
 +
  | engi
 +
  | engie
 +
  | engineer = {{Icon | engineer | | Engineer}} [[:Category:Engineers|Engineer]]
 +
  | medic = {{Icon | medic | | Medic}} [[:Category:Medics|Medic]]
 +
  | sniper = {{Icon | sniper | | Sniper}} [[:Category:Snipers|Sniper]]
 +
  | spy = {{Icon | spy | | Spy}} [[:Category:Spies|Spy]]
 +
}}|}}<!--
  
 
CAREER WINNINGS
 
CAREER WINNINGS

Revision as of 01:16, 11 December 2019