Template:Infobox Place: Difference between revisions

Small fixes
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
| title    = {{PAGENAME}}
| title    = {{PAGENAME}}


| image    = {{{minimap|}}}
| image1  = {{{flag|}}}
| caption  = Minimap view of {{PAGENAME}}
| caption1 = Flag 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>
<noinclude>
<templatedata>
<templatedata>
Line 19: Line 35:
},
},
"minimap": {
"minimap": {
"description": "IFrame tag to https://bluemap.minionguyjpro.dedyn.io with flat mode and a certain position.",
"description": "Value for x, z, y and rotation to show a minimap at.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 28: Line 44:
"suggested": true
"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": {
"world": {
"description": "The world that the place is on.",
"description": "The world that the place is on.",