Template
Infobox Settlement
From Dogcraft Wiki
No edit summary |
(Adding tempalte) |
||
Line 57: | Line 57: | ||
[[Category:Settlements]] | [[Category:Settlements]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"label": "Header", | |||
"description": "Infobox header, for use when it should be different from the pagename.", | |||
"type": "string", | |||
"autovalue": "{{subst:PAGENAME}}" | |||
}, | |||
"image": { | |||
"type": "wiki-file-name", | |||
"autovalue": "", | |||
"aliases": [ | |||
"picture", | |||
"file", | |||
"img" | |||
], | |||
"label": "Image", | |||
"description": "The name of an image (without \"File:\") to display at the top of the infobox.", | |||
"example": "Examplet.png", | |||
"required": true | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Description of the Image parameter", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "The world in which the settlement was built. Options: Survival, Survival 1, Survival 2, Survival 3, Survival 4, Amplified, Skyblock, Creative, MCMMO, other.", | |||
"example": "Survival 4", | |||
"type": "string", | |||
"default": "Survival 4", | |||
"required": true | |||
}, | |||
"sur4subworld": { | |||
"aliases": [ | |||
"subworld" | |||
], | |||
"label": "Survival 4 server", | |||
"description": "Which of the Survival 4 servers is the settlement located on, Options: Husky, Beagle", | |||
"example": "Husky", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"mayors": { | |||
"aliases": [ | |||
"mayor" | |||
], | |||
"label": "Mayor(s)", | |||
"description": "The leader(s) of the settlement. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"contributors": { | |||
"aliases": [ | |||
"builders" | |||
], | |||
"label": "Contributor(s)", | |||
"description": "Major contributors to the settlement. Use {{Player|<playername>}}", | |||
"example": "{{Player|Example}}", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"description": "The date of the founding of the settlement", | |||
"type": "date", | |||
"suggested": true | |||
}, | |||
"xcoord": { | |||
"label": "X-coordinate", | |||
"description": "The x coordinate of the settlement's location.", | |||
"example": "0", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"ycoord": { | |||
"label": "Y-coordinate", | |||
"description": "The y coordinate of the settlement's location (height)", | |||
"example": "64", | |||
"type": "number", | |||
"autovalue": "64", | |||
"suggested": true | |||
}, | |||
"zcoord": { | |||
"label": "Z-coordinate", | |||
"description": "The z coordinate of the settlement's location.", | |||
"example": "0", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"dimension": { | |||
"label": "Dimension", | |||
"description": "The dimension in which the settlement is located.", | |||
"example": "Overworld", | |||
"type": "string", | |||
"default": "Overworld", | |||
"autovalue": "" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Expects one of the [[Status|status templates]]. Use {{Defunct}} for settlements on past worlds.", | |||
"example": "{{Active}}", | |||
"type": "wiki-template-name", | |||
"required": true | |||
}, | |||
"nether": { | |||
"aliases": [ | |||
"ntn" | |||
], | |||
"label": "Nether access", | |||
"description": "Name of the NTN line, door, or station from which the settlement can be accessed, if there is one.", | |||
"example": "Nether Transport Network ", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"railway": { | |||
"aliases": [ | |||
"srn" | |||
], | |||
"label": "Railway", | |||
"description": "Name of the railway or station by which the settlement can be accessed, if there is one.", | |||
"example": "SRN Branch Line", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Infobox template to be used on ingame settlements (towns, cities, ect.) on the server.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 20:06, 29 November 2020
{{Infobox Settlement |title = |image = |caption = |world = |sur4subworld = |mayors = |contributors = |founded = |xcoord = |ycoord = |zcoord = |dimension = |status = |railway = |nether = }}
Infobox template to be used on ingame settlements (towns, cities, ect.) on the server.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Header | title | Infobox header, for use when it should be different from the pagename.
| String | optional |
Image | image picture file img | The name of an image (without "File:") to display at the top of the infobox.
| File | required |
Caption | caption | Description of the Image parameter | String | suggested |
World | world | The world in which the settlement was built. Options: Survival, Survival 1, Survival 2, Survival 3, Survival 4, Amplified, Skyblock, Creative, MCMMO, other.
| String | required |
Survival 4 server | sur4subworld subworld | Which of the Survival 4 servers is the settlement located on, Options: Husky, Beagle
| String | required |
Mayor(s) | mayors mayor | The leader(s) of the settlement. Use {{Player|<playername>}}
| String | suggested |
Contributor(s) | contributors builders | Major contributors to the settlement. Use {{Player|<playername>}}
| String | suggested |
Founded | founded | The date of the founding of the settlement | Date | suggested |
X-coordinate | xcoord | The x coordinate of the settlement's location.
| Number | required |
Y-coordinate | ycoord | The y coordinate of the settlement's location (height)
| Number | suggested |
Z-coordinate | zcoord | The z coordinate of the settlement's location.
| Number | required |
Dimension | dimension | The dimension in which the settlement is located.
| String | optional |
Status | status | Expects one of the [[Status|status templates]]. Use {{Defunct}} for settlements on past worlds.
| Template | required |
Nether access | nether ntn | Name of the NTN line, door, or station from which the settlement can be accessed, if there is one.
| Page name | suggested |
Railway | railway srn | Name of the railway or station by which the settlement can be accessed, if there is one.
| Page name | suggested |