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>{{#cargo_declare:_table=Players|id=String|name=String|team=Page|role=String|image=File}}</noinclude><includeonly>{{#cargo_store:_table=Players|id={{{id|{{PAGENAME}}}}}|name={{{name|}}}|team={{{team|}}}|role={{{role|}}}|image={{{image|}}}}}<div class="infobox">
<noinclude>
<div class="infobox-header">{{{id|{{PAGENAME}}}}}</div>
{{#cargo_declare:_table=Players
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
|id=String
<div class="infobox-row">
|name=String
<span class="infobox-label">Real Name</span>
|team=Page
<span>{{{name|}}}</span>
|role=String
</div>
|image=File
<div class="infobox-row">
}}
<span class="infobox-label">Team</span>
</noinclude><includeonly>
<span>[[{{{team|}}}]]</span>
{{#cargo_store:_table=Players
</div>
|id={{{id|{{PAGENAME}}}}}
<div class="infobox-row">
|name={{{name|}}}
<span class="infobox-label">Role</span>
|team={{{team|}}}
<span>{{{role|}}}</span>
|role={{{role|}}}
</div>
|image={{{image|}}}
</div></includeonly>
}}
{| class="infobox"
|+ {{{id|{{PAGENAME}}}}}
|-
| colspan="2" class="infobox-image" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
|-
! colspan="2" class="infobox-header" | Player Information
|-
! Name
| {{{name|}}}
|-
! Team
| [[{{{team|}}}]]
|-
! Role
| {{{role|}}}
|-
|}
</includeonly>

Revision as of 02:13, 29 December 2025

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