Difference between revisions of "Template:InfoboxPlayer"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}} | <includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{DISPLAYTITLE:{{{id|{{PAGENAME}}}}}}}}} | ||
− | {| | + | {| style="border:1px solid #aaa; font-size:13px; padding:2px; width:300px; float:right; clear:right; border-spacing:0; margin:0 0 0.5em 1em" cellpadding="2"<!-- |
Line 11: | Line 11: | ||
--> | --> | ||
− | ! | + | ! style="padding-left:40px; width:100%; font-size:19px; font-weight:700; text-align:center; background-color:#d8d8d8" colspan=2 | {{#if: {{{nationality|}}} | {{#if: {{{nationality2|}}} | | {{flag | {{{nationality|}}} }} }} |}} {{{alias}}}<div class="comptf-controls" style="vertical-align:top; float:right; margin:2px; width:40px">{{VDE|Template:Infobox Player||{{FULLPAGENAME}}}}</div><!-- |
IMAGE | IMAGE | ||
Line 26: | Line 26: | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}} colspan="2" style="font-size:11px; line-height:1. | + | {{!}} colspan="2" style="font-size:11px; line-height:1.3; text-align:center" {{!}} {{{caption}}} |
|}}<!-- | |}}<!-- | ||
Line 39: | Line 39: | ||
--> | --> | ||
|- | |- | ||
− | ! | + | ! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" | Player Information<!--- |
NAME | NAME | ||
Line 46: | Line 46: | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Name''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} {{{name}}}{{#if:{{{romanized_name|}}}<br>{{{romanized_name|}}}|}} |
|}}<!-- | |}}<!-- | ||
Line 55: | Line 55: | ||
{{#if:{{{birth_year|}}}| | {{#if:{{{birth_year|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Born''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} {{#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 64: | Line 64: | ||
{{#if:{{{death_year|}}}| | {{#if:{{{death_year|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Died''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} {{#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 73: | Line 73: | ||
{{#if:{{{nationality|}}}| | {{#if:{{{nationality|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} '''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|}}} ]] |}} | ||
|}}<!-- | |}}<!-- | ||
Line 81: | Line 81: | ||
--> | --> | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | | | + | | style="width:61.8%" | '''Status''' |
| class="comptf-infobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!-- | | class="comptf-infobox-body" | {{#if: {{{active_endyear|}}} | [[:Category:Inactive_Players | Inactive]] ({{{active_startyear|}}} - {{{active_endyear|}}}) | [[:Category:Active_Players | Active]] (since {{{active_startyear|}}}) }}<!-- | ||
Line 89: | Line 89: | ||
{{#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-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Format''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} [[{{{format|}}}]] |
}} | }} | ||
|}}<!-- | |}}<!-- | ||
Line 98: | Line 98: | ||
--> | --> | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | | | + | | style="width:38.2%" | '''Team''' |
− | | | + | | style="width:61.8%" | [[File:{{{team|}}} Icon.png|x18px|link={{{team|}}}]] [[{{{team|}}}]]<!-- |
CLASS | CLASS | ||
Line 105: | Line 105: | ||
--> | --> | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | | | + | | style="width:38.2%" | '''Class''' |
− | | | + | | style="width:61.8%" |{{#switch: {{lc: {{{class|}}} }} |
| scout = {{Icon | scout | | Scout | x18px}} [[Scout]] | | scout = {{Icon | scout | | Scout | x18px}} [[Scout]] | ||
| pocket | | pocket | ||
Line 131: | Line 131: | ||
{{#if:{{{other_main1|}}}| | {{#if:{{{other_main1|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Other Mains''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}}{{#switch: {{lc: {{{other_main1|}}} }} |
| scout = [[Scout]] | | scout = [[Scout]] | ||
| pocket | | pocket | ||
Line 194: | Line 194: | ||
{{#if:{{{career_winnings|}}}| | {{#if:{{{career_winnings|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''{{abbr|Career Winnings|Approx. total career winnings (USD)}}''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} ${{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}}}}}}}} |
|}}<!-- | |}}<!-- | ||
Line 203: | Line 203: | ||
{{#if:{{{other_aliases|}}}| | {{#if:{{{other_aliases|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} style="width:38.2%" {{!}} '''Other Aliases''' |
− | {{!}} | + | {{!}} style="width:61.8%" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} |
|}}<!-- | |}}<!-- | ||
Line 218: | Line 218: | ||
{{#if:{{{lanachievements|}}}| | {{#if:{{{lanachievements|}}}| | ||
{{!}}- | {{!}}- | ||
− | ! | + | ! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" <!--style="position:relative" -->{{!}} Achievements<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Achievements|[see all]]]</span>--><!-- |
{{!}}- style="background-color:#fff" | {{!}}- style="background-color:#fff" | ||
{{!}} 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" {{!}} <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>--> | ||
Line 237: | Line 237: | ||
{{#if:{{{team_history|}}}| | {{#if:{{{team_history|}}}| | ||
{{!}}- | {{!}}- | ||
− | ! | + | ! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" <!--style="position:relative" -->{{!}} Team History<!--<span style="font-size:10px;position:absolute;right:3px;top:3px;line-height:1;font-weight:300">[[#Team history|[see all]]]</span>--> |
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} {{{team_history|}}} | {{!}} colspan="2" {{!}} {{{team_history|}}} | ||
Line 253: | Line 253: | ||
{{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}| | {{#if: {{{tftv|}}}{{{rgl|}}}{{{etf2l|}}}{{{ozf|}}}{{{site|}}}{{{steam|}}}{{{twitch|}}}{{{youtube|}}}{{{twitter|}}}| | ||
{{!}}- | {{!}}- | ||
− | ! | + | ! style="width:100%; font-size:17px; font-weight:700; text-align:center; background-color:#d8d8d8; line-height:1.8;" colspan="2" {{!}} Links |
{{!}}- | {{!}}- | ||
{{!}} 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}}}]]}}<!-- | {{!}} 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}}}]]}}<!-- |