Editing Template:InfoboxPlayer
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{| class="comptf-infobox" cellpadding="2"<!-- |
− | {| class="comptf-infobox" cellpadding="2" | ||
− | <!-- | ||
Line 11: | Line 9: | ||
− | -->! class="comptf-infobox-title" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}} | + | --> |
− | + | ! class="comptf-infobox-title" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<!-- | |
− | <!-- | ||
IMAGE | IMAGE | ||
− | -->{{#if:{{{image|}}}| | + | --> |
+ | {{#if:{{{image|}}}| | ||
+ | {{!}}- | ||
{{!}} style="padding:0" colspan="2" {{!}} [[File: {{{image}}} | 294px | center ]] | {{!}} style="padding:0" colspan="2" {{!}} [[File: {{{image}}} | 294px | center ]] | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
CAPTION | CAPTION | ||
− | -->{{#if:{{{ | + | --> |
− | + | {{#if:{{{image|}}}| | |
{{!}}- | {{!}}- | ||
− | |}} | + | {{!}} colspan="2" style="font-size:11px; line-height:1.225; text-align:center" {{!}} {{{caption}}} |
− | <!-- | + | |}}<!-- |
Line 39: | Line 36: | ||
− | -->! class="comptf-infobox-subtitle" colspan="2" | Player Information | + | --> |
− | + | |- | |
− | <!--- | + | ! class="comptf-infobox-subtitle" colspan="2" | Player Information<!--- |
NAME | NAME | ||
− | -->{{#if:{{{name|}}}| | + | --> |
+ | {{#if:{{{name|}}}| | ||
+ | {{!}}- class="compt-finfobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Name''' | {{!}} class="comptf-infobox-header" {{!}} '''Name''' | ||
− | {{!}} class="comptf-infobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}} | + | {{!}} class="comptf-infobox-body" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}<br>{{{romanized_name|}}}|}} |
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
BORN | BORN | ||
− | -->{{#if:{{{birth_year|}}}| | + | --> |
+ | {{#if:{{{birth_year|}}}| | ||
+ | {{!}}- class="comptf-infobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Born''' | {{!}} class="comptf-infobox-header" {{!}} '''Born''' | ||
{{!}} class="comptf-infobox-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="comptf-infobox-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|}}} }} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
DIED | DIED | ||
− | -->{{#if:{{{death_year|}}}| | + | --> |
+ | {{#if:{{{death_year|}}}| | ||
+ | {{!}}- class="comptf-infobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Died''' | {{!}} class="comptf-infobox-header" {{!}} '''Died''' | ||
{{!}} class="comptf-infobox-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="comptf-infobox-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|}}} }} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
NATIONALITY | NATIONALITY | ||
− | -->{{#if:{{{nationality|}}}| | + | --> |
+ | {{#if:{{{nationality|}}}| | ||
+ | {{!}}- class="comptf-infobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}''' | {{!}} class="comptf-infobox-header" {{!}} '''Nationalit{{#if:{{{nationality2|}}}|ies|y}}''' | ||
{{!}} class="comptf-infobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}} | {{!}} class="comptf-infobox-body" {{!}} {{flag | {{{nationality}}} }} [[:Category:{{localisation | {{{nationality|}}} }}_Players | {{{nationality|}}}]] {{#if: {{{nationality2|}}} | <br>{{flag | {{{nationality2}}} }} [[:Category:{{localisation | {{{nationality2|}}} }}_Players | {{{nationality2|}}} ]] |}} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
STATUS | STATUS | ||
− | --> | + | --> |
− | |||
− | |||
− | |||
− | |||
− | |||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | <!-- | + | | class="comptf-infobox-header" | '''Status''' |
+ | | class="comptf-infobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!-- | ||
FORMAT | FORMAT | ||
− | -->{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default= | + | --> |
+ | {{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=|#default= | ||
+ | {{!}}- class="comptf-infobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Format''' | {{!}} class="comptf-infobox-header" {{!}} '''Format''' | ||
{{!}} class="comptf-infobox-body" {{!}} [[{{{format|}}}]] | {{!}} class="comptf-infobox-body" {{!}} [[{{{format|}}}]] | ||
− | |||
}} | }} | ||
− | |}} | + | |}}<!-- |
− | <!-- | ||
TEAM | TEAM | ||
− | --> | + | --> |
− | + | |- class="comptf-infobox-info" | |
− | + | | class="comptf-infobox-header" | '''Team''' | |
− | + | | class="comptf-infobox-body" | [[File:{{{team|}}} Icon.png|x18px|link={{{team|}}}]] [[{{{team|}}}]]<!-- | |
− | |||
− | <!-- | ||
− | + | ROLE | |
− | -->| class="comptf-infobox-header" | '''{{#if:{{{ | + | --> |
− | | class="comptf-infobox-body" |{{#switch: {{lc: {{{ | + | |- class="comptf-infobox-info" |
− | | scout = {{Icon | scout | | Scout | x18px}} [[Scout]] | + | | class="comptf-infobox-header" | '''Role{{#if:{{{role2|}}}|s|}}''' |
− | | pocket | + | | class="comptf-infobox-body" |{{#switch: {{lc: {{{role|}}} }} |
− | + | | scout = {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]] | |
− | | roamer | + | | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]] |
− | | | + | | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]] |
− | | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]] | + | | soldier ={{Icon | soldier | | Soldier | x18px}} [[:Category:Soldiers|Soldier]] |
+ | | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]] | ||
| demo | | demo | ||
− | | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]] | + | | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]] |
| heavy | | heavy | ||
− | | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]] | + | | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]] |
| engi | | engi | ||
| engie | | engie | ||
− | | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]] | + | | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]] |
− | | medic = {{Icon | medic | | Medic | x18px}} [[Medic]] | + | | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]] |
− | | sniper = {{Icon | sniper | | Sniper | x18px}} [[Sniper]] | + | | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]] |
− | | spy = {{Icon | spy | | Spy | x18px}} [[Spy]] | + | | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]] |
− | }}{{#if:{{{ | + | }}{{#if:{{{role2|}}}|<br>{{#switch: {{lc: {{{role2|}}} }} |
− | | scout = {{Icon | scout | | Scout | x18px}} [[Scout]] | + | | scout = {{Icon | scout | | Scout | x18px}} [[:Category:Scouts|Scout]] |
− | | pocket | + | | pocket = {{Icon | pocket | | Pocket Soldier | x18px}} [[:Category:Pocket Soldiers|Pocket]] |
− | + | | roamer = {{Icon | roamer | | Roaming Soldier | x18px}} [[:Category:Roaming Soldiers|Roamer]] | |
− | | roamer | + | | soldier ={{Icon | soldier | | Soldier | x18px}} [[:Category:Soldiers|Soldier]] |
− | | | + | | pyro = {{Icon | pyro | | Pyro | x18px}} [[:Category:Pyros|Pyro]] |
− | | pyro = {{Icon | pyro | | Pyro | x18px}} [[Pyro]] | ||
| demo | | demo | ||
− | | demoman = {{Icon | demoman | | Demoman | x18px}} [[Demoman]] | + | | demoman = {{Icon | demoman | | Demoman | x18px}} [[:Category:Demomen|Demoman]] |
| heavy | | heavy | ||
− | | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[Heavy]] | + | | heavyweapons = {{Icon | heavy | | Heavy | x18px}} [[:Category:Heavies|Heavy]] |
| engi | | engi | ||
| engie | | engie | ||
− | | engineer = {{Icon | engineer | | Engineer | x18px}} [[Engineer]] | + | | engineer = {{Icon | engineer | | Engineer | x18px}} [[:Category:Engineers|Engineer]] |
− | | medic = {{Icon | medic | | Medic | x18px}} [[ | + | | medic = {{Icon | medic | | Medic | x18px}} [[:Category:Medics|Medic]] |
− | + | | sniper = {{Icon | sniper | | Sniper | x18px}} [[:Category:Snipers|Sniper]] | |
− | + | | spy = {{Icon | spy | | Spy | x18px}} [[:Category:Spies|Spy]] | |
− | + | }}|}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | sniper = {{Icon | sniper | | Sniper | x18px}} [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | spy = {{Icon | spy | | Spy | x18px}} [[ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}|}} | ||
− | |||
− | |||
− | <!-- | ||
CAREER WINNINGS | CAREER WINNINGS | ||
− | -->{{#if:{{{career_winnings|}}}| | + | --> |
− | {{!}} class="comptf-infobox-header" {{!}} ''' | + | {{#if:{{{career_winnings|}}}| |
− | {{!}} class="comptf-infobox-body" {{!}} ${{Thousands_separator|{{#ifexpr:{{#len:{{{career_winnings|}}}}}>4|{{#expr:{{{career_winnings|}}} round -3}}|{{#ifeq:{{#len:{{{career_winnings|}}}}}|1|{{{career_winnings|}}}|{{#expr:{{{career_winnings|}}} round {{#len:{{{career_winnings|}}}}}*-1+2}}}}}}}} | + | {{!}}- class="comptf-infobox-info" |
− | + | {{!}} class="comptf-infobox-header" {{!}} '''Career Winnings''' | |
− | + | {{!}} class="comptf-infobox-body" {{!}} ~${{Thousands_separator|{{#ifexpr:{{#len:{{{career_winnings|}}}}}>4|{{#expr:{{{career_winnings|}}} round -3}}|{{#ifeq:{{#len:{{{career_winnings|}}}}}|1|{{{career_winnings|}}}|{{#expr:{{{career_winnings|}}} round {{#len:{{{career_winnings|}}}}}*-1+2}}}}}}}} | |
− | <!-- | + | |}}<!-- |
OTHER ALIASES | OTHER ALIASES | ||
− | -->{{#if:{{{ | + | --> |
+ | {{#if:{{{other_aliases|}}}| | ||
+ | {{!}}- class="comptf-infobox-info" | ||
{{!}} class="comptf-infobox-header" {{!}} '''Other Aliases''' | {{!}} class="comptf-infobox-header" {{!}} '''Other Aliases''' | ||
{{!}} class="comptf-infobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} | {{!}} class="comptf-infobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
Line 270: | Line 165: | ||
− | -->{{#if:{{{achievements|}}}| | + | --> |
− | ! class="comptf-infobox-subtitle" colspan="2" style="position:relative" {{!}} Achievements<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[# | + | {{#if:{{{achievements|}}}| |
− | {{!}}- style="background-color:# | + | {{!}}- |
− | {{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center"><div style="float:left;width:25%;">'''Place'''</div><div style="float:left;width:50%;text-align:center;">'''Tournament'''</div><div style="float:right;width:25%;">'''Team'''</div></div | + | ! class="comptf-infobox-subtitle" colspan="2" style="position:relative" {{!}} Achievements<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[{{FULLPAGENAME}}#Honors|[see all]]]</span> |
+ | {{!}}- style="background-color:#f5f5f5" | ||
+ | {{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center"><div style="float:left;width:25%;">'''Place'''</div><div style="float:left;width:50%;text-align:center;">'''Tournament'''</div><div style="float:right;width:25%;">'''Team'''</div></div> | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} {{{achievements|}}} | {{!}} colspan="2" {{!}} {{{achievements|}}} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
Line 289: | Line 184: | ||
− | -->{{#if:{{{team_history|}}}| | + | --> |
− | ! class="comptf-infobox-subtitle" colspan="2" | + | {{#if:{{{team_history|}}}| |
+ | {{!}}- | ||
+ | ! class="comptf-infobox-subtitle" colspan="2" {{!}} Team History | ||
+ | {{!}}- style="background-color:#f5f5f5" | ||
+ | {{!}} colspan="2" {{!}} <div style="font-size:11px; overflow: hidden; padding:0 2px; text-align:center;"><div style="float:left;width:25%;">'''Years'''</div><div style="float:left;width:50%;;">'''Team'''</div><div style="float:right;width:25%;">'''Winnings'''</div></div> | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} {{{team_history|}}} | {{!}} colspan="2" {{!}} {{{team_history|}}} | ||
− | + | |}}<!-- | |
− | |}} | ||
− | <!-- | ||
Line 305: | Line 202: | ||
− | -->{{#if: {{{tftv | + | --> |
+ | {{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}| | ||
+ | {{!}}- | ||
! class="comptf-infobox-subtitle" colspan="2" {{!}} Links | ! class="comptf-infobox-subtitle" colspan="2" {{!}} Links | ||
{{!}}- | {{!}}- | ||
− | {{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center | + | {{!}} class="comptf-infobox-icons" colspan="2" style="text-align:center" {{!}} {{#if:{{{tftv|}}}|[[Image:TeamfortressTV icon2.png|32px|teamfortress.tv User Page|link=http://www.teamfortress.tv/user/{{{tftv}}}]]}}<!-- |
− | + | --> {{#if:{{{logs|}}}|[[Image:Logs.tf Icon.png|32px|Logs.tf Page|link=http://logs.tf/profile/{{{logs|}}}]]}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png|32px|RGL Player Page|link=https://rgl.gg/Public/PlayerProfile.aspx?p={{{rgl|}}}]]}}<!-- |
− | --> {{#if:{{{rgl|}}}|[[Image:RGL Icon.png| | + | --> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png|x32px|ETF2L Player Page|link=http://etf2l.org/forum/user/{{{etf2l}}}]]}}<!-- |
− | --> {{#if:{{{etf2l|}}}|[[Image:ETF2L-Icon.png| | + | --> {{#if:{{{ozf|}}}|[[Image:Ozfortress_Icon.png|32px|ozfortress Player Page|link=https://warzone.ozfortress.com/users/{{{ozf}}}]]}}<!-- |
− | --> {{#if:{{{ozf|}}}|[[Image:Ozfortress_Icon.png| | + | --> {{#if:{{{oldozf|}}}|[[Image:Ozfortress_icon.png|32px|ozfortress Player Page|link=http://ozfortress.com/member.php?u={{{oldozf}}}]]}}<!-- |
− | --> {{#if:{{{oldozf|}}}|[[Image:Ozfortress_icon.png| | + | --> {{#if:{{{ugc|}}}|[[Image:UGC-Icon2.png.png|32px|UGC Player Page|link=https://www.ugcleague.com/players_page.cfm?player_id={{{ugc|}}}]]}}<!-- |
− | --> {{#if:{{{ugc|}}}|[[Image:UGC-Icon2.png.png| | + | --> {{#if:{{{site|}}}|[[Image:Website Icon.png|32px|Website|link={{{site}}}]]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{steam|}}}|[[Image:Steam Logo.png|32px|Steam Profile|link=http://steamcommunity.com/profiles/{{{steam}}}]]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{twitch|}}}|[[Image:Twitch Logo.png|32px|Twitch Stream|link=http://www.twitch.tv/{{{twitch}}}]]}}<!-- |
− | --> {{#if:{{{twitch|}}}|[[Image:Twitch Logo.png| | + | --> {{#if:{{{youtube|}}}|[[Image:Youtube_Logo.png|32px|YouTube Channel|link=http://www.youtube.com/{{{youtube}}}]]}}<!-- |
− | --> {{#if:{{{youtube|}}}|[[Image:Youtube_Logo.png| | + | --> {{#if:{{{twitter|}}}|[[Image:File:Twitter logo.png|32px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}<!-- |
− | --> {{#if:{{{twitter|}}}|[[Image:Twitter logo.png| | ||
-->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}} | -->{{#if:{{{misc_links|}}}|{{{misc_links|}}}|}} | ||
|}} | |}} | ||
|} | |} | ||
+ | <div style="font-size:10px; font-variant:small-caps; float:right; clear:right; margin-bottom:0.5em;">{{VDE|Infobox_Player|{{FULLPAGENAME}}}}</div> | ||
<!-- | <!-- | ||
Line 339: | Line 238: | ||
-->{{#if:{{{name|}}}||[[Category:Players with unknown name]]}}<!-- | -->{{#if:{{{name|}}}||[[Category:Players with unknown name]]}}<!-- | ||
-->{{#if:{{{birth_year|}}}||[[Category:People with an unknown birth date]]}}<!-- | -->{{#if:{{{birth_year|}}}||[[Category:People with an unknown birth date]]}}<!-- | ||
− | -->{{#if:{{{death_year|}}}|[[Category:Deceased players]]}}<!-- | + | -->{{#if:{{{death_year|}}}||[[Category:Deceased players]]}}<!-- |
− | --> | + | -->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error |
− | |[[Category:Unrecognised Country{{!}}{{{ | + | |[[Category:Unrecognised Country{{!}}{{{country}}}]] |
− | |[[Category:{{localisation|{{{ | + | |[[Category:{{localisation|{{{country}}}}} Players]]|}}}}<!-- |
− | + | -->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error | |
− | -->{{#if:{{{ | + | |[[Category:Unrecognised Country{{!}}{{{country2}}}]] |
− | |[[Category:Unrecognised Country{{!}}{{{ | + | |[[Category:{{localisation|{{{country2}}}}} Players]]|}}}}<!-- |
− | |[[Category:{{localisation|{{{ | + | -->{{#if:{{{active_endyear|}}}|[[Category:Inactive Players]]|[[Category:Active Players]]}}<!-- |
− | + | -->{{#if:{{{role|}}}|{{#switch:{{lc: {{{role|}}} }} | |
− | -->{{#if:{{{ | + | | scout = [[Category:Scouts]] |
− | | | + | | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]] |
− | + | | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]] | |
− | | | + | | soldier = [[Category:Soldiers]] |
− | + | | pyro = [[Category:Pyros]] | |
− | | | + | | demo |
− | + | | demoman = [[Category:Demomen]] | |
− | + | | heavy | |
− | + | | heavyweapons = [[Category:Heavies]] | |
− | -->{{#if:{{{ | + | | engi |
+ | | engie | ||
+ | | engineer = [[Category:Engineers]] | ||
+ | | medic = [[Category:Medics]] | ||
+ | | sniper = [[Category:Snipers]] | ||
+ | | spy = [[Category:Spies]] | ||
+ | }}}}<!-- | ||
+ | -->{{#if:{{{role2|}}}|{{#switch:{{lc: {{{role2|}}} }} | ||
| scout = [[Category:Scouts]] | | scout = [[Category:Scouts]] | ||
− | |||
| pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]] | | pocket = [[Category:Pocket Soldiers]][[Category:Soldiers]] | ||
− | |||
| roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]] | | roamer = [[Category:Roaming Soldiers]][[Category:Soldiers]] | ||
+ | | soldier = [[Category:Soldiers]] | ||
| pyro = [[Category:Pyros]] | | pyro = [[Category:Pyros]] | ||
| demo | | demo | ||
Line 374: | Line 279: | ||
| sniper = [[Category:Snipers]] | | sniper = [[Category:Snipers]] | ||
| spy = [[Category:Spies]] | | spy = [[Category:Spies]] | ||
− | + | }}}}<!-- | |
-->{{#if:{{{career_winnings|}}}||[[Category:Players with unknown career winnings]]}}<!-- | -->{{#if:{{{career_winnings|}}}||[[Category:Players with unknown career winnings]]}}<!-- | ||
-->{{#if:{{{team_history|}}}||[[Category:Players with no team histories]]}}<!-- | -->{{#if:{{{team_history|}}}||[[Category:Players with no team histories]]}}<!-- | ||
Line 390: | Line 295: | ||
-->{{#set: | -->{{#set: | ||
|has id={{{alias|{{PAGENAME}}}}} | |has id={{{alias|{{PAGENAME}}}}} | ||
− | |||
|has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}} | |has name={{#if:{{{romanized_name|}}}|{{{romanized_name|}}}|{{{name|}}}}} | ||
− | + | |has image={{#if:{{{image|}}}|File:{{{image}}}}} | |
<!--|has image caption={{{caption|}}}--> | <!--|has image caption={{{caption|}}}--> | ||
|has nationality={{{nationality|}}} | |has nationality={{{nationality|}}} | ||
− | |||
|has team={{{teamlink|{{{team|}}}}}} | |has team={{{teamlink|{{{team|}}}}}} | ||
− | + | |has site={{{site|}}} | |
− | + | |has stream={{{stream|}}} | |
− | + | |has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}} }} | |
− | + | |has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}} | |
− | + | |has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}} | |
− | + | |has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}} | |
− | + | |has dual-citizenship={{#if:{{{nationality2|}}}|{{#if:{{{nationality|}}}|true|false}}|}} | |
− | + | |has second nationality={{{nationality2|}}} | |
− | |has | + | |has role={{{role|}}} |
− | |||
− | |||
− | |||
|has status={{{status|}}} | |has status={{{status|}}} | ||
− | + | |has format={{{format|}}} | |
|has continent={{#switch:{{lc:{{{nationality|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe | |has continent={{#switch:{{lc:{{{nationality|}}}}}|abkhazia|aland|albania|alderney|andorra|austria|denmark|georgia|germany|gibraltar|greece|greenland|guernsey|jersey|macedonia|malta|moldova|monaco|montenegro|poland|portugal|sark|scotland|serbia|slovakia|slovenia|south ossetia|spain|sweden|switzerland|vatican city|belarus|belgium|bosnia and herzegovina|bulgaria|england|estonia|europe|herm|hungary|kosovo|netherlands|northern cyprus|northern ireland|norway|turkey|wales|croatia|cyrenaica|czech republic|faroe islands|finland|france|iceland|ireland|isle of man|italy|latvia|liechtenstein|lithuania|luxembourg|romania|ukraine|united kingdom|san marino|russia|israel=Europe | ||
|antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America | |antigua and barbuda|dominica|dominican republic|grenada|guam|guatemala|jamaica|mexico|montserrat|panama|puerto rico|saint kitts and nevis|saint lucia|saint martin|saint vincent and the grenadines|sao tome and principe|sint maarten|british virgin islands|united states virgin islands|cape verde|canada|cayman islands|costa rica|cuba|united states|north america=North America | ||
|argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=South America | |argentina||bolivia|brazil|chile|colombia|ecuador|guyana|paraguay|peru|suriname|urguguay|venezuela=South America | ||
|australia|new zealand=Oceania | |australia|new zealand=Oceania | ||
− | |singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=Asia | + | |singapore|japan|south korea|china|india|macau|hong kong|malaysia|philippines|bangladesh|pakistan|kazakhstan|iran|mongolia|vietnam|indonesia=Asia}} |
− | |# | + | }}<!-- |
− | }}</includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | + | |
+ | Variable | ||
+ | |||
+ | |||
+ | {{#vardefine:id|{{{id|{{PAGENAME}}}}}}} | ||
+ | |||
+ | |||
+ | {{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day }}}} | ||
+ | {{#if:{{#var:birthday|}}| | ||
+ | {{#set_recurring_event: Birthday | ||
+ | |property=Has yearly birthday | ||
+ | |start={{#var:birthday}} | ||
+ | |end={{{death_date|}}} | ||
+ | |unit=month | ||
+ | |period=12 | ||
+ | |has original birthday={{#var:birthday|}} | ||
+ | |has player={{{id|{{PAGENAME}}}}} | ||
+ | |has flag={{lc:{{{nationality|}}}}} | ||
+ | }} }} }} | ||
+ | }} | ||
+ | |||
+ | --></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> |