Template:EasyInfobox settlement: Difference between revisions
Jump to navigation
Jump to search
m Indentation |
m Add Category:{{{name}}} |
||
(32 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 }} | ||
| | | 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|}}} | ||
|founder | | subdivision_name1 = {{{subdivision_name1|}}} | ||
|leader_title | | subdivision_type2 = {{{subdivision_type2|}}} | ||
|leader_name | | subdivision_name2 = {{{subdivision_name2|}}} | ||
|established_title1 = {{{ | | subdivision_type3 = {{{subdivision_type3|}}} | ||
|established_date1 = {{Date|{{{established_date1}}}}} | | subdivision_name3 = {{{subdivision_name3|}}} | ||
| | | founder = {{{founded_by|}}} | ||
|established_date2 | | leader_title = {{nowrap|{{#if: {{{leader_title|}}} | [[{{{leader_title}}}]] }}}} | ||
|population_as_of | | leader_name = {{{leader_name|}}} | ||
|population | | established_title1 = {{#if: {{{founded_title|}}} | {{{founded_title|}}} | Founded on }} | ||
|timezone | | established_date1 = {{#if: {{{founded_date|}}} | {{Date|{{{founded_date|}}}}} | }} | ||
}}[[Category:Settlements]]</includeonly> | | established_title2 = {{{established_title1|}}} | ||
| established_date2 = {{#if: {{{established_date1|}}} | {{Date|{{{established_date1|}}}}} | }} | |||
| established_title3 = {{{established_title2|}}} | |||
| established_date3 = {{#if: {{{established_date2|}}} | {{Date|{{{established_date2|}}}}} | }} | |||
| population_as_of = {{#if: {{{population_as_of|}}} | {{Date|{{{population_as_of|}}}}} | }} | |||
| 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> |