Difference between revisions of "Template:Infobox player"
From QWiki
(Created page with "<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}}<!-- --><div class="fo-nttax-infobox-wrapper infobox-{{{game|csgo}}}"> <div class="fo-nttax...") |
m (Removed beige header with [e][h] above player photo) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><!-- |
− | --><div class="fo-nttax-infobox-wrapper infobox- | + | --><div class="fo-nttax-infobox-wrapper infobox-rocket" style="margin: 0px 0 10px 10px;"> |
− | <div class="fo-nttax-infobox wiki-bordercolor-light"> | + | <div class="fo-nttax-infobox wiki-bordercolor-light" style="padding-top: 0px;border-top: 0;border-color: #e0e1d3;"> |
<div> | <div> | ||
− | |||
</div><!-- | </div><!-- | ||
Image | Image | ||
− | --> | + | --> |
<div> | <div> | ||
− | <div class="infobox-image">[[File:{{{image}}}|center|600px]]</div> | + | <div class="infobox-image">{{#if:{{{image|}}}|[[File:{{{image|}}}|center|600px]]|[[File:Infobox player.png|center|link=Special:Upload|Click here to upload a photo]]}}</div> |
− | </div> | + | </div><!-- |
− | |||
Caption | Caption | ||
Line 26: | Line 24: | ||
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Player Information</div> | <div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Player Information</div> | ||
</div><!-- | </div><!-- | ||
+ | |||
+ | Alternate IDs | ||
+ | |||
+ | -->{{#if:{{{ids|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Nicknames:</div> | ||
+ | <div class="infobox-cell-2">{{{ids}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Nicknames | ||
+ | |||
+ | -->{{#if:{{{nicknames|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Nicknames:</div> | ||
+ | <div class="infobox-cell-2">{{{nicknames}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
Name | Name | ||
Line 49: | Line 65: | ||
-->{{#if:{{{birth_date|}}}| | -->{{#if:{{{birth_date|}}}| | ||
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Born:</div> |
<div class="infobox-cell-2">{{{birth_date}}}</div> | <div class="infobox-cell-2">{{{birth_date}}}</div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | Death | + | Death Date |
-->{{#if:{{{death_date|}}}| | -->{{#if:{{{death_date|}}}| | ||
Line 63: | Line 79: | ||
}}<!-- | }}<!-- | ||
− | + | Team Roles | |
+ | |||
+ | -->{{#if:{{{role|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Role:</div> | ||
+ | <div class="infobox-cell-2">{{{role}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Covid | ||
+ | |||
+ | -->{{#if:{{{hadcovid|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Had Covid:</div> | ||
+ | <div class="infobox-cell-2">{{{hadcovid}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Sponsor | ||
+ | |||
+ | -->{{#if:{{{sponsor|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Sponsor:</div> | ||
+ | <div class="infobox-cell-2">{{{sponsor}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Color | ||
+ | |||
+ | -->{{#if:{{{color|}}}| | ||
+ | <div> | ||
+ | <div class="infobox-cell-2 infobox-description">Color:</div> | ||
+ | <div class="infobox-cell-2">{{Qwcolor{{#explode:{{{color}}}| |0}}}} {{Qwcolor{{#explode:{{{color}}}| |1}}}}</div> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | |||
+ | Favourite map 1on1 | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{favmap1on1|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Map 1on1:</div> |
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">[[{{{favmap1on1}}}]]</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Favourite map 2on2 | |
− | -->{{#if:{{{ | + | -->{{#if:{{{favmap2on2|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Map 2on2:</div> |
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">[[{{{favmap2on2}}}]]</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Favourite map 4on4 | |
− | -->{{#if:{{{ | + | -->{{#if:{{{favmap4on4|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Map 4on4:</div> |
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">[[{{{favmap4on4}}}]]</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Countries | |
− | -->{{#if:{{{ | + | -->{{#if:{{{country|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Country:</div> |
− | <div class="infobox-cell-2">{{ | + | <div class="infobox-cell-2">{{flag/{{lc:{{{country}}}}}}} [[:Category:{{{country}}}{{!}}{{{country}}}]]{{#if:{{{country2|}}}|<br>{{flag/{{lc:{{{country2}}}}}}} [[:Category:{{{country2}}}{{!}}{{{country2}}}]]}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | First spawn | |
− | -->{{#if:{{{ | + | -->{{#if:{{{spawned|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">First spawned:</div> |
− | <div class="infobox-cell-2"> | + | <div class="infobox-cell-2">{{{spawned}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Status | |
− | -->{{#if:{{{ | + | -->{{#if:{{{status|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Status:</div> |
− | <div class="infobox-cell-2">{{# | + | <div class="infobox-cell-2">{{#ifexist:{{{status}}}|{{{status}}}|{{{status}}}}}</div> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Years Active (Player) | |
− | -->{{#if:{{{ | + | -->{{#if:{{{years_active|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Years Active (Player):</div> |
− | <div class="infobox-cell-2">{{#ifexist:{{{ | + | <div class="infobox-cell-2">{{#ifexist:{{{years_active}}}|{{{years_active}}}|{{{years_active}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Years Active (Admin) | |
− | -->{{#if:{{{ | + | -->{{#if:{{{years_active_admin|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Years Active (admin):</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{#ifexist:{{{years_active_admin}}}|{{{years_active_admin}}}|{{{years_active_admin}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Current Team | |
− | -->{{#if:{{{ | + | -->{{#if:{{{team|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Team:</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{{team}}} {{#if:{{{team2|}}}|<br>{{{team2}}}|}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Current Clan | |
− | -->{{#if:{{{ | + | -->{{#if:{{{clan|}}}| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Clan:</div> |
− | <div class="infobox-cell-2">{{{ | + | <div class="infobox-cell-2">{{#ifexist:{{{clan}}}|[[{{{clan}}}]]|{{{clan}}}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | + | Earnings | |
− | -->{{#if:{{{ | + | -->{{#vardefine:earnings|{{Total earnings of|{{#if:{{{earnings|}}}|{{{earnings}}}|{{PAGENAME}}}}|player}}}}{{#ifeq:{{#var:earnings}}|$0|| |
<div> | <div> | ||
− | <div class="infobox-cell-2 infobox-description"> | + | <div class="infobox-cell-2 infobox-description">Approx. Total Earnings:</div> |
− | <div class="infobox-cell-2">{{# | + | <div class="infobox-cell-2 ">{{#var:earnings}}</div> |
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 201: | Line 216: | ||
Icons | Icons | ||
− | -->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d | + | -->{{#if:{{{site|}}} {{{tlstream|}}} {{{twitch|}}} {{{own3d|}}} {{{stream|}}} {{{youtube|}}} {{{twitter|}}} {{{facebook|}}} {{{gplus|}}} {{{tlprofile|}}} {{{reddit|}}} {{{fanclub|}}} {{{azubu|}}} {{{weibo|}}} {{{tencent|}}} {{{vk|}}} {{{askfm|}}} {{{steam|}}} {{{psn|}}} | |
<div> | <div> | ||
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div> | <div class="infobox-header wiki-backgroundcolor-light infobox-header-2">Links</div> | ||
Line 208: | Line 223: | ||
<div class="infobox-center infobox-icons"><!-- | <div class="infobox-center infobox-icons"><!-- | ||
--> {{#if:{{{site|}}}|[{{{site}}} <i class="lp-icon lp-home"></i>]}}<!-- | --> {{#if:{{{site|}}}|[{{{site}}} <i class="lp-icon lp-home"></i>]}}<!-- | ||
− | --> {{#if:{{{ | + | --> {{#if:{{{askfm|}}}|[http://ask.fm/{{{askfm|}}} <i class="lp-icon lp-ask-fm"></i>]}}<!-- |
--> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!-- | --> {{#if:{{{twitch|}}}|[http://www.twitch.tv/{{{twitch}}} <i class="lp-icon lp-twitch"></i>]}}<!-- | ||
+ | --> {{#if:{{{azubu|}}}|[http://www.azubu.tv/{{{azubu}}} <i class="lp-icon lp-azubu"></i>]}}<!-- | ||
--> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!-- | --> {{#if:{{{stream|}}}|[{{{stream}}} <i class="lp-icon lp-stream"></i>]}}<!-- | ||
--> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!-- | --> {{#if:{{{youtube|}}}|[http://www.youtube.com/{{{youtube}}} <i class="lp-icon lp-youtube"></i>]}}<!-- | ||
--> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- | --> {{#if:{{{twitter|}}}|[http://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- | ||
--> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- | --> {{#if:{{{facebook|}}}|[http://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- | ||
− | |||
--> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!-- | --> {{#if:{{{gplus|}}}|[http://plus.google.com/{{{gplus}}} <i class="lp-icon lp-google-plus"></i>]}}<!-- | ||
− | --> {{#if:{{{ | + | --> {{#if:{{{weibo|}}}|[http://weibo.com/{{{weibo}}} <i class="lp-icon lp-weibo"></i>]}}<!-- |
− | --> {{#if:{{{ | + | --> {{#if:{{{tencent|}}}|[http://t.qq.com/{{{tencent}}} <i class="lp-icon lp-tencent"></i>]}}<!-- |
+ | --> {{#if:{{{vk|}}}|[https://vk.com/{{{vk}}} <i class="lp-icon lp-vkontakte"></i>]}}<!-- | ||
--> {{#if:{{{reddit|}}}|[http://www.reddit.com/user/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!-- | --> {{#if:{{{reddit|}}}|[http://www.reddit.com/user/{{{reddit}}} <i class="lp-icon lp-reddit"></i>]}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!-- | --> {{#if:{{{fanclub|}}}|[{{{fanclub}}} <i class="lp-icon lp-fanclub"></i>]}}<!-- | ||
--> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!-- | --> {{#if:{{{playlist|}}}|[{{{playlist}}} <i class="lp-icon lp-music"></i>]}}<!-- | ||
+ | --> {{#if:{{{psn|}}}|[https://my.playstation.com/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{psn|}}}|[https://rocketleaguestats.com/profile/PS4/{{{psn}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{steam|}}}|[http://steamcommunity.com/profiles/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
+ | --> {{#if:{{{steam|}}}|[https://rocketleaguestats.com/profile/steam/{{{steam}}} <i class="lp-icon lp-steam"></i>]}}<!-- | ||
--></div> | --></div> | ||
</div> | </div> | ||
Line 239: | Line 253: | ||
<div> | <div> | ||
<div class="infobox-center">{{{achievements}}}</div> | <div class="infobox-center">{{{achievements}}}</div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 255: | Line 258: | ||
History (Teams) | History (Teams) | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{history|}}}| |
<div> | <div> | ||
<div class="infobox-header wiki-backgroundcolor-light infobox-header-2">History</div> | <div class="infobox-header wiki-backgroundcolor-light infobox-header-2">History</div> | ||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | |||
− | |||
<div> | <div> | ||
− | <div class="infobox-center">{{{ | + | <div class="infobox-center">{{{history}}}</div> |
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
--></div> | --></div> | ||
− | |||
</div><!-- | </div><!-- | ||
Categories | Categories | ||
− | -->{{#ifeq:{{NAMESPACE}}|| | + | -->{{#ifeq:{{NAMESPACE}}||[[Category:Players]] |
− | {{#if:{{{id|}}}||[[Category:InfoboxIncomplete]]}} | + | {{#if:{{{id|}}}|[[Category:InfoboxComplete]]|[[Category:InfoboxIncomplete]]}} |
{{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|PlayerImagePlaceholder.png|[[Category:Players with no profile picture]]}}|[[Category:Players with no profile picture]]}}<!-- To add to a hidden category to find players without profile images. | {{#if:{{{image|}}}|{{#ifeq:{{{image|}}}|PlayerImagePlaceholder.png|[[Category:Players with no profile picture]]}}|[[Category:Players with no profile picture]]}}<!-- To add to a hidden category to find players without profile images. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error | -->{{#if:{{{country|}}}|{{#ifeq:{{localisation|{{{country}}}}}|error | ||
|[[Category:Unrecognised Country{{!}}{{{country}}}]] | |[[Category:Unrecognised Country{{!}}{{{country}}}]] | ||
− | | | + | |[[Category:{{localisation|{{{country}}}}} Players]]}}| }}<!-- Adds category for the country using localisation template unless the country error is returned then adds to unrecognised country category. |
-->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error | -->{{#if:{{{country2|}}}|{{#ifeq:{{localisation|{{{country2}}}}}|error | ||
|[[Category:Unrecognised Country{{!}}{{{country2}}}]] | |[[Category:Unrecognised Country{{!}}{{{country2}}}]] | ||
− | | | + | |[[Category:{{localisation|{{{country2}}}}} Players]]}}}}<!-- Same for country2. |
− | --> | + | -->{{#ifeq:{{{role|}}}|Caster|[[Category:Casters]]}}<!-- |
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
SMW | SMW | ||
Line 333: | Line 287: | ||
-->{{#set: | -->{{#set: | ||
|has id={{{id|{{PAGENAME}}}}} | |has id={{{id|{{PAGENAME}}}}} | ||
+ | |has pagename={{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={{#if:{{{image|}}}|File:{{{image}}}}} | ||
− | |||
|has nationality={{{country|}}} | |has nationality={{{country|}}} | ||
− | |has | + | |has region={{Player region|{{{country|}}}}} |
− | + | <!--|has team={{{team|}}}--> | |
− | |has | + | |has role={{{role|}}} |
− | |has | + | <!--|has team page={{{teampage|{{{team|}}}}}}--> |
− | |has team page={{{teampage|{{{team|}}}}}} | + | <!--|has clan={{{clan|}}}--> |
|has sponsor={{{sponsor|}}} | |has sponsor={{{sponsor|}}} | ||
− | + | |has achievements={{{achievements|}}} | |
− | |has | + | <!-- |has history={{{history|}}} --> |
− | |has | ||
− | | | ||
|has site={{{site|}}} | |has site={{{site|}}} | ||
|has stream={{{stream|}}} | |has stream={{{stream|}}} | ||
− | |||
− | |||
− | |||
− | |||
|has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}} | |has twitch stream={{#if:{{{twitch|}}}|http://www.twitch.tv/{{{twitch}}}}} | ||
− | |||
|has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}} | |has youtube channel={{#if:{{{youtube|}}}|http://www.youtube.com/{{{youtube}}}}} | ||
|has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}} | |has twitter={{#if:{{{twitter|}}}|http://twitter.com/{{{twitter}}}}} | ||
|has facebook={{#if:{{{facebook|}}}|http://facebook.com/{{{facebook}}}}} | |has facebook={{#if:{{{facebook|}}}|http://facebook.com/{{{facebook}}}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}} | |has non-romanized name={{#if:{{{romanized_name|}}}|{{{name|}}}|}} | ||
− | |has dual-citizenship={{#if:{{{country2|}}}|{{#if:{{{country|}}}|true|false}}|}} | + | |has dual-citizenship={{#if:{{{country2|}}}|{{#if:{{{country|}}}|true|false}}|false}} |
|has second nationality={{{country2|}}} | |has second nationality={{{country2|}}} | ||
− | |||
|has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}} | |has status={{#if:{{{status|}}}|{{{status|}}}|Unknown}} | ||
|has earnings={{Total earnings of|{{{id|{{PAGENAME}}}}}|player}} | |has earnings={{Total earnings of|{{{id|{{PAGENAME}}}}}|player}} | ||
+ | |has earnings in 2016={{Total earnings of|{{{id|{{PAGENAME}}}}}|player|year=2016}} | ||
+ | |has earnings in 2015={{Total earnings of|{{{id|{{PAGENAME}}}}}|player|year=2015}} | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
-->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day }}}}<!-- | -->{{#ifeq:{{NAMESPACE}}||{{#vardefine:birthday|{{#show: {{PAGENAME}}|?has birth day }}}}<!-- | ||
Line 399: | Line 329: | ||
|has flag={{lc:{{{country|}}}}} | |has flag={{lc:{{{country|}}}}} | ||
}} }} }} | }} }} }} | ||
− | }}<!--this one from before the categories | + | }}<!-- this one from before the categories |
--></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> | --></includeonly><noinclude>[[Category:Infoboxes]] {{documentation}}</noinclude> |
Latest revision as of 13:32, 23 March 2023
Documentation (view - edit)
Player Information
Nicknames:
RoboCop, The_Terminat0r
Name:
Jan Long
Born:
May 27, 1981
Died:
May 31, 2020
Role:
Commander
Had Covid:
Yes
Sponsor:
Danske Bank
Color:
4 3
Map 1on1:
Map 2on2:
Map 4on4:
First spawned:
2001
Status:
Active
Years Active (Player):
2001-Present
Years Active (admin):
2011-2012
Team:
Clan:
Links
History
This template produces an Infobox on a player page.
Parameters
These are the variables in the Player template:
- image = Picture
- ids = Alternative nicknames
- name = Real Name
- birth_date = {{Birth date and age|YYYY|MM|DD}}
- death_date = Date of death
- role = Player, Caster, or whatever you want
- hadcovid = Yes/No, if the player had Covid-19
- sponsor = Player's personal sponsor
- color = QW colors. Insert two values (0-13) separated by space.
- favmap1on1 = Favourite 1on1 map
- favmap2on2 = Favourite 2on2 map
- favmap4on4 = Favourite 4on4 map
- country = Country
- country2 = Secound country (if needed)
- spawned = Started playing YYYY
- status = Active or Inactive
- years_active = YYYY - YYYY
- years_active_admin = YYYY - YYYY
- team = Current Team
- clan = Current Clan
- twitch = Username on Twitch
- youtube = YouTube channel name
- history = Team History. Use {{TH}}.
- team_history_list = full team history in linked form for Semantic Mediawiki property, please keep as text. Note "team_history_list" does to output back into the Player page, but solely to gather this parameter.
Example
The following code was used to create the infobox on this page.
{{Infobox player |id=Terminator |image=Infobox placeholder.png |ids=RoboCop, The_Terminat0r |name=Jan Long |birth_date={{Birth date and age|1981|5|27}} |death_date=May 31, 2020 |role=Commander |hadcovid=Yes |sponsor=Danske Bank |color=4 3 |favmap1on1=aerowalk |favmap2on2=dm6 |favmap4on4=e1m2 |country=Denmark |country2=Italy |spawned=2001 |status=Active |years_active=2001-'''Present''' |years_active_admin=2011-2012 |team={{Team|Team Denmark|flag=dk}} |team2={{Team|Danske Bank|link=abbr|abbr=Royal Bank of Denmark|flag=dk}} |clan=Zetor |twitch=suddendeathTV |youtube=tvsuddendeath |history= {{TH|2009 – '''Present'''|Star Alliance}} {{TH|2003 – 2008|Earthquake}} {{TH|2001|Paranoia}} {{TH|1999 – 2001|Zetor}} }}
Copy / Paste
{{Infobox player |id= |image= |ids= |name= |birth_date= |death_date= |role= |hadcovid= |sponsor= |color= |favmap1on1= |favmap2on2= |favmap4on4= |country= |country2= |spawned= |status= |years_active= |years_active_admin= |team= |team2= |clan= |twitch= |youtube= |history= {{TH|YYY-MM-DD – YYYY-MM-DD|First team}} {{TH|YYY-MM-DD – YYYY-MM-DD|Second team}} {{TH|YYY-MM-DD – YYYY-MM-DD|Third team}} }}