Template:Infobox Settlement: Difference between revisions
Template page
More languages
More actions
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:{{{ | | {{#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_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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the settlement | String | required |
Image | image | Filename of an image to display | String | optional |
Image caption | caption | Caption for the image | String | optional |
Owner | owner | Owner of the settlement | String | optional |
Foundation Year | foundation_year | Year the settlement was founded | Number | optional |
Foundation Month | foundation_month | Month the settlement was founded (e.g., Jan, Feb, etc. or number) | String | optional |
Foundation Day | foundation_day | Day of the month the settlement was founded | Number | optional |
X Coordinate | xcoord | X coordinate of the settlement | Number | required |
Y Coordinate | ycoord | Y coordinate of the settlement | Number | required |
Z Coordinate | zcoord | Z coordinate of the settlement | Number | required |
Population | population | Population of the settlement | Number | optional |
Width (X) | width | Width of the area in the X direction | Number | optional |
Length (Z) | length | Length of the area in the Z direction | Number | optional |
Road Connection | road | Indicates if there is a road connection (Yes/No) | String | optional |
Rail Connection | rail | Indicates if there is a rail connection (Yes/No) | String | optional |
Boat Route | boat_route | Indicates if there is a boat route at the settlement(Yes/No) | String | optional |
Warp | warp | Indicates if the settlement has a warp (Yes/No). | String | optional |
Warp Name | warp_name | Name of the warp, if applicable | String | optional |