Difference between revisions of "Template:InfoboxPlayer"
Jump to navigation
Jump to search
m |
m |
||
Line 46: | Line 46: | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-header" {{!}} '''Name''' |
− | {{!}} | + | {{!}} class="comptf-infobox-body" {{!}} {{{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" | ||
− | {{!}} | + | {{!}} 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|}}} }} |
|}}<!-- | |}}<!-- | ||
Line 64: | Line 64: | ||
{{#if:{{{death_year|}}}| | {{#if:{{{death_year|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} 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|}}} }} |
|}}<!-- | |}}<!-- | ||
Line 73: | Line 73: | ||
{{#if:{{{nationality|}}}| | {{#if:{{{nationality|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-body" {{!}} '''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" | ||
− | | | + | | class="comptf-infobox-body" | '''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" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-header" {{!}} '''Format''' |
− | {{!}} | + | {{!}} class="comptf-infobox-body" {{!}} [[{{{format|}}}]] |
}} | }} | ||
|}}<!-- | |}}<!-- | ||
Line 98: | Line 98: | ||
--> | --> | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | | | + | | class="comptf-infobox-header" | '''Team''' |
− | | | + | | class="comptf-infobox-body" | [[File:{{{team|}}} Icon.png|x18px|link={{{team|}}}]] [[{{{team|}}}]]<!-- |
CLASS | CLASS | ||
Line 105: | Line 105: | ||
--> | --> | ||
|- class="comptf-infobox-info" | |- class="comptf-infobox-info" | ||
− | | | + | | class="comptf-infobox-header" | '''Class''' |
− | | | + | | class="comptf-infobox-body" |{{#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" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-header" {{!}} '''Other Mains''' |
− | {{!}} | + | {{!}} class="comptf-infobox-body" {{!}}{{#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" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-header" {{!}} '''{{abbr|Career Winnings|Approx. total career winnings (USD)}}''' |
− | {{!}} | + | {{!}} 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}}}}}}}} |
|}}<!-- | |}}<!-- | ||
Line 203: | Line 203: | ||
{{#if:{{{other_aliases|}}}| | {{#if:{{{other_aliases|}}}| | ||
{{!}}- class="comptf-infobox-info" | {{!}}- class="comptf-infobox-info" | ||
− | {{!}} | + | {{!}} class="comptf-infobox-header" {{!}} '''Other Aliases''' |
− | {{!}} | + | {{!}} class="comptf-infobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} |
|}}<!-- | |}}<!-- | ||