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
 
(71 intermediate revisions by 2 users not shown)
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|}}}}}<table class="infobox">
<noinclude>
<tr><th colspan="2" class="infobox-header">{{{id|{{PAGENAME}}}}}</th></tr>
{{#cargo_declare:
{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|250px]]</td></tr>}}
_table = Players
<tr>
|id           = String
<td class="infobox-label">Real Name</td>
|real_name    = String
<td>{{{name|}}}</td>
|image        = String
</tr>
|current_team = String
<tr>
|nationality  = String
<td class="infobox-label">Team</td>
|status      = String
<td>[[{{{team|}}}]]</td>
|game        = String
</tr>
|birth_date  = Date
<tr>
|role         = String
<td class="infobox-label">Role</td>
|instagram    = String
<td>{{{role|}}}</td>
|youtube      = String
</tr>
|twitter      = String
</table></includeonly>
|discord      = String
|facebook    = String
}}
== Template:Infobox Player ==
Parameters: id, real_name, image, current_team, nationality, status, game, birth_date, role, instagram, youtube, twitter, discord, facebook
</noinclude><includeonly>
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{#cargo_store:
_table       = Players
|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|}}}
|twitter      = {{{twitter|}}}
|discord      = {{{discord|}}}
|facebook    = {{{facebook|}}}
}}
{{#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|}}}
|twitter      = {{{twitter|}}}
|discord      = {{{discord|}}}
|facebook    = {{{facebook|}}}
}}
[[Category:Players]][[Category:{{{role|}}}]]
</includeonly>

Latest revision as of 03:01, 7 March 2026

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

Template:Infobox Player

Parameters: id, real_name, image, current_team, nationality, status, game, birth_date, role, instagram, youtube, twitter, discord, facebook