|
|
| (9 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| <includeonly>{{#if:{{{disambig|}}}|
| | <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}</includeonly><includeonly> |
| <div class="hatnote" style="font-style:italic; font-size:0.9em; margin-bottom:10px; color:#555;">
| | {{#cargo_store: |
| Not looking for this player? See [[{{{disambig}}}|Disambiguation]].
| |
| </div>
| |
| }}</includeonly>
| |
| | |
| <includeonly>{{DISPLAYTITLE:{{SUBPAGENAME}}}}</includeonly> | |
| | |
| <noinclude> | |
| == Cargo Declaration ==
| |
| {{#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 36: |
Line 13: |
| |instagram = {{{instagram|}}} | | |instagram = {{{instagram|}}} |
| |youtube = {{{youtube|}}} | | |youtube = {{{youtube|}}} |
| }}<div class="infobox"> | | }} |
| <div class="infobox-header">{{{id|{{SUBPAGENAME}}}}}</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|}}} }} |
| | | [[Category:Players]][[Category:{{{role|}}}]] |
| {{#if:{{{image|}}}|
| | </includeonly> |
| <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; border-radius: 6px;">Team Info</div>
| |
| | |
| {{#if:{{{current_team|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Current Team</div>
| |
| <div class="infobox-data">[[{{{current_team}}}]]</div>
| |
| </div>
| |
| }}
| |
| | |
| {{#if:{{{status|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Status</div>
| |
| <div class="infobox-data" style="font-weight:bold; color:{{#switch:{{{status}}}|Active=green|active=green|Active =green|Inactive=red|inactive=red|Inactive =red|#333}};">{{{status}}}</div></div>
| |
| }}
| |
| | |
| {{#if:{{{role|}}}|
| |
| <div class="infobox-row">
| |
| <div class="infobox-label">Role</div>
| |
| <div class="infobox-data">{{{role}}}</div>
| |
| </div>
| |
| }}
| |
| | |
| <div class="infobox-header" style="font-size:1em; margin-top:10px; border-radius: 6px;">History</div>
| |
| <div style="padding:5px 10px; font-size:0.9em;">
| |
| {{#cargo_query:
| |
| |table=Player_Former_Teams
| |
| |fields=team, join_date, leave_date
| |
| |where=player_id='{{PAGENAME}}'
| |
| |order by=join_date DESC
| |
| |limit=20
| |
| |format=template
| |
| |template=FormerTeamDisplay
| |
| |intro=<table style="width:100%; border-collapse:collapse;">
| |
| |outro=</table>
| |
| |default=<div style="text-align:center; color:#888;">No history recorded</div>
| |
| }}
| |
| </div>
| |
| | |
| {{#if:{{{instagram|}}}{{{youtube|}}}|
| |
| <div class="infobox-header" style="font-size:1em; margin-top:10px; border-radius: 6px;">Social Media</div>
| |
| <div class="infobox-row" style="justify-content:center; gap:10px;">
| |
| {{#if:{{{instagram|}}}| • [{{{instagram}}} Instagram] }}
| |
| {{#if:{{{youtube|}}}| • [{{{youtube}}} YouTube] }}
| |
| </div>}}
| |
| | |
| </div>
| |
| </div>
| |
| | |
| [[Category:Players]]</includeonly>
| |