Template
Infobox Settlement
From Dogcraft Wiki
(Undo revision 25475 by Domino) Tag: Undo |
m (setting image format on single images to thumb, so the infobox image can't flash over the whole page width while loading. Setting concrete pixel widths in hopes that it helps with loading) |
||
Line 7: | Line 7: | ||
{{{image2|}}}{{!}}{{{caption2|}}} | {{{image2|}}}{{!}}{{{caption2|}}} | ||
{{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | {{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | ||
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}]]|}}}} | {{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}} | ||
|caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | |caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | ||
|header1 = Settlement | |header1 = Settlement |
Revision as of 01:37, 8 June 2022
{{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 |