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 |
||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
|bodyclass = mw-collapsible floatright | |bodyclass = mw-collapsible floatright | ||
|image1 = [[File:{{{image| | |image1 = [[File:{{{image|Soon.png}}}|325px|center]] | ||
|imagerowclass1 = infobox-image | |imagerowclass1 = infobox-image | ||
Line 21: | Line 21: | ||
|label6 = {{#if: {{{status|}}} | Status }} | |label6 = {{#if: {{{status|}}} | Status }} | ||
|data6 = {{{status|}}} | |data6 = {{{status|}}} | ||
|rowclass6 = infobox-data infobox- | |rowclass6 = infobox-data infobox-col1 | ||
| | |label7 = {{#if: {{{keypeople|}}} | Key People }} | ||
|rowclass7 = infobox- | |data7 = {{{keypeople|}}} | ||
|rowclass7 = infobox-data infobox-col1 | |||
| | |header20 = {{#if: {{{coordinates|}}}{{{path|}}} | Location }} | ||
|rowclass20 = infobox-header | |||
| | |||
| | |label21 = {{#if: {{{coordinates|}}} | Coordinates }} | ||
| | |data21 = {{{coordinates|}}} | ||
| | |rowclass21 = infobox-data infobox-col2 | ||
| | |label22 = {{#if: {{{coordinates|}}}{{{path|}}} | World}} | ||
| | |data22 = {{{world|}}} | ||
| | |rowclass22 = infobox-data infobox-col2 | ||
| | |label23 = {{#if: {{{path|}}} | Nether Path}} | ||
| | |data23 = {{{path|}}} | ||
|rowclass23 = infobox-data infobox-col1 | |||
| | |header30 = {{#if: {{{dynmap|}}}{{{discord|}}} | Links}} | ||
| | |rowclass30 = infobox-header | ||
| | |label31 = {{#if: {{{dynmap|}}}|[{{{dynmap}}} Dynmap]}} | ||
| | |data31 = {{#if: {{{dynmap|}}}| }} | ||
|rowclass31 = infobox-data infobox-col2 | |||
|label32 = {{#if: {{{discord|}}}|[{{{discord}}} Discord Server]}} | |||
|data32 = {{#if: {{{discord|}}}| }} | |||
|rowclass32 = infobox-data infobox-col2 | |||
|data33 = {{#if: {{{dynmap|}}}{{{discord|}}} || }} | |||
}}<noinclude> | }}<noinclude> | ||
{{clear}} | {{clear}} | ||
Line 96: | Line 102: | ||
"label": "Coordinates", | "label": "Coordinates", | ||
"description": "X/Z Coordinates of the town's location", | "description": "X/Z Coordinates of the town's location", | ||
"suggested": true, | "suggested": true, | ||
"example": "6969,420", | "example": "6969,420", | ||
Line 121: | Line 126: | ||
"type": "url", | "type": "url", | ||
"suggested": true | "suggested": true | ||
}, | |||
"discord": { | |||
"label": "Discord Server", | |||
"description": "Link to the Discord Server related to the town, if you absolutely need to have one. Please be sensible and ensure the link doesn't expire.", | |||
"type": "url" | |||
}, | |||
"keypeople": { | |||
"label": "Key People", | |||
"description": "Noteworthy individuals who are involved in the Town's creation or ongoing activities.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 132: | Line 147: | ||
"founded", | "founded", | ||
"mayor", | "mayor", | ||
"keypeople", | |||
"population", | "population", | ||
"status", | "status", | ||
"path" | "path", | ||
"discord" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 20:37, 7 May 2021
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
| String | required |
Image | image | Image of the town | File | suggested |
Coordinates | coordinates | X/Z Coordinates of the town's location
| String | suggested |
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 |
Key People | keypeople | Noteworthy individuals who are involved in the Town's creation or ongoing activities. | 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 |
Discord Server | discord | Link to the Discord Server related to the town, if you absolutely need to have one. Please be sensible and ensure the link doesn't expire. | URL | optional |