Template:Infobox Settlement: Difference between revisions
More languages
More actions
m Fix the infobox |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Skeleton Infobox | ||
| name = | | name = | ||
| title = {{{name|}}} | | title = {{{name|}}} | ||
| Line 28: | Line 28: | ||
}}.{{{foundation_year}}}}}}} | }}.{{{foundation_year}}}}}}} | ||
| label4 = Coördinates | | label4 = Coördinates | ||
| data4 | | 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 | | label5 = World | ||
| data5 = | | data5 = {{#switch:{{lc:{{{world|Terrafirma}}}}} | ||
| luna=Luna | | luna=[[Luna]] | ||
| terrafirma=Terrafirma | | terrafirma=[[Terrafirma]] | ||
| #default=Terrafirma | | #default=[[Terrafirma]] | ||
}} | }} | ||
| header6 = Statistics | | header6 = Statistics | ||
| Line 102: | Line 92: | ||
"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 194: | Line 185: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"default": "Terrafirma", | "default": "Terrafirma", | ||
"autovalue": " | "autovalue": "", | ||
"suggested": true | "suggested": true | ||
} | } | ||
Latest revision as of 10:27, 30 May 2026
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 | File | 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 |
| World | world | The world in which the settlement resides
| Page name | suggested |
| 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 isn't the town name straight up | String | optional |