Template:Infobox build: Difference between revisions

From ArdakazMC Wiki
Jump to navigation Jump to search
Import>Ardakaz
No edit summary
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|color=99CCFF
|color=E5E5FF
|title={{{title|{{PAGENAME}}}}}
|title={{{title|{{PAGENAME}}}}}
|image={{{image|}}}
|image={{{image|}}}
Line 11: Line 11:
|param3-content={{{construction-started|}}}
|param3-content={{{construction-started|}}}
|param4=Location
|param4=Location
|param4-content={{#if:{{{x|}}}{{{z|}}} | [http://ardakazmc.gleeze.com:8120/?worldname={{{world|world}}}&mapname=surface&zoom=5&x={{{x|}}}&y=64&z={{{z|}}} {{{x|}}} {{{z|}}}] | }}
|param4-content={{#if:{{{x|}}}{{{z|}}} | {{Maplink|{{{x}}}|{{{z}}}|{{{world|world}}}}} | }}
}}
}}
<includeonly>
<includeonly> [[Category:Builds]] {{#if:{{{image|}}} | | [[Category:Pages_in_need_of_images]]}} {{#if:{{{x|}}}{{{z|}}} | | [[Category:Pages_in_need_of_coordinates]]}} </includeonly>
[[Category:Builds]]
<noinclude>
{{#if {{{image|}} || [[Category:Pages_in_need_of_images]]}
<templatedata>
{{#if {{{x|}}{{{y|}} || [[Category:Pages_in_need_of_coordinates]]}
{
</includeonly>
"params": {
"title": {
"label": "Title",
"example": "Example House",
"type": "string"
},
"image": {
"label": "Image",
"example": "Example_House.png",
"type": "string",
"suggested": true
},
"caption": {
"label": "Caption",
"example": "Home sweet home",
"type": "string"
},
"owner": {
"label": "Owner",
"example": "{{Player|Ardakaz}}",
"type": "content",
"suggested": true
},
"contributors": {
"label": "Contributors",
"example": "{{Player|Karhunhammas}}, {{Player|LeGrey}}",
"type": "content"
},
"construction-started": {
"label": "Construction started",
"example": "22 December 2024",
"type": "date"
},
"x": {
"label": "X",
"type": "number",
"suggested": true
},
"z": {
"label": "Z",
"type": "number",
"suggested": true
},
"world": {
"label": "World",
"type": "string",
"suggestedvalues": [
"world",
"world_nether",
"world_the_end"
]
}
},
"description": "An infobox template for builds.",
"paramOrder": [
"title",
"image",
"caption",
"owner",
"contributors",
"construction-started",
"x",
"z",
"world"
],
"format": "block"
}
</templatedata>
</noinclude>
<noinclude>[[Category:Infobox_templates]]</noinclude>

Latest revision as of 14:34, 20 March 2025

Infobox build


An infobox template for builds.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

no description

Example
Example House
Stringoptional
Imageimage

no description

Example
Example_House.png
Stringsuggested
Captioncaption

no description

Example
Home sweet home
Stringoptional
Ownerowner

no description

Example
{{Player|Ardakaz}}
Contentsuggested
Contributorscontributors

no description

Example
{{Player|Karhunhammas}}, {{Player|LeGrey}}
Contentoptional
Construction startedconstruction-started

no description

Example
22 December 2024
Dateoptional
Xx

no description

Numbersuggested
Zz

no description

Numbersuggested
Worldworld

no description

Suggested values
world world_nether world_the_end
Stringoptional