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>
{{#cargo_declare:_table=Players
{{#cargo_declare:
|id=String
_table = Players
|name=String
|ID = String
|team=Page
|Name = String
|role=String
|Team = String
|image=File
|Role = String
|Birth_Date = Date
|Nationality = String
|Approx_Winnings = Integer
|Image = File
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=Players
{{#cargo_store:
|id={{{id|{{PAGENAME}}}}}
_table = Players
|name={{{name|}}}
|ID = {{{id|{{PAGENAME}}}}}
|team={{{team|}}}
|Name = {{{name|}}}
|role={{{role|}}}
|Team = {{{team|}}}
|image={{{image|}}}
|Role = {{{role|}}}
|Birth_Date = {{{birth_date|}}}
|Nationality = {{{nationality|India}}}
|Approx_Winnings = {{{earnings|0}}}
|Image = {{{image|}}}
}}
}}
{| class="infobox"
 
|+ {{{id|{{PAGENAME}}}}}
<div class="fo-nttax-infobox wiki-infobox" style="float: right; width: 300px; background: #1e2023; color: white; border: 1px solid #3c3e44; padding: 5px; margin-left: 15px;">
|-
    <div style="background: #00b8d4; color: black; font-weight: bold; text-align: center; padding: 10px; font-size: 1.2em;">
| colspan="2" class="infobox-image" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
        {{{id|{{PAGENAME}}}}}
|-
    </div>
! colspan="2" class="infobox-header" | Player Information
 
|-
    {{#if: {{{image|}}} |
! Name
    <div style="text-align: center; padding: 10px; background: #2a2c30;">
| {{{name|}}}
        [[File:{{{image}}}|280px]]
|-
    </div>
! Team
    }}
| [[{{{team|}}}]]
 
|-
    <table style="width: 100%; border-collapse: collapse; margin-top: 10px;">
! Role
        <tr>
| {{{role|}}}
            <td style="font-weight: bold; color: #aaa;">Name:</td>
|-
            <td>{{{name|}}}</td>
|}
        </tr>
        <tr>
            <td style="font-weight: bold; color: #aaa;">Team:</td>
            <td>[[{{{team|}}}]]</td>
        </tr>
        <tr>
            <td style="font-weight: bold; color: #aaa;">Role:</td>
            <td>{{{role|}}}</td>
        </tr>
        <tr>
            <td style="font-weight: bold; color: #aaa;">Nationality:</td>
            <td>{{{nationality|}}}</td>
        </tr>
        <tr>
            <td style="font-weight: bold; color: #aaa;">Total Earnings:</td>
            <td>${{#if:{{{earnings|}}}|{{#expr:{{{earnings}}}}}|0}}</td>
        </tr>
    </table>
</div>
</includeonly>
</includeonly>

Revision as of 01:21, 2 January 2026

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