Template:EasyInfobox settlement: Difference between revisions

From The Pinched Universe
Jump to navigation Jump to search
m Fix
m Add Category:{{{name}}}
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox settlement base
<includeonly>{{Infobox settlement
|settlement_type   = {{{settlement_type}}}
| settlement_type     = {{{type|}}}
|official_name     = {{{official_name}}}
| official_name       = {{{official_name|}}}
|name               = {{{name}}}
| name               = {{{name|{{PAGENAMEBASE}}}}}
|native_name       = {{{native_name}}}
| native_name         = {{#if: {{{native_name|}}} | {{#ifeq: {{{native_name}}} | {{{name|{{PAGENAMEBASE}}}}} | | {{{native_name}}} }} }}
|other_name         = {{{other_name}}}
| other_name         = {{#if: {{{nickname|}}} | ''{{{nickname|}}}'' }}
|motto             = {{{motto}}}
| named_for          = {{#if: {{{name_origin|}}} | {{{name_origin|}}} }}
|image_skyline     = {{#if: {{{image_skyline|}}} | {{{image_skyline}}} | Aerial view of {{{name}}}.png }}
| motto               = {{{motto|}}}
|image_caption     = {{#if: {{{image_caption|}}} | {{{image_caption}}} | Aerial view }}
| population_demonym  = {{{demonym|}}}
|image_flag         = {{{image_flag|}}}
| population_demonyms = {{{demonyms|}}}
|image_seal         = {{#if: {{{image_seal|}}} | {{{image_seal}}} | Seal of {{{name}}}.png }}
| image_skyline       = {{#if: {{{image_skyline|}}} | {{{image_skyline|}}} | {{#ifexist: File:Aerial view of {{{name|{{PAGENAMEBASE}}}}}.png | Aerial view of {{{name|{{PAGENAMEBASE}}}}}.png }} }}
|subdivision_type   = {{{subdivision_type}}}
| image_caption       = {{#if: {{{image_caption|}}} | {{{image_caption|}}} | Aerial view }}
|subdivision_name  = {{{subdivision_name}}}
| image_flag         = {{{image_flag|}}}
|subdivision_type1 = {{{subdivision_type1}}}
| image_seal         = {{#if: {{{image_seal|}}} | {{{image_seal|}}} | {{#ifexist: File:Seal of {{{name|{{PAGENAMEBASE}}}}}.png | Seal of {{{name|{{PAGENAMEBASE}}}}}.png }} }}
|subdivision_name1 = {{{subdivision_name1}}}
| subdivision_type   = [[wikipedia:Country|Country]]
|subdivision_type2 = {{{subdivision_type2}}}
| subdivision_name    = {{#if: {{{country|}}} | {{flag|{{{country|}}}}} | Unknown }}
|subdivision_name2 = {{{subdivision_name2}}}
| subdivision_type1   = {{{subdivision_type1|}}}
|founder           = {{{founder}}}
| subdivision_name1   = {{{subdivision_name1|}}}
|leader_title       = {{{leader_title}}}
| subdivision_type2   = {{{subdivision_type2|}}}
|leader_name       = {{{leader_name}}}
| subdivision_name2   = {{{subdivision_name2|}}}
|established_title1 = {{{established_title1}}}
| subdivision_type3  = {{{subdivision_type3|}}}
|established_date1  = {{Date|{{{established_date1}}}}}
| subdivision_name3  = {{{subdivision_name3|}}}
|established_title2 = {{{established_title2}}}
| founder             = {{{founded_by|}}}
|established_date2 = {{Date|{{{established_date2}}}}}
| leader_title       = {{nowrap|{{#if: {{{leader_title|}}} | [[{{{leader_title}}}]] }}}}
|population_as_of   = {{Date|{{{population_as_of}}}}}
| leader_name         = {{{leader_name|}}}
|population         = {{{population}}}
| established_title1 = {{#if: {{{founded_title|}}} | {{{founded_title|}}} | Founded on }}
|timezone           = {{{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>

Latest revision as of 17:02, 1 July 2024