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 Build: Difference between revisions

Template page
More languages
No edit summary
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 27: Line 27:
               | {{padleft:{{{creation_month}}}|2}}
               | {{padleft:{{{creation_month}}}|2}}
               }}.{{{creation_year}}}}}}}
               }}.{{{creation_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|}}}|}}<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]


| header4 = Characteristics
| label4 = World
| data4 = {{#switch:{{lc:{{{world|Terrafirma}}}}}
| luna=[[Luna]]
| terrafirma=[[Terrafirma]]
| #default=[[Terrafirma]]
}}
 
| header5 = Characteristics
 
| label6 = Contributors
| data6 = {{{contributors|}}}


| label5  = Contributors
| label7 = Width (X)
| data5  = {{{contributors|}}}
| data7 = {{{width|}}}


| label6  = Width (X)
| label8 = Length (Z)
| data6  = {{{width|}}}
| data8 = {{{length|}}}


| label7  = Length (Z)
| label9 = Category
| data7  = {{{length|}}}
| data9 = [[:Category:{{{category|}}}|{{{category|}}}]]


| label8  = Category
| header10 = Transport
|  data8  = [[Category:{{{category|}}}|{{{category|}}}]]


| header9 = Transport
| label11 = Road Connection
| data11 = {{{road|No}}}


| label10 = Road Connection
| label12 = Rail Connection
| data10 = {{{road|No}}}
| data12 = {{{rail|No}}}


| label11 = Rail Connection
| label13 = Boat Route
| data11 = {{{rail|No}}}
| data13 = {{{boat_route|No}}}


| label12 = Boat Route
| label14 = Warp
| data12 = {{{boat_route|No}}}
| data14 = {{#ifeq:{{lc:{{{warp|}}}}}|yes|Yes[[Category:Warps|{{uc:{{{name|}}}}}]]|No}}


| label13 = Warp
| label15 = Warp Name
|  data13 = {{#ifeq:{{lc:{{{warp|}}}}}|yes|Yes[[Category:Warps|{{uc:{{{name|}}}}}]]|No}}
| data15 = {{{warp_name|}}}
| label14 = Warp Name
| data14 = {{{warp_name|}}}
}}
}}
[[Category:Builds]]</includeonly>
[[Category:Builds]][[Category:{{{category|}}}]]</includeonly>
<noinclude><templatedata>
<noinclude><templatedata>
{
{
Line 87: 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 129: 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 177: Line 187:
"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",
"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.",
"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",
"type": "wiki-page-name",
"default": "Terrafirma",
"suggested": true
"suggested": true
}
}
Line 193: Line 211:
"ycoord",
"ycoord",
"zcoord",
"zcoord",
"world",
"contributors",
"contributors",
"width",
"width",

Latest revision as of 10:27, 30 May 2026

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

Fileoptional
Image captioncaption

Caption for the image

Stringoptional
Ownerowner

Owner of the build

Example
{{playerhead|SiOtter}}
Stringoptional
Build Typecategory

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.
Stringrequired
Creation Yearcreation_year

Year the build was created

Numberoptional
Creation Monthcreation_month

Month the build was created (e.g., Jan, Feb, etc. or number)

Stringoptional
Creation Daycreation_day

Day of the month the build was created

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
Worldworld

The world in which the build sits

Default
Terrafirma
Example
Terrafirma
Page namesuggested
Contributorscontributors

People, who helped build the build

Example
{{playerhead|SiOtter}}, {{playerhead|Xeon}}
Stringoptional
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