Template:Player: Difference between revisions
Appearance
>Kypho No edit summary |
>Kypho No edit summary |
||
| Line 11: | Line 11: | ||
|Social=List (,) of URL | |Social=List (,) of URL | ||
}} | }} | ||
<templatedata>{ | |||
"description": "Player infobox (stores to Cargo).", | |||
"params": { | |||
"Name": {"label":"Name","type":"string","required":true,"suggested":true}, | |||
"Nickname": {"label":"Nickname","type":"string"}, | |||
"Hometown": {"label":"Hometown","type":"string"}, | |||
"HeightFeet": {"label":"Height (feet)","type":"number"}, | |||
"HeightInches": {"label":"Height (inches)","type":"number"}, | |||
"ActiveFromYear": {"label":"Active from (year)","type":"number"}, | |||
"ActiveToYear": {"label":"Active to (year)","type":"number"}, | |||
"Photo": {"label":"Photo file","type":"wiki-file-name"}, | |||
"Social": {"label":"Social (comma-separated URLs)","type":"string","description":"Comma-separated list of profile URLs"} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#default_form:Player}} | {{#default_form:Player}} | ||
Revision as of 00:04, 12 November 2025
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 |