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
 
(70 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|}}}}}<div class="infobox">
<noinclude>
<div class="infobox-header">{{{id|{{PAGENAME}}}}}</div>
{{#cargo_declare:
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
_table = Players
<div class="infobox-row">
|id           = String
<span class="infobox-label">Real Name</span>
|real_name    = String
<span>{{{name|}}}</span>
|image        = String
</div>
|current_team = String
<div class="infobox-row">
|nationality  = String
<span class="infobox-label">Team</span>
|status      = String
<span>[[{{{team|}}}]]</span>
|game        = String
</div>
|birth_date  = Date
<div class="infobox-row">
|role         = String
<span class="infobox-label">Role</span>
|instagram    = String
<span>{{{role|}}}</span>
|youtube      = String
</div>
|twitter      = String
</div></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