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|Unknown}}}
{{!}} '''Age'''
|-
{{!}} {{{age}}}
{{!}}- }}
 
{{Table Header | Details }}
{{Table Header | Details }}
|-
|-
| '''Mob'''
| '''Mob'''
| {{{mobType}}}
| {{{mobType}}}
|-
| '''Owner'''
| [[ {{{owner}}} ]]
|-
|-
| '''Server'''
| '''Server'''
| [ {{{aliveServer}}} {{{aliveServer}}} ]
| [[ {{{aliveServer}}} ]]
|-
|-


|}
|}
|525px]]
]]
 
<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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
NamepetName

no description

Stringrequired
Ownerowner

Player who owned this pet.

Page namerequired
ImagepetImage

The name of the image file.

Filerequired
Born/FoundstartDate

Date

Default
Unknown
Example
February 6, 2017
Datesuggested
Death/Lost DatedeathDate

The date the pet was lost or died.

Example
May 29, 2021
Datesuggested
Ageage

no description

Stringsuggested
Mob TypemobType

Type of mob the pet was.

Example
Parrot
Stringrequired
ServeraliveServer

What server did this pet live on?

Example
Winter Spawn
Page namerequired