Want to contribute? Join the Discord and ask for the editor role.
Template:Town Infobox: Difference between revisions
Template page
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 47: | Line 47: | ||
{{documentation}} | {{documentation}} | ||
[[Category:Minecraft templates]] | [[Category:Minecraft templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Image of the town", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of the town", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"description": "Date the town was founded", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"mayor": { | |||
"description": "Current mayor of the town", | |||
"type": "string", | |||
"label": "Mayor", | |||
"example": "NotKatuen" | |||
}, | |||
"population": { | |||
"label": "Population", | |||
"description": "Current population of the town", | |||
"type": "number" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Activity status of the town", | |||
"example": "Inactive", | |||
"type": "string" | |||
}, | |||
"coordinates": { | |||
"label": "Coordinates", | |||
"description": "X/Z Coordinates of the town's location", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "Name of the world the town is located in", | |||
"example": "Overworld", | |||
"type": "string", | |||
"default": "Overworld" | |||
}, | |||
"path": { | |||
"label": "Nether path", | |||
"description": "Details for finding the town in the nether.", | |||
"example": "Blue path, Diorite block", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"dynmap": { | |||
"label": "Dynmap Link", | |||
"description": "URL for the dynmap view of the town", | |||
"example": "https://minecraft.rtgame.co.uk/map/survival/#world;flat;-784,64,1413;3", | |||
"type": "url", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Outputs an infobox for a Minecraft server town", | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"coordinates", | |||
"world", | |||
"dynmap", | |||
"founded", | |||
"mayor", | |||
"population", | |||
"status", | |||
"path" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata></noinclude> |
Revision as of 01:44, 7 May 2021
Location | |
---|---|
World | Overworld |
[{{{dynmap}}} Dynmap Link] | |
This documentation is transcluded from Template:Town Infobox/doc. Changes can be proposed in the talk page.
Outputs an infobox for a Minecraft server town
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the town | Unknown | required |
Image | image | Image of the town | File | suggested |
Coordinates | coordinates | X/Z Coordinates of the town's location | Unknown | required |
World | world | Name of the world the town is located in
| String | optional |
Dynmap Link | dynmap | URL for the dynmap view of the town
| URL | suggested |
Founded | founded | Date the town was founded | Date | suggested |
Mayor | mayor | Current mayor of the town
| String | optional |
Population | population | Current population of the town | Number | optional |
Status | status | Activity status of the town
| String | optional |
Nether path | path | Details for finding the town in the nether.
| String | suggested |