Template:EasyInfobox settlement: Difference between revisions
Jump to navigation
Jump to search
m Add [[Category:{{{country}}}]] if available |
m Add Category:{{{name}}} |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox settlement | <includeonly>{{Infobox settlement | ||
|settlement_type | | settlement_type = {{{type|}}} | ||
|official_name | | official_name = {{{official_name|}}} | ||
|name | | name = {{{name|{{PAGENAMEBASE}}}}} | ||
|native_name | | native_name = {{#if: {{{native_name|}}} | {{#ifeq: {{{native_name}}} | {{{name|{{PAGENAMEBASE}}}}} | | {{{native_name}}} }} }} | ||
|other_name | | other_name = {{#if: {{{nickname|}}} | ''{{{nickname|}}}'' }} | ||
|motto | | named_for = {{#if: {{{name_origin|}}} | {{{name_origin|}}} }} | ||
|image_skyline | | motto = {{{motto|}}} | ||
|image_caption | | population_demonym = {{{demonym|}}} | ||
|image_flag | | population_demonyms = {{{demonyms|}}} | ||
|image_seal | | image_skyline = {{#if: {{{image_skyline|}}} | {{{image_skyline|}}} | {{#ifexist: File:Aerial view of {{{name|{{PAGENAMEBASE}}}}}.png | Aerial view of {{{name|{{PAGENAMEBASE}}}}}.png }} }} | ||
|subdivision_type | | image_caption = {{#if: {{{image_caption|}}} | {{{image_caption|}}} | Aerial view }} | ||
|subdivision_name | | image_flag = {{{image_flag|}}} | ||
|subdivision_type1 | | image_seal = {{#if: {{{image_seal|}}} | {{{image_seal|}}} | {{#ifexist: File:Seal of {{{name|{{PAGENAMEBASE}}}}}.png | Seal of {{{name|{{PAGENAMEBASE}}}}}.png }} }} | ||
|subdivision_name1 | | subdivision_type = [[wikipedia:Country|Country]] | ||
|subdivision_type2 | | subdivision_name = {{#if: {{{country|}}} | {{flag|{{{country|}}}}} | Unknown }} | ||
|subdivision_name2 | | subdivision_type1 = {{{subdivision_type1|}}} | ||
|subdivision_type3 | | subdivision_name1 = {{{subdivision_name1|}}} | ||
|subdivision_name3 | | subdivision_type2 = {{{subdivision_type2|}}} | ||
|founder | | subdivision_name2 = {{{subdivision_name2|}}} | ||
|leader_title | | subdivision_type3 = {{{subdivision_type3|}}} | ||
|leader_name | | subdivision_name3 = {{{subdivision_name3|}}} | ||
|established_title1 = {{{ | | founder = {{{founded_by|}}} | ||
|established_date1 = {{#if: {{{established_date1|}}} | {{Date|{{{established_date1|}}}}} | }} | | leader_title = {{nowrap|{{#if: {{{leader_title|}}} | [[{{{leader_title}}}]] }}}} | ||
| | | leader_name = {{{leader_name|}}} | ||
| | | established_title1 = {{#if: {{{founded_title|}}} | {{{founded_title|}}} | Founded on }} | ||
|population_as_of | | established_date1 = {{#if: {{{founded_date|}}} | {{Date|{{{founded_date|}}}}} | }} | ||
|population | | established_title2 = {{{established_title1|}}} | ||
|timezone | | established_date2 = {{#if: {{{established_date1|}}} | {{Date|{{{established_date1|}}}}} | }} | ||
}} | | established_title3 = {{{established_title2|}}} | ||
[[Category:Settlements]] | | established_date3 = {{#if: {{{established_date2|}}} | {{Date|{{{established_date2|}}}}} | }} | ||
{{#if: {{{country|}}} | [[Category:Settlements in {{{country}}}]] [[Category:{{{country}}}]] }} | | population_as_of = {{#if: {{{population_as_of|}}} | {{Date|{{{population_as_of|}}}}} | }} | ||
</includeonly> | | population = {{{population|}}} | ||
| timezone = {{{timezone|}}} | |||
}}<!-- | |||
-->[[Category:Locations]]<!-- | |||
-->{{#if: {{{country|}}} | [[Category:Locations in {{{country}}}]] }}<!-- | |||
-->[[Category:Settlements]]<!-- | |||
-->{{#if: {{{country|}}} | [[Category:Settlements in {{{country}}}]] }}<!-- | |||
-->{{#if: {{{type|}}} | {{#ifeq: {{{type}}} | Capital | | |||
[[Category:Capitals]] | |||
| {{#ifeq: {{{type}}} | City | | |||
[[Category:Cities]] | |||
{{#if: {{{country|}}} | [[Category:Cities in {{{country}}}]] }} | |||
| {{#ifeq: {{{type}}} | Monastery | | |||
[[Category:Monasteries]] | |||
{{#if: {{{country}}} | [[Category:Monasteries in {{{country}}}]] }} | |||
| | |||
[[Category:{{{type}}}s]] | |||
{{#if: {{{country|}}} | [[Category:{{{type}}}s in {{{country}}}]] }} | |||
}}}}}} }}<!-- | |||
-->{{#if: {{{country|}}} | [[Category:{{{country}}}]] }}<!-- | |||
-->[[Category:{{{name|{{PAGENAMEBASE}}}}}]]</includeonly> |