Template:EasyInfobox settlement: Difference between revisions
Jump to navigation
Jump to search
m Force the Country field |
Improvements and fixes |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox settlement base | <includeonly>{{Infobox settlement base | ||
|settlement_type = {{{settlement_type}}} | |settlement_type = {{{settlement_type|}}} | ||
|official_name = {{{official_name}}} | |official_name = {{{official_name|}}} | ||
|name = {{{name}}} | |name = {{{name|}}} | ||
|native_name = {{{native_name}}} | |native_name = {{{native_name|}}} | ||
|other_name = {{{other_name}}} | |other_name = {{{other_name|}}} | ||
|motto = {{{motto}}} | |motto = {{{motto|}}} | ||
|image_skyline = {{#if: {{{image_skyline|}}} | {{{image_skyline}}} | Aerial view of {{{name}}}.png }} | |image_skyline = {{#if: {{{image_skyline|}}} | {{{image_skyline}}} | Aerial view of {{{name}}}.png }} | ||
|image_caption = {{#if: {{{image_caption|}}} | {{{image_caption}}} | Aerial view }} | |image_caption = {{#if: {{{image_caption|}}} | {{{image_caption}}} | Aerial view }} | ||
Line 11: | Line 11: | ||
|image_seal = {{#if: {{{image_seal|}}} | {{{image_seal}}} | Seal of {{{name}}}.png }} | |image_seal = {{#if: {{{image_seal|}}} | {{{image_seal}}} | Seal of {{{name}}}.png }} | ||
|subdivision_type = [[wikipedia:Country|Country]] | |subdivision_type = [[wikipedia:Country|Country]] | ||
|subdivision_name = {{#if: {{{country}}} | {{flag|{{{country}}}}} | Unknown }} | |subdivision_name = {{#if: {{{country|}}} | {{flag|{{{country}}}}} | Unknown }} | ||
|subdivision_type1 = {{{subdivision_type1}}} | |subdivision_type1 = {{{subdivision_type1|}}} | ||
|subdivision_name1 = {{{subdivision_name1}}} | |subdivision_name1 = {{{subdivision_name1|}}} | ||
|subdivision_type2 = {{{subdivision_type2}}} | |subdivision_type2 = {{{subdivision_type2|}}} | ||
|subdivision_name2 = {{{subdivision_name2}}} | |subdivision_name2 = {{{subdivision_name2|}}} | ||
|subdivision_type3 = {{{subdivision_type3}}} | |subdivision_type3 = {{{subdivision_type3|}}} | ||
|subdivision_name3 = {{{subdivision_name3}}} | |subdivision_name3 = {{{subdivision_name3|}}} | ||
|founder = {{{founder}}} | |founder = {{{founder|}}} | ||
|leader_title = {{{leader_title}}} | |leader_title = {{{leader_title|}}} | ||
|leader_name = {{{leader_name}}} | |leader_name = {{{leader_name|}}} | ||
|established_title1 = {{{established_title1}}} | |established_title1 = {{{established_title1|}}} | ||
|established_date1 = {{Date|{{{established_date1}}}}} | |established_date1 = {{#if: {{{established_date1|}}} | {{Date|{{{established_date1}}}}} | }} | ||
|established_title2 = {{{established_title2}}} | |established_title2 = {{{established_title2|}}} | ||
|established_date2 = {{Date|{{{established_date2}}}}} | |established_date2 = {{#if: {{{established_date2|}}} | {{Date|{{{established_date2}}}}} | }} | ||
|population_as_of = {{Date|{{{population_as_of}}}}} | |population_as_of = {{#if: {{{population_as_of|}}} | {{Date|{{{population_as_of}}}}} | }} | ||
|population = {{{population}}} | |population = {{{population|}}} | ||
|timezone = {{{timezone}}} | |timezone = {{{timezone|}}} | ||
}}[[Category:Settlements]]</includeonly> | }} | ||
[[Category:Settlements]] | |||
{{#if {{{country|}}} | [[Category:Settlements in {{{country}}}]] | }} | |||
</includeonly> |