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_declare:_table=Players | {{#cargo_declare: | ||
| | _table = Players | ||
| | |ID = String | ||
| | |Name = String | ||
| | |Team = String | ||
| | |Role = String | ||
|Birth_Date = Date | |||
|Nationality = String | |||
|Approx_Winnings = Integer | |||
|Image = File | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#cargo_store:_table=Players | {{#cargo_store: | ||
| | _table = Players | ||
| | |ID = {{{id|{{PAGENAME}}}}} | ||
| | |Name = {{{name|}}} | ||
|role={{{ | |Team = {{{team|}}} | ||
| | |Role = {{{role|}}} | ||
|Birth_Date = {{{birth_date|}}} | |||
|Nationality = {{{nationality|India}}} | |||
|Approx_Winnings = {{{earnings|0}}} | |||
|Image = {{{image|}}} | |||
}} | }} | ||
<div class="fo-nttax-infobox wiki-infobox" style="float: right; width: 300px; background: #1e2023; color: white; border: 1px solid #3c3e44; padding: 5px; margin-left: 15px;"> | |||
<div style="background: #00b8d4; color: black; font-weight: bold; text-align: center; padding: 10px; font-size: 1.2em;"> | |||
{{{id|{{PAGENAME}}}}} | |||
</div> | |||
{{#if: {{{image|}}} | | |||
<div style="text-align: center; padding: 10px; background: #2a2c30;"> | |||
[[File:{{{image}}}|280px]] | |||
</div> | |||
}} | |||
<table style="width: 100%; border-collapse: collapse; margin-top: 10px;"> | |||
<tr> | |||
<td style="font-weight: bold; color: #aaa;">Name:</td> | |||
|- | <td>{{{name|}}}</td> | ||
|} | </tr> | ||
<tr> | |||
<td style="font-weight: bold; color: #aaa;">Team:</td> | |||
<td>[[{{{team|}}}]]</td> | |||
</tr> | |||
<tr> | |||
<td style="font-weight: bold; color: #aaa;">Role:</td> | |||
<td>{{{role|}}}</td> | |||
</tr> | |||
<tr> | |||
<td style="font-weight: bold; color: #aaa;">Nationality:</td> | |||
<td>{{{nationality|}}}</td> | |||
</tr> | |||
<tr> | |||
<td style="font-weight: bold; color: #aaa;">Total Earnings:</td> | |||
<td>${{#if:{{{earnings|}}}|{{#expr:{{{earnings}}}}}|0}}</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</includeonly> | </includeonly> | ||
Revision as of 01:21, 2 January 2026
This template defines the table "Players". View table.