Jump to content

Template:Infobox settlement: Difference between revisions

Import>Ardakaz
No edit summary
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
|color=FFDC6B
|color=EBDFEB
|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=4&x={{{x|}}}&y=64&z={{{z|}}} {{{x|}}} {{{z|}}}] | }}
|param4-content={{#if:{{{x|}}}{{{z|}}} | {{Maplink|{{{x}}}|{{{z}}}|{{{world|world}}}}} | }}
}}
}}
<includeonly>
<includeonly> [[Category:Settlements]] {{#if:{{{image|}}} | | [[Category:Pages_in_need_of_images]]}} {{#if:{{{x|}}}{{{z|}}} | | [[Category:Pages_in_need_of_coordinates]]}} </includeonly>
[[Category:Settlements]]
<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": "Exampletown",
"type": "string"
},
"image": {
"label": "Image",
"example": "Exampletown.png",
"type": "string",
"suggested": true
},
"caption": {
"label": "Caption",
"example": "The always growing town",
"type": "string"
},
"founder": {
"label": "Founder",
"example": "Ardakaz",
"type": "string",
"suggested": true
},
"members": {
"label": "Members",
"example": "Karhunhammas, LeGrey",
"type": "string"
},
"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",
"suggestedvalues": [
"world",
"world_nether",
"world_the_end"
]
}
},
"description": "An infobox template for settlements.",
"paramOrder": [
"title",
"image",
"caption",
"founder",
"members",
"construction-started",
"x",
"z",
"world"
],
"format": "block"
}
</templatedata>
</noinclude>
<noinclude>[[Category:Infobox_templates]]</noinclude>