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

Revision as of 01:29, 29 December 2025

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