Difference between revisions of "Template:Infobox region"

From Taijitu
Jump to: navigation, search
m (Added missing bar to if template for founder)
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em;"
+
{| align="right" style="border: 1px solid darkgray; text-align:left; width: 22em; font-size: 88%; line-height:1.5em; background-color: #f9f9f9; margin: 0 0 1em 1em;" cellpadding="1" cellspacing="4"
! colspan=2 style="text-align: center; color: {{{text_color|black}}}; font-size: 125%; background-color:{{{color|{{Color|{{{name}}}}}}}}"|{{{full_name|name}}}
+
!colspan=2 style="text-align:center; color: {{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|{{#if: {{{title|}}}|{{{title|}}} of}} {{{name}}}{{#if: {{{native_name|}}}|<br>{{{native_name|}}}}} {{#if: {{{translit_name|}}}|<br>{{{translit_name|}}}}}
 
|-
 
|-
|style="text-align: center"|[[image: {{{flag}}}|x64px|Flag of {{{name}}}]]
+
|align="center" colspan=2|
[[image: {{{emblem}}}|x64px|{{{emblem_caption}}} of {{{name}}}]]
+
{|align="center" style="background-color:#f9f9f9; width:20em; margin:0;"
 +
|-align="center"
 +
|[[image: {{{flag}}}|x78px|Flag of {{{name}}}]]
 +
|[[image: {{{arms}}}|x78px|{{{arms_type|Coat of arms|}}} of {{{name}}}]]
 +
|-align="center"
 +
|[[Flag of {{{name}}}|Flag]]
 +
|[[{{{arms_type|Coat of arms}}} of {{{name}}}|{{{arms_type|Coat of arms}}}]]
 
|}
 
|}
 +
|-
 +
!colspan=2 style="text-align:center; color: {{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}};"|Demographics
 +
|-
 +
!Demonym
 +
|{{{demonym}}}
 +
|-{{top}}
 +
!Population
 +
|{{{population}}}
 +
|-
 +
!Rank
 +
|{{{rank}}}
 +
|-{{top}}
 +
!Power
 +
|{{{power}}}
 +
|-
 +
!colspan=2 style="text-align:center; color: {{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}};"|History
 +
{{if||{{{founder|}}}|
 +
{{!-}}{{top}}
 +
!Founder
 +
{{!}}{{NS nation|{{{founder}}}}}|}}
 +
|-valign="top"
 +
!{{{event1}}}
 +
|{{{date1}}} {{if||{{{event2|}}}|
 +
{{!-}}{{top}}
 +
!{{{event2|}}}
 +
{{!}}{{{date2|}}}}}{{if||{{{event3|}}}|
 +
{{!-}}{{top}}
 +
!{{{event3|}}}
 +
{{!}}{{{date3|}}}}}{{if||{{{event4|}}}|
 +
{{!-}}{{top}}
 +
!{{{event4|}}}
 +
{{!}}{{{date4|}}}}}{{if||{{{event5|}}}|
 +
{{!-}}{{top}}
 +
!{{{event5|}}}
 +
{{!}}{{{date5|}}}}}{{if||{{{event6|}}}|
 +
{{!-}}{{top}}
 +
!{{{event6|}}}
 +
{{!}}{{{date6|}}}}}{{if||{{{event7|}}}|
 +
{{!-}}{{top}}
 +
!{{{event7|}}}
 +
{{!}}{{{date7|}}}}}{{if||{{{event8|}}}|
 +
{{!-}}{{top}}
 +
!{{{event8|}}}
 +
{{!}}{{{date8|}}}}}{{if||{{{event9|}}}|
 +
{{!-}}{{top}}
 +
!{{{event9|}}}
 +
{{!}}{{{date9|}}}}}{{if||{{{event10|}}}|
 +
{{!-}}{{top}}
 +
!{{{event10|}}}
 +
{{!}}{{{date10|}}}}}
 +
|-
 +
!colspan=2 style="text-align:center; color: {{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}};;"|Government
 +
|-valign="top"
 +
!Type
 +
|{{{type}}}
 +
|-valign="top"
 +
!Legislature
 +
|{{{legislature}}} {{if||{{{office1|}}}|
 +
{{!-}}{{top}}
 +
!{{{office1|}}}
 +
{{!}}{{{official1|}}}}} {{if||{{{office2|}}}|
 +
{{!-}}{{top}}
 +
!{{{office2}}}
 +
{{!}}{{{official2|}}}}} {{if||{{{office3|}}}|
 +
{{!-}}{{top}}
 +
!{{{office3|}}}
 +
{{!}}{{{official3|}}}}} {{if||{{{office4|}}}|
 +
{{!-}}{{top}}
 +
!{{{office4|}}}
 +
{{!}}{{{official4|}}}}} {{if||{{{office5|}}}|
 +
{{!-}}{{top}}
 +
!{{{office5|}}}
 +
{{!}}{{{official5|}}}}}
 +
|}
 +
<includeonly>[[Category:Regions]]</includeonly>
 +
<noinclude>[[Category:Templates|Infobox region]][[Category:Infoboxes|Region]]</noinclude>

Latest revision as of 12:57, 5 December 2013

{{{name}}}
[[image: {{{flag}}}|x78px|Flag of {{{name}}}]] [[image: {{{arms}}}|x78px|Coat of arms of {{{name}}}]]
[[Flag of {{{name}}}|Flag]] [[Coat of arms of {{{name}}}|Coat of arms]]
Demographics
Demonym {{{demonym}}}
Population {{{population}}}
Rank {{{rank}}}
Power {{{power}}}
History
{{{event1}}} {{{date1}}}
Government
Type {{{type}}}
Legislature {{{legislature}}}