Template:CityInfobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox
<infobox>
| title   = {{{name|{{PAGENAME}}}}}
  <title source="name">
| image   = {{#if:{{{image|}}}|[[File:{{{image|}}}|300px]]}}
    <default>{{PAGENAME}}</default>
| caption = {{{image_desc|}}}
  </title>
| image2    = {{#if:{{{image2|}}}|[[File:{{{image2|}}}|300px]]}}
  <image source="image">
| caption2 = {{{image2_desc|}}}
    <caption source="image_desc" />
|header1 =
  </image>
| label1 = Nation
  <data source="nation">
|  data1 = {{{nation|}}}
    <label>Nation</label>
| label2 = Affiliation
  </data>
|  data2 = {{{affiliation|}}}
  <data source="affiliation">
| label3 = Ruler
    <label>Affiliation</label>
|  data3 = {{{ruler|}}}
  </data>
| label5 = Government
  <data source="ruler">
|  data5 = {{{government|}}}
    <label>Ruler</label>
| label6 = Demonym
  </data>
|  data6 = {{{demonym|}}}
  <data source="government">
| label7 = Adjective
    <label>Government</label>
|  data7 = {{{adjective|}}}
  </data>
| label8 = Population
  <data source="demonym">
|  data8 = {{{population|}}}
    <label>Demonym</label>
| label9 = Demographics
  </data>
|  data9 = {{{demographics|}}}
  <data source="adjective">
}}
    <label>Adjective</label>
  </data>
  <data source="population">
    <label>Population</label>
  </data>
  <data source="demographics">
    <label>Demographics</label>
  </data>
</infobox>

Latest revision as of 23:54, 26 November 2023