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
 
(69 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Players
{{#cargo_declare:
|id=String
_table = Players
|name=String
|id           = String
|team=Page
|real_name    = String
|role=String
|image        = String
|image=File
|current_team = String
|nationality  = String
|status      = String
|game        = String
|birth_date  = Date
|role         = String
|instagram    = String
|youtube      = String
|twitter      = String
|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>
</noinclude><includeonly>
{{#cargo_store:_table=Players
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
|id={{{id|{{PAGENAME}}}}}
{{#cargo_store:
|name={{{name|}}}
_table       = Players
|team={{{team|}}}
|id           = {{{id|{{PAGENAME}}}}}
|role={{{role|}}}
|real_name    = {{{real_name|}}}
|image={{{image|}}}
|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|}}}
}}
}}
{| class="infobox"
{{#invoke:Player|infobox
|+ {{{id|{{PAGENAME}}}}}
|id          = {{{id|{{PAGENAME}}}}}
|-
|real_name    = {{{real_name|}}}
| colspan="2" class="infobox-image" | {{#if:{{{image|}}}|[[File:{{{image}}}|250px]]}}
|image        = {{{image|}}}
|-
|current_team = {{{current_team|}}}
! colspan="2" class="infobox-header" | Player Information
|nationality  = {{{nationality|}}}
|-
|status      = {{{status|}}}
! Name
|game        = {{{game|}}}
| {{{name|}}}
|birth_date  = {{{birth_date|}}}
|-
|role        = {{{role|}}}
! Team
|instagram    = {{{instagram|}}}
| [[{{{team|}}}]]
|youtube      = {{{youtube|}}}
|-
|twitter      = {{{twitter|}}}
! Role
|discord      = {{{discord|}}}
| {{{role|}}}
|facebook    = {{{facebook|}}}
|-
}}
|}
[[Category:Players]][[Category:{{{role|}}}]]
</includeonly>
</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