Template:Infobox Place: Difference between revisions

mNo edit summary
mNo edit summary
 
(8 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   = Municipality
 
| data2   = {{{municipality}}}
| label3   = Island
| label3  = World
| data3   = {{#if:{{{island|}}}|[[island::{{{island}}}]]|}}
| data3    = {{{world}}}
 
| 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 30: Line 44:
"suggested": true
"suggested": true
},
},
        "province": {
            "description": "The province where the place is in.",
            "type": "string",
            "suggested": true
        },
         "municipality": {
         "municipality": {
             "description": "The municipality where the place is in.",
             "description": "The province where the place is in.",
             "type": "string",
             "type": "string",
             "suggested": true
             "suggested": true