Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Settlement: Difference between revisions

Template page
More languages
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Skeleton Infobox
| name    =  
| name    =  
| title    = {{{name|}}}
| title    = {{{name|}}}
| image   = {{{image|}}}
| image = {{#if:{{{image|}}}
| [[File:{{{image}}}|300px]]
| [[File:No-Image-Placeholder.svg|300px]]
}}
| caption  = {{{caption|}}}
| caption  = {{{caption|}}}


Line 28: Line 31:
               }}.{{{foundation_year}}}}}}}
               }}.{{{foundation_year}}}}}}}
| label4  = Coördinates
| label4  = Coördinates
| data4 = {{#if:{{{xcoord|}}}|X = {{{xcoord|}}} <br /> Y = {{{ycoord|}}} <br /> Z = {{{zcoord|}}}|}}
| data4 = {{#if:{{{xcoord|}}}|X = {{{xcoord|}}}<br />Y = {{{ycoord|}}}<br />Z = {{{zcoord|}}}|}}<br />[http://map.moxiecraft.org:{{#switch:{{lc:{{{world|Terrafirma}}}}}|luna=25580|terrafirma=26346|#default=26346}}/#{{#switch:{{lc:{{{world|Terrafirma}}}}}|luna=luna|terrafirma=terrafirma|#default=terrafirma}}:{{{xcoord|}}}:{{{ycoord|}}}:{{{zcoord|}}}:1500:0:0:0:0:perspective Map Link]
 
| label5  = World
| data5  = {{#switch:{{lc:{{{world|Terrafirma}}}}}
            | luna=[[Luna]]
            | terrafirma=[[Terrafirma]]
            | #default=[[Terrafirma]]
            }}
 
| header6 = Statistics


| header5 = Statistics
| label7  = Population
| data7  = {{{population|}}}


| label6 = Population
| label8 = Width (X)
| data6  = {{{population|}}}
| data8  = {{{width|}}}


| label7 = Width (X)
| label9 = Length (Z)
| data7  = {{{width|}}}
| data9  = {{{length|}}}


| label8  = Length (Z)
| header10 = Transport
|  data8  = {{{length|}}}


| header9 = Transport
| label11 = Road Connection
| data11  = {{{road|No}}}


| label10 = Road Connection
| label12 = Rail Connection
data10 = {{{road|No}}}
| data12 = {{{rail|No}}}


| label11 = Rail Connection
| label13 = Boat Route
data11 = {{{rail|No}}}
| data13 = {{{boat_route|No}}}


| label12 = Boat Route
| label14 = Warp
data12 = {{{boat_route|No}}}
| data14 = {{#ifeq:{{lc:{{{warp|}}}}}|yes|Yes[[Category:Warps|{{uc:{{{name|}}}}}]]|No}}


| label13 = Warp
| label15 = Warp Name
|  data13 = {{#ifeq:{{lc:{{{warp|}}}}}|yes|Yes[[Category:Warps|{{uc:{{{name|}}}}}]]|No}}
| data15 = {{{warp_name|}}}
| label14 = Warp Name
data14 = {{{warp_name|}}}
}}
}}
[[Category:Settlements]]</includeonly>
[[Category:Settlements]]</includeonly>
Line 72: Line 83:
"description": "Filename of an image to display",
"description": "Filename of an image to display",
"type": "wiki-file-name",
"type": "wiki-file-name",
"required": false
"required": false,
"autovalue": "",
"suggested": true
},
},
"caption": {
"caption": {
Line 84: Line 97:
"description": "Owner of the settlement",
"description": "Owner of the settlement",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "{{playerhead|SiOtter}}"
},
},
"foundation_year": {
"foundation_year": {
Line 169: Line 183:
"type": "string",
"type": "string",
"required": false
"required": false
},
"world": {
"label": "World",
"description": "The world in which the settlement resides",
"example": "Terrafirma",
"type": "wiki-page-name",
"default": "Terrafirma",
"autovalue": "",
"suggested": true
}
}
}
},
"paramOrder": [
"name",
"image",
"caption",
"owner",
"foundation_year",
"foundation_month",
"foundation_day",
"xcoord",
"ycoord",
"zcoord",
"world",
"population",
"width",
"length",
"road",
"rail",
"boat_route",
"warp",
"warp_name"
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 02:30, 30 July 2026

Infobox for a settlement on the server

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Name of the settlement

Stringrequired
Imageimage

Filename of an image to display

Auto value
Filesuggested
Image captioncaption

Caption for the image

Stringoptional
Ownerowner

Owner of the settlement

Example
{{playerhead|SiOtter}}
Stringoptional
Foundation Yearfoundation_year

Year the settlement was founded

Numberoptional
Foundation Monthfoundation_month

Month the settlement was founded (e.g., Jan, Feb, etc. or number)

Stringoptional
Foundation Dayfoundation_day

Day of the month the settlement was founded

Numberoptional
X Coordinatexcoord

X coordinate of the settlement

Numberrequired
Y Coordinateycoord

Y coordinate of the settlement

Numberrequired
Z Coordinatezcoord

Z coordinate of the settlement

Numberrequired
Worldworld

The world in which the settlement resides

Default
Terrafirma
Example
Terrafirma
Auto value
Page namesuggested
Populationpopulation

Population of the settlement

Numberoptional
Width (X)width

Width of the area in the X direction

Numberoptional
Length (Z)length

Length of the area in the Z direction

Numberoptional
Road Connectionroad

Indicates if there is a road connection (Yes/No)

Stringoptional
Rail Connectionrail

Indicates if there is a rail connection (Yes/No)

Stringoptional
Boat Routeboat_route

Indicates if there is a boat route at the settlement(Yes/No)

Stringoptional
Warpwarp

Indicates if the settlement has a warp (Yes/No).

Stringoptional
Warp Namewarp_name

Name of the warp, if isn't the town name straight up

Stringoptional