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 |
||
(10 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 11: | Line 11: | ||
|rowclass3 = infobox-data infobox-col2 | |rowclass3 = infobox-data infobox-col2 | ||
|label4 = {{#if: {{{ | |label4 = {{#if: {{{mayor|}}} | Mayor }} | ||
|data4 = {{{ | |data4 = {{{mayor|}}} | ||
|rowclass4 = infobox-data infobox-col2 | |rowclass4 = infobox-data infobox-col2 | ||
|label5 = {{#if: {{{ | |label5 = {{#if: {{{population|}}} | Population }} | ||
|data5 = {{{ | |data5 = {{{population|}}} | ||
|rowclass5 = infobox-data infobox-col2 | |rowclass5 = infobox-data infobox-col2 | ||
|label6 = {{#if: {{{ | |label6 = {{#if: {{{status|}}} | Status }} | ||
|data6 = {{{ | |data6 = {{{status|}}} | ||
|rowclass6 = infobox-data infobox-col1 | |rowclass6 = infobox-data infobox-col1 | ||
|label7 = {{#if: {{{ | |label7 = {{#if: {{{keypeople|}}} | Key People }} | ||
|data7 = {{{ | |data7 = {{{keypeople|}}} | ||
|rowclass7 = infobox-data infobox-col1 | |rowclass7 = infobox-data infobox-col1 | ||
Line 35: | Line 35: | ||
|label22 = {{#if: {{{coordinates|}}}{{{path|}}} | World}} | |label22 = {{#if: {{{coordinates|}}}{{{path|}}} | World}} | ||
|data22 = {{{world}}} | |data22 = {{{world|}}} | ||
|rowclass22 = infobox-data infobox-col2 | |rowclass22 = infobox-data infobox-col2 | ||
Line 46: | Line 46: | ||
|label31 = {{#if: {{{dynmap|}}}|[{{{dynmap}}} Dynmap]}} | |label31 = {{#if: {{{dynmap|}}}|[{{{dynmap}}} Dynmap]}} | ||
|data31 = | |data31 = {{#if: {{{dynmap|}}}| }} | ||
|rowclass31 = infobox-data infobox-col2 | |rowclass31 = infobox-data infobox-col2 | ||
| | |label32 = {{#if: {{{discord|}}}|[{{{discord}}} Discord Server]}} | ||
|data32 = | |data32 = {{#if: {{{discord|}}}| }} | ||
|rowclass32 = infobox-data infobox-col2 | |rowclass32 = infobox-data infobox-col2 | ||
|data33 = {{#if: {{{dynmap|}}}{{{discord|}}} || }} | |||
}}<noinclude> | }}<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 |