Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Player: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This is the Infobox Player template.
== Cargo Declaration ==
{{#cargo_declare:
{{#cargo_declare:
_table = Players
_table = Players
|ID = String
|id = String
|Name = String
|name = String
|Team = String
|team = String
|Role = String
|role = String
|Birth_Date = Date
|nationality = String
|Nationality = String
|status = String
|Approx_Winnings = Integer
|image = File
|Image = File
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>{{#cargo_store:
{{#cargo_store:
_table = Players
_table = Players
|ID = {{{id|{{PAGENAME}}}}}
|id = {{{id|{{PAGENAME}}}}}
|Name = {{{name|}}}
|name = {{{name|}}}
|Team = {{{team|}}}
|team = {{{team|}}}
|Role = {{{role|}}}
|role = {{{role|}}}
|Birth_Date = {{{birth_date|}}}
|nationality = {{{nationality|}}}
|Nationality = {{{nationality|India}}}
|status = {{{status|}}}
|Approx_Winnings = {{{earnings|0}}}
|image = {{{image|}}}
|Image = {{{image|}}}
}}<div class="infobox">
}}
    <div class="infobox-header">{{{id|{{PAGENAME}}}}}</div>
 
    {{#if:{{{image|}}}|
    <div class="infobox-image">[[File:{{{image}}}|260px]]</div>
    }}
 
    <div class="infobox-data-container">
       
        {{#if:{{{name|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Real Name</div>
            <div class="infobox-data">{{{name}}}</div>
        </div>
        }}
 
        {{#if:{{{nationality|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Nationality</div>
            <div class="infobox-data">{{{nationality}}}</div>
        </div>
        }}
 
        {{#if:{{{team|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Team</div>
            <div class="infobox-data">[[{{{team}}}]]</div>
        </div>
        }}
 
        {{#if:{{{role|}}}|
        <div class="infobox-row">
            <div class="infobox-label">Role</div>
            <div class="infobox-data">{{{role}}}</div>
        </div>
        }}


<div class="infobox-esports">
        {{#if:{{{status|}}}|
   
        <div class="infobox-row">
    <div class="infobox-header">
            <div class="infobox-label">Status</div>
        {{{id|{{PAGENAME}}}}}
            <div class="infobox-data">{{{status}}}</div>
    </div>
        </div>
        }}


    {{#if: {{{image|}}} |
    <div class="infobox-image">
        [[File:{{{image}}}|260px]]
     </div>
     </div>
    }}
</div>[[Category:Players]]</includeonly>
 
    <table class="infobox-table">
        <tr>
            <td class="infobox-label">Full Name</td>
            <td class="infobox-data">{{{name|}}}</td>
        </tr>
        <tr>
            <td class="infobox-label">Team</td>
            <td class="infobox-data">[[{{{team|}}}]]</td>
        </tr>
        <tr>
            <td class="infobox-label">Role</td>
            <td class="infobox-data">{{{role|}}}</td>
        </tr>
        <tr>
            <td class="infobox-label">Nationality</td>
            <td class="infobox-data">{{{nationality|}}}</td>
        </tr>
        <tr>
            <td class="infobox-label">Born</td>
            <td class="infobox-data">{{{birth_date|}}}</td>
        </tr>
        <tr>
            <td class="infobox-label">Earnings</td>
            <td class="infobox-data" style="color: #2ecc71;">${{#if:{{{earnings|}}}|{{#expr:{{{earnings}}}}}|0}}</td>
        </tr>
    </table>
</div>
</includeonly>

Revision as of 23:37, 2 January 2026

This is the Infobox Player template.

Cargo Declaration

This template defines the table "Players". View table.