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 11: | Line 11: | ||
|rowclass3 = infobox-data infobox-col2 | |rowclass3 = infobox-data infobox-col2 | ||
|label4 = {{#if: {{{ | |label4 = {{#if: {{{population|}}} | Population }} | ||
|data4 = {{{ | |data4 = {{{population|}}} | ||
|rowclass4 = infobox-data infobox-col2 | |rowclass4 = infobox-data infobox-col2 | ||
|label5 = {{#if: {{{ | |label5 = {{#if: {{{mayor|}}} | Mayor }} | ||
|data5 = {{{ | |data5 = {{{mayor|}}} | ||
|rowclass5 = infobox-data infobox-col2 | |rowclass5 = infobox-data infobox-col2 | ||
|label6 = {{#if: {{{ | |label6 = {{#if: {{{mayor|}}} | Key People }} | ||
|data6 = {{{ | |data6 = {{{mayor|}}} | ||
|rowclass6 = infobox-data infobox- | |rowclass6 = infobox-data infobox-col1 | ||
| | |label7 = {{#if: {{{status|}}} | Status }} | ||
|rowclass7 = infobox- | |data7 = {{{status|}}} | ||
|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|Overworld}}} | ||
| | |rowclass22 = infobox-data infobox-col2 | ||
| | |label23 = {{#if: {{{path|}}} | Nether Path}} | ||
| | |data23 = {{{path|}}} | ||
|rowclass23 = infobox-data infobox-col1 | |||
| | |header30 = {{#if: {{{dynmap|}}}{{{discord|}}} | Links}} | ||
| | |rowclass31 = infobox-header | ||
| | |||
| | |label31 = {{#if: {{{dynmap|}}}|[{{{dynmap}}} Dynmap]}} | ||
| | |data131 = | ||
| | |rowclass31 = infobox-data infobox-col2 | ||
|header32 = {{#if: {{{discord|}}}|[{{{discord}}} Discord Server]}} | |||
|data32 = | |||
|rowclass32 = infobox-data infobox-col2 | |||
}}<noinclude> | }}<noinclude> | ||
Line 96: | Line 100: | ||
"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", |
Revision as of 17:42, 7 May 2021
Overworld | |
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 |
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 |