Difference between revisions of "Template:InfoboxPlayer"
Jump to navigation
Jump to search
m |
m |
||
Line 40: | Line 40: | ||
--> | --> | ||
|- style="{{#if: {{{name|}}} | | display: none}}" | |- style="{{#if: {{{name|}}} | | display: none}}" | ||
− | + | | class="playerinfobox-subheader" | '''Name''' | |
| class="playerinfobox-body" | {{{name}}}<!-- | | class="playerinfobox-body" | {{{name}}}<!-- | ||
Line 47: | Line 47: | ||
--> | --> | ||
|- style="{{#if: {{{romanized_name|}}} | | display: none}}" | |- style="{{#if: {{{romanized_name|}}} | | display: none}}" | ||
− | | class="playerinfobox-subheader" | Romanized Name | + | | class="playerinfobox-subheader" | '''Romanized Name''' |
| class="playerinfobox-body" | {{{romanized_name|}}}<!-- | | class="playerinfobox-body" | {{{romanized_name|}}}<!-- | ||
Line 54: | Line 54: | ||
--> | --> | ||
|- style="{{#if: {{{birth_year|}}} | | display: none}}" | |- style="{{#if: {{{birth_year|}}} | | display: none}}" | ||
− | | 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 61: | Line 61: | ||
--> | --> | ||
|- style="{{#if: {{{death_year|}}} | | display: none}}" | |- style="{{#if: {{{death_year|}}} | | display: none}}" | ||
− | | 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 68: | Line 68: | ||
--> | --> | ||
|- style="{{#if: {{{nationality|}}} | | display: none}}" | |- style="{{#if: {{{nationality|}}} | | display: none}}" | ||
− | | 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 75: | Line 75: | ||
--> | --> | ||
|- | |- | ||
− | | 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 82: | Line 82: | ||
--> | --> | ||
|- style="{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=display:none}} | display:none}}" | |- style="{{#if: {{{format|}}} | {{#switch: {{lc: {{{format|}}} }} |6 |6s |6v6 |sixes=display:none}} | display:none}}" | ||
− | | class="playerinfobox-subheader" | Format | + | | class="playerinfobox-subheader" | '''Format''' |
| class="playerinfobox-body" | [[{{{format|}}}]]<!-- | | class="playerinfobox-body" | [[{{{format|}}}]]<!-- | ||
Line 89: | Line 89: | ||
--> | --> | ||
|- | |- | ||
− | | class="playerinfobox-subheader" | Team | + | | class="playerinfobox-subheader" | '''Team''' |
| class="playerinfobox-body" | {{Team/{{{team|}}} }}<!-- | | class="playerinfobox-body" | {{Team/{{{team|}}} }}<!-- | ||
Line 96: | Line 96: | ||
--> | --> | ||
|- | |- | ||
− | | class="playerinfobox-subheader" | Role | + | | class="playerinfobox-subheader" | '''Role''' |
| class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }} | | class="playerinfobox-body" |{{#switch: {{lc: {{{role|}}} }} | ||
| scout = {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]] | | scout = {{Icon | scout | | Scout}} [[:Category:Scouts|Scout]] | ||
Line 119: | Line 119: | ||
--> | --> | ||
|- style="{{#if: {{{career_winnings|}}} | | display: none}}" | |- style="{{#if: {{{career_winnings|}}} | | display: none}}" | ||
− | | 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 126: | Line 126: | ||
--> | --> | ||
|- style="{{#if: {{{other_alias|}}} | | display: none}}" | |- style="{{#if: {{{other_alias|}}} | | display: none}}" | ||
− | | 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|}}}'' |}}<!-- | ||