Template:Infobox City Comprehensive: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
Edgard (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
| colspan="2" style="text-align:center;" | <big>'''{{{name}}}'''</big>
| colspan="2" style="text-align:center;" | <big>'''{{{name}}}'''</big>
|-
|-
|colspan=2 align=center | [[File:{{{image1}}}|270px|frameless]]
|colspan=2 align=center | [[File:{{{image}}}|270px|frameless]]
|-
|-
| colspan="2" style="text-align:center;" | {{{imagetext}}}
| colspan="2" style="text-align:center;" | {{{imagetext}}}
Line 30: Line 30:
|-
|-
|align=left |'''Abbreviation''' ||align=left | {{{abbrev}}}
|align=left |'''Abbreviation''' ||align=left | {{{abbrev}}}
|}<noinclude>
|}
<noinclude>{{Documentation
|content = Place the following code at the top of a city article to display the infobox:
 
<pre>
{{Infobox City Comprehensive
| name        =
| image        =
| imagetext    =
| motto        =
| map          =
| nation      =
| districtname =
| district    =
| lang        =
| demnoun      =
| demadj      =
| govtype      =
| leadertitle  =
| leader      =
| estdate      =
| pop          =
| abbrev      =
}}
</pre>
 
== Parameters ==
 
* '''name''': The name of the city (displayed prominently at the top).
* '''image''': Name of the image file (without "File:" prefix) showing a notable view or symbol of the city.
* '''imagetext''': Caption text for the image.
* '''motto''': The city's motto, if any.
* '''map''': Name of a map image showing the city's location.
* '''nation''': The nation in which the city is located; used with {{tl|team flag}} for flag display.
* '''districtname''': Label for the subdivision the city belongs to (e.g., "Province", "State", "Region").
* '''district''': Name of the subdivision the city belongs to.
* '''lang''': Official language(s) of the city.
* '''demnoun''': Demonym noun for residents (e.g., "New Yorker").
* '''demadj''': Adjective form of the demonym (e.g., "New Yorkese").
* '''govtype''': Type of government or administrative structure.
* '''leadertitle''': Title of the city's head (e.g., "Mayor").
* '''leader''': Name of the current leader.
* '''estdate''': Date of establishment or founding.
* '''pop''': Latest population count or estimate.
* '''abbrev''': Official or common abbreviation of the city's name.
}}
[[Category:City templates]] [[Category:Infobox templates]]
[[Category:City templates]] [[Category:Infobox templates]]
</noinclude>
</noinclude>
[[Category:Cities]]
[[Category:Cities]]

Latest revision as of 02:40, 13 May 2025

{{{name}}}
[[File:{{{image}}}|270px|frameless]]
{{{imagetext}}}
Motto: {{{motto}}}
[[File:{{{map}}}|270px|Location of {{{name}}}|frameless]]
Nation [[File:{{{nation}}} flag.png|border|23px|{{{nation}}}|link=]] [[{{{nation}}}]]
{{{districtname}}} {{{district}}}
Official language(s) {{{lang}}}
Demonym {{{demnoun}}}
 - Adjective {{{demadj}}}
Government {{{govtype}}}
  {{{leadertitle}}} {{{leader}}}
Establishment {{{estdate}}}
Population {{{pop}}}
Abbreviation {{{abbrev}}}
Template documentation

Place the following code at the top of a city article to display the infobox:

{{Infobox City Comprehensive
| name         = 
| image        = 
| imagetext    = 
| motto        = 
| map          = 
| nation       = 
| districtname = 
| district     = 
| lang         = 
| demnoun      = 
| demadj       = 
| govtype      = 
| leadertitle  = 
| leader       = 
| estdate      = 
| pop          = 
| abbrev       = 
}}

Parameters

  • name: The name of the city (displayed prominently at the top).
  • image: Name of the image file (without "File:" prefix) showing a notable view or symbol of the city.
  • imagetext: Caption text for the image.
  • motto: The city's motto, if any.
  • map: Name of a map image showing the city's location.
  • nation: The nation in which the city is located; used with {{team flag}} for flag display.
  • districtname: Label for the subdivision the city belongs to (e.g., "Province", "State", "Region").
  • district: Name of the subdivision the city belongs to.
  • lang: Official language(s) of the city.
  • demnoun: Demonym noun for residents (e.g., "New Yorker").
  • demadj: Adjective form of the demonym (e.g., "New Yorkese").
  • govtype: Type of government or administrative structure.
  • leadertitle: Title of the city's head (e.g., "Mayor").
  • leader: Name of the current leader.
  • estdate: Date of establishment or founding.
  • pop: Latest population count or estimate.
  • abbrev: Official or common abbreviation of the city's name.