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
Created page with "<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"> <div class="infobox-header">{{{id|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|250px]]</div> }} <div class="infobox-r..."
 
No edit summary
 
(73 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|}}}
}}
}}
 
{{#invoke:Player|infobox
<div class="infobox">
|id          = {{{id|{{PAGENAME}}}}}
    <div class="infobox-header">{{{id|{{PAGENAME}}}}}</div>
|real_name    = {{{real_name|}}}
   
|image        = {{{image|}}}
    {{#if:{{{image|}}}|
|current_team = {{{current_team|}}}
    <div class="infobox-image">[[File:{{{image}}}|250px]]</div>
|nationality  = {{{nationality|}}}
    }}
|status      = {{{status|}}}
 
|game        = {{{game|}}}
    <div class="infobox-row">
|birth_date  = {{{birth_date|}}}
         <span class="infobox-label">Real Name:</span>
|role         = {{{role|}}}
        <span>{{{name|}}}</span>
|instagram    = {{{instagram|}}}
    </div>
|youtube      = {{{youtube|}}}
 
|twitter      = {{{twitter|}}}
    <div class="infobox-row">
|discord      = {{{discord|}}}
        <span class="infobox-label">Team:</span>
|facebook     = {{{facebook|}}}
        <span>[[{{{team|}}}]]</span>
}}
     </div>
[[Category:Players]][[Category:{{{role|}}}]]
 
    <div class="infobox-row">
        <span class="infobox-label">Role:</span>
        <span>{{{role|}}}</span>
    </div>
</div>
</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