Template:Infobox Player: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Cargo Declaration == | == Cargo Declaration == | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table = Players | _table = Players | ||
|id = String | |id = String | ||
| | |real_name = String | ||
| | |image = File | ||
| | |current_team = String | ||
|nationality = String | |nationality = String | ||
|status = String | |status = String | ||
| | |game = String | ||
|birth_date = Date | |||
|role = String | |||
|instagram = URL | |||
|youtube = URL | |||
}} | }} | ||
</noinclude><includeonly>{{#cargo_store: | </noinclude><includeonly>{{#cargo_store: | ||
_table = Players | _table = Players | ||
|id = {{{id|{{PAGENAME}}}}} | |id = {{{id|{{PAGENAME}}}}} | ||
| | |real_name = {{{real_name|}}} | ||
| | |image = {{{image|}}} | ||
| | |current_team = {{{current_team|}}} | ||
|nationality = {{{nationality|}}} | |nationality = {{{nationality|}}} | ||
|status = {{{status|}}} | |status = {{{status|}}} | ||
| | |game = {{{game|}}} | ||
|birth_date = {{{birth_date|}}} | |||
|role = {{{role|}}} | |||
|instagram = {{{instagram|}}} | |||
|youtube = {{{youtube|}}} | |||
}}<div class="infobox"> | }}<div class="infobox"> | ||
<div class="infobox-header">{{{id|{{PAGENAME}}}}}</div> | <div class="infobox-header">{{{id|{{PAGENAME}}}}}</div> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}| | <div class="infobox-image">[[File:{{{image}}}|200px]]</div> | ||
}} | }} | ||
<div class="infobox-data-container"> | <div class="infobox-data-container"> | ||
{{#if:{{{ | {{#if:{{{real_name|}}}| | ||
<div class="infobox-row"> | <div class="infobox-row"> | ||
<div class="infobox-label">Real Name</div> | <div class="infobox-label">Real Name</div> | ||
<div class="infobox-data">{{{ | <div class="infobox-data">{{{real_name}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{ | {{#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-row"> | ||
<div class="infobox-label">Team</div> | <div class="infobox-label">Team</div> | ||
<div class="infobox-data">[[{{{ | <div class="infobox-data">[[{{{current_team}}}]]</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{status|}}}| | ||
<div class="infobox-row"> | <div class="infobox-row"> | ||
<div class="infobox-label"> | <div class="infobox-label">Status</div> | ||
<div class="infobox-data">{{{ | <div class="infobox-data" style="font-weight:bold; color:{{#switch:{{#lc:{{{status}}}}}|active=green|inactive=red|#333}};"> | ||
{{{status}}} | |||
</div> | |||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{role|}}}| | {{#if:{{{role|}}}| | ||
<div class="infobox-row"> | <div class="infobox-row"> | ||
| Line 58: | Line 90: | ||
}} | }} | ||
{{#if:{{{ | {{#if:{{{instagram|}}}{{{youtube|}}}| | ||
<div class="infobox- | <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> | </div> | ||
}} | }} | ||
</div> | </div> | ||
</div>[[Category:Players]]</includeonly> | </div> | ||
[[Category:Players]]</includeonly> | |||
Revision as of 22:32, 10 January 2026
Cargo Declaration
This template defines the table "Players". View table.