Template:Pet: Difference between revisions
From TNTable
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
{{!}}- }} | {{!}}- }} | ||
| '''Age''' | {{#if: {{{age|}}} | | ||
{{!}} '''Age''' | |||
{{!}} {{{age}}} | |||
{{!}}- }} | |||
{{Table Header | Details }} | {{Table Header | Details }} | ||
|- | |- | ||
| '''Mob''' | | '''Mob''' | ||
| {{{mobType}}} | | {{{mobType}}} | ||
|- | |||
| '''Owner''' | |||
| [[ {{{owner}}} ]] | |||
|- | |- | ||
| '''Server''' | | '''Server''' | ||
| [ {{{aliveServer}}} | | [[ {{{aliveServer}}} ]] | ||
|- | |- | ||
|} | |} | ||
]] | |||
<includeonly> | |||
[[Category:Pet]] | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"petImage": { | |||
"label": "Image", | |||
"description": "The name of the image file.", | |||
"type": "wiki-file-name", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"petName": { | |||
"label": "Name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"startDate": { | |||
"label": "Born/Found", | |||
"description": "Date", | |||
"example": "February 6, 2017", | |||
"type": "date", | |||
"default": "Unknown", | |||
"suggested": true | |||
}, | |||
"deathDate": { | |||
"label": "Death/Lost Date", | |||
"description": "The date the pet was lost or died.", | |||
"example": "May 29, 2021", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"age": { | |||
"label": "Age", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"mobType": { | |||
"label": "Mob Type", | |||
"description": "Type of mob the pet was.", | |||
"example": "Parrot", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"aliveServer": { | |||
"label": "Server", | |||
"description": "What server did this pet live on?", | |||
"example": "Winter Spawn", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"owner": { | |||
"label": "Owner", | |||
"description": "Player who owned this pet.", | |||
"type": "wiki-page-name", | |||
"required": true | |||
} | |||
}, | |||
"description": "This template is for the info box for pets.", | |||
"paramOrder": [ | |||
"petName", | |||
"owner", | |||
"petImage", | |||
"startDate", | |||
"deathDate", | |||
"age", | |||
"mobType", | |||
"aliveServer" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 15:49, 18 September 2022
[[File:{{{petImage}}}|thumb|
{{{petName}}} | |
---|---|
Life | |
Found or Born | Unknown |
Details | |
Mob | {{{mobType}}} |
Owner | [[ {{{owner}}} ]] |
Server | [[ {{{aliveServer}}} ]] |
]]
This template is for the info box for pets.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | petName | no description | String | required |
Owner | owner | Player who owned this pet. | Page name | required |
Image | petImage | The name of the image file. | File | required |
Born/Found | startDate | Date
| Date | suggested |
Death/Lost Date | deathDate | The date the pet was lost or died.
| Date | suggested |
Age | age | no description | String | suggested |
Mob Type | mobType | Type of mob the pet was.
| String | required |
Server | aliveServer | What server did this pet live on?
| Page name | required |