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
 
(50 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}</includeonly><includeonly>
{{#cargo_declare:
_table = Players
|ID = String
|Name = String
|Team = String
|Role = String
|Birth_Date = Date
|Nationality = String
|Approx_Winnings = Integer
|Image = File
}}
</noinclude><includeonly>
{{#cargo_store:
{{#cargo_store:
_table = Players
_table = Players
|ID = {{{id|{{PAGENAME}}}}}
|id = {{{id|{{PAGENAME}}}}}
|Name = {{{name|}}}
|real_name = {{{real_name|}}}
|Team = {{{team|}}}
|image = {{{image|}}}
|Role = {{{role|}}}
|current_team = {{{current_team|}}}
|Birth_Date = {{{birth_date|}}}
|nationality = {{{nationality|}}}
|Nationality = {{{nationality|India}}}
|status = {{{status|}}}
|Approx_Winnings = {{{earnings|0}}}
|game = {{{game|}}}
|Image = {{{image|}}}
|birth_date = {{{birth_date|}}}
|role = {{{role|}}}
|instagram = {{{instagram|}}}
|youtube = {{{youtube|}}}
}}
}}
 
{{#invoke:Player|infobox|id={{{id|{{PAGENAME}}}}}|real_name={{{real_name|}}}|image={{{image|}}}|current_team={{{current_team|}}}|nationality={{{nationality|}}}|status={{{status|}}}|game={{{game|}}}|birth_date={{{birth_date|}}}|role={{{role|}}}|instagram={{{instagram|}}}|youtube={{{youtube|}}} }}
<div class="fo-nttax-infobox wiki-infobox" style="float: right; width: 300px; background: #272D2D; color: #E6E6E6; border: 1px solid #272D2D; padding: 5px; margin-left: 15px;">
[[Category:Players]][[Category:{{{role|}}}]]
    <div style="background: #272D2D; color: black; font-weight: bold; text-align: center; padding: 20px; font-size: 2em;">
        {{{id|{{PAGENAME}}}}}
    </div>
 
    {{#if: {{{image|}}} |
    <div style="text-align: center; padding: 10px; background: #2a2c30;">
      <div style="max-width: 100%; height: auto; overflow: hidden;">
        [[File:{{{image}}}|250px]]
      </div>
    </div>
    }}
 
    <table style="width: 100%; border-collapse: collapse; margin-top: 10px;">
        <tr>
            <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>

Latest revision as of 11:00, 2 February 2026