|
|
| (26 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| <noinclude> | | <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}</includeonly><includeonly> |
| == Cargo Declaration ==
| | {{#cargo_store: |
| {{#cargo_declare: | |
| _table = Players
| |
| |id = String
| |
| |real_name = String
| |
| |image = File
| |
| |current_team = String
| |
| |nationality = String
| |
| |status = String
| |
| |game = String
| |
| |birth_date = Date
| |
| |role = String
| |
| |instagram = URL
| |
| |youtube = URL
| |
| }} | |
| </noinclude><includeonly>{{#cargo_store: | |
| _table = Players | | _table = Players |
| |id = {{{id|{{PAGENAME}}}}} | | |id = {{{id|{{PAGENAME}}}}} |
| Line 28: |
Line 13: |
| |instagram = {{{instagram|}}} | | |instagram = {{{instagram|}}} |
| |youtube = {{{youtube|}}} | | |youtube = {{{youtube|}}} |
| }}<div class="infobox">
| |
| <div class="infobox-header">{{{id|{{PAGENAME}}}}}</div>
| |
|
| |
| {{#if:{{{image|}}}|
| |
| <div class="infobox-image">[[File:{{{image}}}|200px]]</div>
| |
| }}
| |
|
| |
| <div class="infobox-data-container">
| |
|
| |
| {{#if:{{{real_name|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Real Name</div>
| |
| <div class="infobox-data">{{{real_name}}}</div>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{nationality|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Nationality</div>
| |
| <div class="infobox-data">{{{nationality}}}</div>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{birth_date|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Born</div>
| |
| <div class="infobox-data">{{{birth_date}}}</div>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{game|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Game</div>
| |
| <div class="infobox-data">{{{game}}}</div>
| |
| </div>
| |
| }}
| |
|
| |
| <div class="infobox-header" style="font-size:1em; margin-top:10px;">Team Info</div>
| |
|
| |
| {{#if:{{{current_team|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Team</div>
| |
| <div class="infobox-data">[[{{{current_team}}}]]</div>
| |
| </div>
| |
| }}
| |
|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Status</div>
| |
| <div class="infobox-data" style="font-weight:bold; color:{{#switch:{{#lc:{{{status}}}}}
| |
| |active=#1EA896
| |
| |inactive=red
| |
| |retired=grey
| |
| |banned=red
| |
| |black}};">{{{status}}}</div>
| |
| </div>
| |
|
| |
| {{#if:{{{role|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Role</div>
| |
| <div class="infobox-data">{{{role}}}</div>
| |
| </div>
| |
| }}
| |
|
| |
| {{#if:{{{instagram|}}}{{{youtube|}}}|
| |
| <div class="infobox-header" style="font-size:1em; margin-top:10px;">Social Media</div>
| |
| <div class="infobox-row" style="justify-content:center; gap:10px;">
| |
| {{#if:{{{instagram|}}}| • [{{{instagram}}} Instagram] }}
| |
|
| |
| {{#if:{{{youtube|}}}| • [{{{youtube}}} YouTube] }}
| |
| </div>
| |
| }} | | }} |
| | | {{#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|}}} }} |
| </div>
| | [[Category:Players]][[Category:{{{role|}}}]] |
| </div>
| | </includeonly> |
| | |
| [[Category:Players]]</includeonly> | |