Template:Player: Difference between revisions
Appearance
Restore encyclopedia player infobox styling |
Remove player ID from visible infobox |
||
| Line 46: | Line 46: | ||
{{#if:{{{ActiveFromYear|}}}|<tr><th>Active</th><td>{{{ActiveFromYear}}}{{#if:{{{ActiveToYear|}}}|–{{{ActiveToYear}}}|–present}}</td></tr>}} | {{#if:{{{ActiveFromYear|}}}|<tr><th>Active</th><td>{{{ActiveFromYear}}}{{#if:{{{ActiveToYear|}}}|–{{{ActiveToYear}}}|–present}}</td></tr>}} | ||
{{#if:{{{Social|}}}|<tr><th>Social</th><td>{{#arraymap:{{{Social}}}|,|@@|{{#if:@@|<div class="player-social">[@@ @@]</div>}}}}</td></tr>}} | {{#if:{{{Social|}}}|<tr><th>Social</th><td>{{#arraymap:{{{Social}}}|,|@@|{{#if:@@|<div class="player-social">[@@ @@]</div>}}}}</td></tr>}} | ||
</table>[[Category:Players]]</includeonly> | </table>[[Category:Players]]</includeonly> | ||
Latest revision as of 01:43, 17 April 2026
This template defines the table "Players". View table.
Player infobox (stores to Cargo).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name | no description | String | required |
| Nickname | Nickname | no description | String | optional |
| Hometown | Hometown | no description | String | optional |
| Height (feet) | HeightFeet | no description | Number | optional |
| Height (inches) | HeightInches | no description | Number | optional |
| Active from (year) | ActiveFromYear | no description | Number | optional |
| Active to (year) | ActiveToYear | no description | Number | optional |
| Photo file | Photo | no description | File | optional |
| Social (comma-separated URLs) | Social | Comma-separated list of profile URLs | String | optional |