Difference between revisions of "Template:City infobox"

From The Continent Chronicles
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
|colspan=2 style="font-size:15px;text-align:center;"|'''{{{name}}}'''
 
|colspan=2 style="font-size:15px;text-align:center;"|'''{{{name}}}'''
 
|-
 
|-
{{#if:{{{image[0]|}}}
+
{{#if:{{{image|}}}
|<tr><td colspan=2 style="text-align:center">[[File:{{{image[0]}}}|280px|frameless|center]]</td></tr>}}
+
|<tr><td colspan=2 style="text-align:center">[[File:{{{image}}}|280px|frameless|center]]</td></tr>}}
{{#if:{{{image[1]|}}}
+
{{#if:{{{map|}}}
|<tr><td colspan=2 style="text-align:center">[[File:{{{image[1]}}}|280px|frameless|center]]</td></tr>}}
+
|<tr><td colspan=2 style="text-align:center">[[File:{{{map}}}|280px|frameless|center]]</td></tr>}}
|-
 
 
!colspan=2 style="background:#60c4a9;text-align:center"|Political details
 
!colspan=2 style="background:#60c4a9;text-align:center"|Political details
 
|-
 
|-

Latest revision as of 08:43, 16 April 2022

This is a template for a Country infobox. Usage:

{{City infobox
|name=
|image=
|map=
|country=
|government=
|established=
|conquered=
|disestablished=
}}
{{{name}}}
Political details
Country {{{country}}}
Government {{{government}}}
Historical details
Established {{{established}}}