Template:CityInfobox: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
m (Allow country text other than country article name)
m (Hiding unused parameters)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width: 300px; border: solid 1px #AAA;"
{| class="infobox" style="width: 300px; border: solid 1px #AAA;"
|+ style="background-color: #BDBDBD; text-align: center;" | '''{{{Short city name|Short name placeholder}}}'''
|+ style="background-color: #BDBDBD; text-align: center;" | '''{{{Short city name|Short name placeholder}}}'''
|-
|- {{#if: {{{Full city name|}}} | | style="display: none;" }}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | {{{Full city name|Full name placeholder}}}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | {{{Full city name|Full name placeholder}}}
|- {{#if: {{{City Photos|}}} | | style="display: none;" }}
| colspan="2" style="text-align: center;" | [[File:{{{City Photos|missingcoa.png}}}|280px]]<br>{{{Photo description|Description placeholder}}}{{#if: {{{flag|}}}{{{coa1|}}} | <hr /> | }}
|- {{#if: {{{flag|}}}{{{coa1|}}} | | style="display: none;" }}
| style="text-align: center;" | {{#if: {{{flag|}}} | [[File:{{{flag|missingflag.png}}}|100px]]<br /><small>Flag</small> | }}
| style="text-align: center;" | {{#if: {{{coa1|}}} | [[File:{{{coa1|missingcoa.png}}}|80px]]<br /><small>Coat of arms</small> | }}
|-
|-
| colspan="2" style="text-align: center;" | [[File:{{{City Photos|missingcoa.png}}}|200px]]<br>'''Photo description:''' {{{Photo description|Description placeholder}}}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Location
|-
|- {{#if: {{{Locator Map|}}} | | style="display: none;" }}
| style="text-align: center;" | City Flag
| style="text-align: center;" | City Coat of Arms
|-
| style="text-align: center;" | [[File:{{{flag|missingflag.png}}}|100px]]
| style="text-align: center;" | [[File:{{{coa1|missingcoa.png}}}|100px]]
|-
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Locator Map
|-
| colspan="2" style="text-align: center;" | [[File:{{{Locator Map|anaria-small.png}}}|200px]]
| colspan="2" style="text-align: center;" | [[File:{{{Locator Map|anaria-small.png}}}|200px]]
|-
|-
! Country:
! Country
| {{#if: {{{country_text|}}}|{{{country_text}}}|[[{{{country|sample_nation}}}]]}}
| {{#if: {{{country_text|}}}|{{{country_text}}}|[[{{{country|sample_nation}}}]]}}
|-
|- {{#if: {{{region|}}} | | style="display: none;" }}
! Region:
! Region
| [[{{{region|sample_region}}}]]
| [[{{{region|sample_region}}}]]
|-
|- {{#if: {{{foundation|}}} | | style="display: none;" }}
! Foundation:
! Foundation
| {{{foundation|00.00.000}}}
| {{{foundation|00.00.000}}}
|-
|- {{#if: {{{founded by|}}} | | style="display: none;" }}
! Founded by:
! Founded by
| [[{{{founded by|sample_personality}}}]]
| [[{{{founded by|sample_personality}}}]]
|-
|- {{#if: {{{government type|}}}{{{government body|}}}{{{mayor|}}} | | style="display: none;" }}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Government
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Government
|-
|- {{#if: {{{government type|}}} | | style="display: none;" }}
! Type
! Type
| {{{government type|Type placeholder}}}
| {{{government type|Type placeholder}}}
|-
|- {{#if: {{{government body|}}} | | style="display: none;" }}
! Body
! Body
| [[{{{government body|sample_admin_body}}}]]
| {{{government body|sample_admin_body}}}
|-
|- {{#if: {{{mayor|}}} | | style="display: none;" }}
! Mayor
! {{{leader title|Mayor}}}
| [[{{{mayor|sample_personality}}}]]
| {{{mayor|sample_personality}}}
|-
|- {{#if: {{{elevation|}}}{{{total area|}}}{{{urban area|}}}{{{metro area|}}}{{{time zone|}}} | | style="display: none;" }}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Physical
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Physical
|-
|- {{#if: {{{elevation|}}} | | style="display: none;" }}
! Elevation
! Elevation
| {{{elevation|0.00 meters}}}
| {{{elevation|0.00 meters}}}
|-
|- {{#if: {{{total area|}}} | | style="display: none;" }}
! Total area
! Total area
| {{{total area|0.00 km2}}}
| {{{total area|0.00 km2}}}
|-
|- {{#if: {{{urban area|}}} | | style="display: none;" }}
! Urban area
! Urban area
| {{{urban area|0.00 km2}}}
| {{{urban area|0.00 km2}}}
|-
|- {{#if: {{{metro area|}}} | | style="display: none;" }}
! Metro area
! Metro area
| {{{metro area|0.00 km2}}}
| {{{metro area|0.00 km2}}}
|-
|- {{#if: {{{time zone|}}} | | style="display: none;" }}
! Time zone
! Time zone
| {{{time zone|0}}}
| {{{time zone|0}}}
|-
|- {{#if: {{{population|}}}{{{rank|}}}{{{density|}}}{{{demonym|}}} | | style="display: none;" }}
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Population
! colspan="2" style="background-color: #BDBDBD; text-align: center;" | Population
|-
|- {{#if: {{{population|}}} | | style="display: none;" }}
! Total
! Total
| {{{population|0.000.000}}}
| {{{population|0.000.000}}}
|-
|- {{#if: {{{rank|}}} | | style="display: none;" }}
! Rank
! Rank
| {{{rank|0th place}}}
| {{{rank|0th place}}}
|-
|- {{#if: {{{density|}}} | | style="display: none;" }}
! Density
! Density
| {{{density|0000/km2}}}
| {{{density|0000/km2}}}
|-
|- {{#if: {{{demonym|}}} | | style="display: none;" }}
! Demonym
! Demonym
| {{{demonym|tbc}}}
| {{{demonym|tbc}}}
|}
|}

Latest revision as of 04:18, 22 September 2024

Short name placeholder
Full name placeholder

Description placeholder
Location
File:Anaria-small.png
Country sample_nation
Region sample_region
Foundation 00.00.000
Founded by sample_personality
Government
Type Type placeholder
Body sample_admin_body
Mayor sample_personality
Physical
Elevation 0.00 meters
Total area 0.00 km2
Urban area 0.00 km2
Metro area 0.00 km2
Time zone 0
Population
Total 0.000.000
Rank 0th place
Density 0000/km2
Demonym tbc