Template:Infobox Player: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary Tag: Manual revert |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 69: | Line 69: | ||
{{#if:{{{current_team|}}}| | {{#if:{{{current_team|}}}| | ||
<div class="infobox-row"> | <div class="infobox-row"> | ||
<div class="infobox-label">Team</div> | <div class="infobox-label">Current Team</div> | ||
<div class="infobox-data">[[{{{current_team}}}]]</div> | <div class="infobox-data">[[{{{current_team}}}]]</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
<div class="infobox-row"> | <div class="infobox-row"> | ||
<div class="infobox-label">Status</div> | <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> | <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|}}}| | {{#if:{{{role|}}}| | ||
| Line 87: | Line 87: | ||
}} | }} | ||
{{#if:{{{instagram|}}}{{{youtube|}}}| | <div class="infobox-header" style="font-size:1em; margin-top:10px; border-radius: 6px;">History</div> | ||
<div class="infobox-header" style="font-size:1em; margin-top:10px; border-radius: 6px;">Social Media</div> | <div style="padding:5px 10px; font-size:0.9em;"> | ||
<div class="infobox-row" style="justify-content:center; gap:10px;"> | {{#cargo_query: | ||
{{#if:{{{instagram|}}}| • [{{{instagram}}} Instagram] }} | |table=Player_Former_Teams | ||
{{#if:{{{youtube|}}}| • [{{{youtube}}} YouTube] }} | |fields=team, join_date, leave_date | ||
</div>}} | |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> | ||
Revision as of 23:59, 11 January 2026
Cargo Declaration
This template defines the table "Players". View table.