Jump to content

Template:Infobox build: Difference between revisions

Import>Ardakaz
mNo edit summary
mNo edit summary
 
(13 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|}}}
|caption={{{caption|}}}
|param1=Owner
|param1=Owner
|param1-content={{{owner|}}}
|param1-content={{{owner|}}}
Line 10: 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>
</includeonly>
<templatedata>
{
"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>