Difference between revisions of "Template:InfoboxPlayer"
Jump to navigation
Jump to search
m |
m |
||
Line 37: | Line 37: | ||
--> | --> | ||
− | |||
|- | |- | ||
! class="playerinfobox-header" colspan="2" | Player Information<!--- | ! class="playerinfobox-header" colspan="2" | Player Information<!--- | ||
Line 45: | Line 44: | ||
--> | --> | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
− | {{!}}- | + | {{!}}- class="playerinfobox-info" |
{{!}} class="playerinfobox-subheader" {{!}} '''Name''' | {{!}} class="playerinfobox-subheader" {{!}} '''Name''' | ||
{{!}} class="playerinfobox-body" {{!}} {{{name}}} | {{!}} class="playerinfobox-body" {{!}} {{{name}}} | ||
Line 54: | Line 53: | ||
--> | --> | ||
{{#if:{{{romanized_name|}}}| | {{#if:{{{romanized_name|}}}| | ||
− | {{!}}- | + | {{!}}- class="playerinfobox-info" |
{{!}} class="playerinfobox-subheader" {{!}} '''Romanized Name''' | {{!}} class="playerinfobox-subheader" {{!}} '''Romanized Name''' | ||
{{!}} class="playerinfobox-body" {{!}} {{{romanized_name|}}} | {{!}} class="playerinfobox-body" {{!}} {{{romanized_name|}}} | ||
Line 63: | Line 62: | ||
--> | --> | ||
{{#if:{{{birth_year|}}}| | {{#if:{{{birth_year|}}}| | ||
− | {{!}}- | + | {{!}}- 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 71: | ||
--> | --> | ||
{{#if:{{{death_year|}}}| | {{#if:{{{death_year|}}}| | ||
− | {{!}}- | + | {{!}}- 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 80: | ||
--> | --> | ||
{{#if:{{{nationality|}}}| | {{#if:{{{nationality|}}}| | ||
− | {{!}}- | + | {{!}}- class="playerinfobox-info" |
{{!}} class="playerinfobox-subheader" {{!}} '''Nationality''' | {{!}} class="playerinfobox-subheader" {{!}} '''Nationality''' | ||
{{!}} 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 88: | ||
--> | --> | ||
− | |- | + | |- 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 96: | ||
--> | --> | ||
{{#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-subheader" {{!}} '''Format''' | {{!}} class="playerinfobox-subheader" {{!}} '''Format''' | ||
{{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]] | {{!}} class="playerinfobox-body" {{!}} [[{{{format|}}}]] | ||
Line 106: | Line 105: | ||
--> | --> | ||
− | |- | + | |- class="playerinfobox-info" |
| class="playerinfobox-subheader" | '''Team''' | | class="playerinfobox-subheader" | '''Team''' | ||
| class="playerinfobox-body" | {{Team/{{{team|}}} }}<!-- | | class="playerinfobox-body" | {{Team/{{{team|}}} }}<!-- | ||
Line 113: | Line 112: | ||
--> | --> | ||
− | |- | + | |- class="playerinfobox-info" |
| class="playerinfobox-subheader" | '''Role''' | | class="playerinfobox-subheader" | '''Role''' | ||
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }} | | class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }} | ||
Line 137: | Line 136: | ||
--> | --> | ||
{{#if:{{{career_winnings|}}}| | {{#if:{{{career_winnings|}}}| | ||
− | {{!}}- | + | {{!}}- class="playerinfobox-info" |
{{!}} class="playerinfobox-subheader" {{!}} '''Total Winnings''' | {{!}} class="playerinfobox-subheader" {{!}} '''Total Winnings''' | ||
{{!}} class="playerinfobox-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}}}}}}}} {{abbr|USD|United States Dollar}} (approx.) | {{!}} class="playerinfobox-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}}}}}}}} {{abbr|USD|United States Dollar}} (approx.) | ||
Line 146: | Line 145: | ||
--> | --> | ||
{{#if:{{{other_aliases|}}}| | {{#if:{{{other_aliases|}}}| | ||
− | {{!}}- | + | {{!}}- class="playerinfobox-info" |
{{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases''' | {{!}} class="playerinfobox-subheader" {{!}} '''Other Aliases''' | ||
{{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} | {{!}} class="playerinfobox-body" {{!}} ''{{{other_alias|}}}''{{#if: {{{other_alias2|}}} |, ''{{{other_alias2|}}}'' |}} |