Template:Infobox Place: Difference between revisions

Undo revision 898 by Minionguyjpro (talk)
Tag: Undo
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:
| title    = {{PAGENAME}}
| title    = {{PAGENAME}}


{{#vardefine:minimap|{{{minimap}}}}}
| image1  = {{{flag|}}}
| image    = <iframe src="https://bluemap.minionguyjpro.dedyn.io/{{#var:minimap}}" height="300"></iframe>
| caption1 = Flag of {{PAGENAME}}
| caption    = Minimap view of {{PAGENAME}}  


| label1   = Island
| image2  = {{{minimap|}}}
| data1   = {{{island}}}
| caption2 = Minimap view of {{PAGENAME}}
| label2   = World
 
| data2   = {{{world}}}
| label3   = Island
| data3   = {{#if:{{{island|}}}|[[island::{{{island}}}]]|}}
 
| label4   = Province
| data4   = {{#if:{{{province|}}}|
  {{#if:{{{province_display|}}}|
    [[{{{province}}}|{{{province_display}}}]]|
    [[{{{province}}}]]
  }}
}}
}}
{{#if:{{{province|}}}|{{#set:province={{{province}}}}}}}
| label4  = Municipality
| data4    = {{#if:{{{municipality|}}}|[[municipality::{{{municipality}}}]]|}}
| label5  = World
| data5    = {{{world}}}
}}{{#if:{{{type|}}}|{{#set: Type = {{{type}}} }}}}
<noinclude>
<templatedata>
{
"params": {
"name": {
"required": true
},
"minimap": {
"description": "Value for x, z, y and rotation to show a minimap at.",
"type": "string",
"suggested": true
},
"island": {
"description": "The island where the place is on.",
"type": "string",
"suggested": true
},
        "province": {
            "description": "The province where the place is in.",
            "type": "string",
            "suggested": true
        },
        "municipality": {
            "description": "The province where the place is in.",
            "type": "string",
            "suggested": true
        },
"world": {
"description": "The world that the place is on.",
"type": "string",
"suggested": true
}
},
"format": "block",
"description": "This template is made for use as infobox for wiki pages talking about places."
}
</templatedata>
</noinclude>