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
Content deleted Content added
Added a settlements category
No edit summary
Line 12: Line 12:
| label2 = Foundation date
| label2 = Foundation date
| data2 = {{#if:{{{foundation_year|}}}{{{foundation_month|}}}{{{foundation_day|}}}
| data2 = {{#if:{{{foundation_year|}}}{{{foundation_month|}}}{{{foundation_day|}}}
| {{#formatdate:{{{foundation_year}}}-{{#switch:{{#sub:{{lc:{{{foundation_month}}}}}|0|3}}
| {{#formatdate:{{{foundation_day}}}.{{#switch:{{#sub:{{lc:{{{foundation_month}}}}}|0|3}}
| jan = 01
| jan = 01
| feb = 02
| feb = 02
Line 26: Line 26:
| dec = 12
| dec = 12
| {{padleft:{{{foundation_month}}}|2}}
| {{padleft:{{{foundation_month}}}|2}}
}}-{{{foundation_day}}}}}}}
}}.{{{foundation_year}}}}}}}
| label3 = Coördinates
| label3 = Coördinates
| data3 = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}
| data3 = {{#if:{{{xcoord|}}}|X={{{xcoord|}}} <br /> Y={{{ycoord|}}} <br /> Z={{{zcoord|}}}|}}

Revision as of 12:44, 3 August 2025

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

Stringoptional
Image captioncaption

Caption for the image

Stringoptional
Ownerowner

Owner of the settlement

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
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 applicable

Stringoptional