Template:Infobox Build: Difference between revisions
More languages
More actions
Added map links |
Add a world field |
||
| Line 27: | Line 27: | ||
| {{padleft:{{{creation_month}}}|2}} | | {{padleft:{{{creation_month}}}|2}} | ||
}}.{{{creation_year}}}}}}} | }}.{{{creation_year}}}}}}} | ||
| label3 | | label3 = Coördinates | ||
| | | data3 = {{#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] | ||
| | | label4 = World | ||
| data4 = {{#switch:{{lc:{{{world|Terrafirma}}}}} | |||
| luna=[[Luna]] | |||
| terrafirma=[[Terrafirma]] | |||
| #default=[[Terrafirma]] | |||
}} | |||
| header5 = Characteristics | |||
| label6 = Contributors | |||
| data6 = {{{contributors|}}} | |||
| | | label7 = Width (X) | ||
| | | data7 = {{{width|}}} | ||
| | | label8 = Length (Z) | ||
| | | data8 = {{{length|}}} | ||
| | | label9 = Category | ||
| | | data9 = [[:Category:{{{category|}}}|{{{category|}}}]] | ||
| | | header10 = Transport | ||
| | | label11 = Road Connection | ||
| data11 = {{{road|No}}} | |||
| | | label12 = Rail Connection | ||
| | | data12 = {{{rail|No}}} | ||
| | | label13 = Boat Route | ||
| | | data13 = {{{boat_route|No}}} | ||
| | | label14 = Warp | ||
| | | data14 = {{#ifeq:{{lc:{{{warp|}}}}}|yes|Yes[[Category:Warps|{{uc:{{{name|}}}}}]]|No}} | ||
| | | label15 = Warp Name | ||
| data15 = {{{warp_name|}}} | |||
| | |||
}} | }} | ||
[[Category:Builds]][[Category:{{{category|}}}]]</includeonly> | [[Category:Builds]][[Category:{{{category|}}}]]</includeonly> | ||
| Line 179: | Line 187: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "The world in which the build sits", | |||
"example": "Terrafirma", | |||
"type": "wiki-page-name", | |||
"default": "Terrafirma", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
| Line 193: | Line 209: | ||
"ycoord", | "ycoord", | ||
"zcoord", | "zcoord", | ||
"world", | |||
"contributors", | "contributors", | ||
"width", | "width", | ||
Revision as of 20:16, 24 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 build | String | optional |
| Build Type | category | The category to which, this build belongs to. Use a general, preferable non countable noun to describe it. If the noun is countable, use its plural form
| String | required |
| Creation Year | creation_year | Year the build was created | Number | optional |
| Creation Month | creation_month | Month the build was created (e.g., Jan, Feb, etc. or number) | String | optional |
| Creation Day | creation_day | Day of the month the build was created | 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 build sits
| Page name | suggested |
| Contributors | contributors | People, who helped build the build | String | 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 |