Difference between revisions of "Template:City infobox"

From The Continent Chronicles
Jump to navigationJump to search
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|name=
 
|name=
 
|image=
 
|image=
 +
|map=
 
|country=
 
|country=
|government
+
|government=
 
|established=
 
|established=
 
|conquered=
 
|conquered=
Line 19: Line 20:
 
{{#if:{{{image|}}}
 
{{#if:{{{image|}}}
 
|<tr><td colspan=2 style="text-align:center">[[File:{{{image}}}|280px|frameless|center]]</td></tr>}}
 
|<tr><td colspan=2 style="text-align:center">[[File:{{{image}}}|280px|frameless|center]]</td></tr>}}
|-
+
{{#if:{{{map|}}}
 +
|<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
 
|-
 
|-
Line 32: Line 34:
 
{{#if: {{{disestablished|}}}
 
{{#if: {{{disestablished|}}}
 
|<tr><td>'''Disestablished'''</td><td>{{{disestablished}}}</td></tr>}}
 
|<tr><td>'''Disestablished'''</td><td>{{{disestablished}}}</td></tr>}}
|-
 
 
{{#if: {{{conquered|}}}
 
{{#if: {{{conquered|}}}
 
|<tr><td>'''Conquered'''</td><td>{{{conquered}}}</td></tr>}}
 
|<tr><td>'''Conquered'''</td><td>{{{conquered}}}</td></tr>}}
Line 38: Line 39:
  
 
<includeonly>
 
<includeonly>
[[Category:Country]]
+
[[Category:City]]
 
</includeonly>
 
</includeonly>

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}}}