Template:Infobox Build: Difference between revisions
More languages
More actions
Created page with "<includeonly>{{Infobox | name = | title = {{{name|}}} | image = {{{image|}}} | caption = {{{caption|}}} | header1 = General info | label1 = Owner | data1 = {{{owner|}}} | label2 = Foundation date | data2 = {{#if:{{{creation_year|}}}{{{creation_month|}}}{{{creation_day|}}} | {{#formatdate:{{{creation_day}}}.{{#switch:{{#sub:{{lc:{{{creation_month}}}}}|0|3}} | jan = 01 | feb = 02 | mar = 03..." |
No edit summary |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Skeleton Infobox | ||
| name = | | name = | ||
| title = {{{name|}}} | | title = {{{name|}}} | ||
| 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 | | label6 = Contributors | ||
| | | data6 = {{{contributors|}}} | ||
| label7 | | label7 = Width (X) | ||
| | | data7 = {{{width|}}} | ||
| | | label8 = Length (Z) | ||
| data8 = {{{length|}}} | |||
| | | label9 = Category | ||
| | | data9 = [[:Category:{{{category|}}}|{{{category|}}}]] | ||
| | | header10 = Transport | ||
| | | label11 = Road Connection | ||
| | | data11 = {{{road|No}}} | ||
| label13 = | | label12 = Rail Connection | ||
| | | data12 = {{{rail|No}}} | ||
| label14 = Warp Name | |||
| | | 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: | [[Category:Builds]][[Category:{{{category|}}}]]</includeonly> | ||
<noinclude><templatedata> | <noinclude><templatedata> | ||
{ | { | ||
| Line 84: | Line 95: | ||
"description": "Owner of the build", | "description": "Owner of the build", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false, | ||
"example": "{{playerhead|SiOtter}}" | |||
}, | }, | ||
"creation_year": { | "creation_year": { | ||
| Line 126: | Line 138: | ||
"description": "People, who helped build the build", | "description": "People, who helped build the build", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false, | ||
"example": "{{playerhead|SiOtter}}, {{playerhead|Xeon}}" | |||
}, | }, | ||
"width": { | "width": { | ||
| Line 169: | Line 182: | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | |||
"category": { | |||
"label": "Build Type", | |||
"description": "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", | |||
"example": "Infrastructure; Dungeons; Statues; etc.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "The world in which the build sits", | |||
"example": "Terrafirma", | |||
"type": "wiki-page-name", | |||
"default": "Terrafirma", | |||
"suggested": true | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"caption", | |||
"owner", | |||
"category", | |||
"creation_year", | |||
"creation_month", | |||
"creation_day", | |||
"xcoord", | |||
"ycoord", | |||
"zcoord", | |||
"world", | |||
"contributors", | |||
"width", | |||
"length", | |||
"road", | |||
"rail", | |||
"boat_route", | |||
"warp", | |||
"warp_name" | |||
] | |||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
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 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 |