Difference between revisions of "Template:Country 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=
 
|capital=
 
|capital=
 
|government=
 
|government=
Line 17: Line 18:
 
</noinclude>
 
</noinclude>
 
{|class=infobox width=300px
 
{|class=infobox width=300px
|colspan=2 style="background:#60c4a9;font-size:15px;text-align:center;"|'''{{{name}}}'''
+
|colspan=2 style="font-size:15px;text-align:center;"|'''{{{name}}}'''
 +
{{#if:{{{image|}}}
 +
|<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="text-align:center"|[[File:{{{image}}}|280px|frameless|center]]
+
!colspan=2 style="background:#60c4a9;text-align:center"|Political details
|-
 
!colspan=2 style="background:#60c4a9;color:#fff;text-align:center"|Political details
 
 
|-
 
|-
 
|'''Capital'''||style="width:70%"|{{{capital}}}
 
|'''Capital'''||style="width:70%"|{{{capital}}}
 
|-
 
|-
|'''Government'''||style="font-size:10px;width:70%"|{{{government}}}
+
|'''Government'''||{{{government}}}
 
|-
 
|-
|'''Language'''||style="font-size:10px;width:70%"|{{{language}}}
+
|'''Language'''||{{{language}}}
 
|-
 
|-
|'''Religion'''||style="font-size:10px;width:70%"|{{{religion}}}
+
|'''Religion'''||{{{religion}}}
 
|-
 
|-
!colspan=2 style="background:#60c4a9;color:#fff;text-align:center"|Historical details
+
!colspan=2 style="background:#60c4a9;text-align:center"|Historical details
 
|-
 
|-
 
|'''Established'''||{{{established}}}
 
|'''Established'''||{{{established}}}
 
|-
 
|-
 
{{#if: {{{disestablished|}}}
 
{{#if: {{{disestablished|}}}
|'''Disestablished'''||{{{disestablished}}} }}
+
|<tr><td>'''Disestablished'''</td><td>{{{disestablished}}}</td></tr>}}
|-
+
{{#if: {{{conquered|}}}
|'''Conquered'''||{{{conquered}}}
+
|<tr><td>'''Conquered'''</td><td>{{{conquered}}}</td></tr>}}
 
|}
 
|}
  
 
<includeonly>
 
<includeonly>
[[Category:Superhero warrior]]
+
[[Category:Country]]
 
</includeonly>
 
</includeonly>

Latest revision as of 09:54, 24 September 2022

This is a template for a Country infobox. Usage:

{{Country infobox
|name=
|image=
|map=
|capital=
|government=
|language=
|religion=
|established=
|conquered=
|disestablished=
}}
{{{name}}}


Political details
Capital {{{capital}}}
Government {{{government}}}
Language {{{language}}}
Religion {{{religion}}}
Historical details
Established {{{established}}}