Template:Infobox former country: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
52 Pickup (talk | contribs)
i think i've finally sorted out this line break problem
52 Pickup (talk | contribs)
restoring blank image, accidentally overwritten in the last edit
Line 176: Line 176:
{| width=100% style="text-align:center; margin:0 auto; background:none;"
{| width=100% style="text-align:center; margin:0 auto; background:none;"
|-
|-
|width=50px style="border:0; vertical-align:middle; font-size:30%; line-height: 105%;"| {{#if:{{{p5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#ifexist:{{{p1}}}|[[{{{p1}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p1|}}}|[[Image:{{{flag_p1}}}|30px]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p1}}}.svg|Flag_of_{{{p1}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p1}}}.svg|Flag_of_the_{{{p1}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p2}}}|&nbsp;<br/>[[{{{p2}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p2|}}}|[[Image:{{{flag_p2}}}|30px]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p2}}}.svg|Flag_of_{{{p2}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p2}}}.svg|Flag_of_the_{{{p2}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p3}}}|&nbsp;<br/>[[{{{p3}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p3|}}}|[[Image:{{{flag_p3}}}|30px]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p3}}}.svg|Flag_of_{{{p3}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p3}}}.svg|Flag_of_the_{{{p3}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p4}}}|&nbsp;<br/>[[{{{p4}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p4|}}}|[[Image:{{{flag_p4}}}|30px]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p4}}}.svg|Flag_of_{{{p4}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p4}}}.svg|Flag_of_the_{{{p4}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p5}}}|&nbsp;<br/>[[{{{p5}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p5|}}}|[[Image:{{{flag_p5}}}|30px]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p5}}}.svg|Flag_of_{{{p5}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p5}}}.svg|Flag_of_the_{{{p5}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}}<br>}}}}
|width=50px style="border:0; vertical-align:middle; font-size:30%; line-height: 105%;"| {{#if:{{{p5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#ifexist:{{{p1}}}|[[{{{p1}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p1|}}}|[[Image:{{{flag_p1}}}|30px]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p1}}}.svg|Flag_of_{{{p1}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p1}}}.svg|Flag_of_the_{{{p1}}}.svg|Blank.png}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p2}}}|&nbsp;<br/>[[{{{p2}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p2|}}}|[[Image:{{{flag_p2}}}|30px]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p2}}}.svg|Flag_of_{{{p2}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p2}}}.svg|Flag_of_the_{{{p2}}}.svg|Blank.png}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p3}}}|&nbsp;<br/>[[{{{p3}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p3|}}}|[[Image:{{{flag_p3}}}|30px]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p3}}}.svg|Flag_of_{{{p3}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p3}}}.svg|Flag_of_the_{{{p3}}}.svg|Blank.png}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p4}}}|&nbsp;<br/>[[{{{p4}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p4|}}}|[[Image:{{{flag_p4}}}|30px]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p4}}}.svg|Flag_of_{{{p4}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p4}}}.svg|Flag_of_the_{{{p4}}}.svg|Blank.png}}}}|30px|Flag]]}}}}<br>}} {{#ifexist:{{{p5}}}|&nbsp;<br/>[[{{{p5}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p5|}}}|[[Image:{{{flag_p5}}}|30px]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[Image:{{#ifexist:Image:Flag_of_{{{p5}}}.svg|Flag_of_{{{p5}}}.svg|{{#ifexist:Image:Flag_of_the_{{{p5}}}.svg|Flag_of_the_{{{p5}}}.svg|Blank.png}}}}|30px|Flag]]}}}}<br>}}}}
|style="vertical-align:middle; text-align:center; font-size:115%; border:0" | {{#if:{{{year_end|}}}| {{#if:{{{life_span|}}}|'''{{{life_span}}}''' |'''{{#ifeq:{{{year_start|}}}|{{{year_end}}}|{{{year_start}}}|{{#if:{{{year_start|}}}|[[{{{year_start}}}]]&nbsp;–&nbsp;}}[[{{{year_end}}}]]}}'''}} |'''Life span?''' }}
|style="vertical-align:middle; text-align:center; font-size:115%; border:0" | {{#if:{{{year_end|}}}| {{#if:{{{life_span|}}}|'''{{{life_span}}}''' |'''{{#ifeq:{{{year_start|}}}|{{{year_end}}}|{{{year_start}}}|{{#if:{{{year_start|}}}|[[{{{year_start}}}]]&nbsp;–&nbsp;}}[[{{{year_end}}}]]}}'''}} |'''Life span?''' }}
|width=50px style="border:0; vertical-align: middle; text-align:right; line-height: 105%; font-size:30%;"| {{#if:{{{s5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#ifexist:{{{s1}}}|{{#if:{{{flag_s1|}}}|[[Image:{{{flag_s1}}}|30px]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s1}}}.svg|Flag_of_{{{s1}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s1}}}.svg|Flag_of_the_{{{s1}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}} [[{{{s1}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s2}}}|&nbsp;<br/>{{#if:{{{flag_s2|}}}|[[Image:{{{flag_s2}}}|30px]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s2}}}.svg|Flag_of_{{{s2}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s2}}}.svg|Flag_of_the_{{{s2}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}} [[{{{s2}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s3}}}|&nbsp;<br/>{{#if:{{{flag_s3|}}}|[[Image:{{{flag_s3}}}|30px]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s3}}}.svg|Flag_of_{{{s3}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s3}}}.svg|Flag_of_the_{{{s3}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}} [[{{{s3}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s4}}}|&nbsp;<br/>{{#if:{{{flag_s4|}}}|[[Image:{{{flag_s4}}}|30px]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s4}}}.svg|Flag_of_{{{s4}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s4}}}.svg|Flag_of_the_{{{s4}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}} [[{{{s4}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s5}}}|&nbsp;<br/>{{#if:{{{flag_s5|}}}|[[Image:{{{flag_s5}}}|30px]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s5}}}.svg|Flag_of_{{{s5}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s5}}}.svg|Flag_of_the_{{{s5}}}.svg|Sin_bandera.svg}}}}|30px|Flag]]}}}} [[{{{s5}}}|<span style="font-size:300%;">→</span>]]<br>}} }}
|width=50px style="border:0; vertical-align: middle; text-align:right; line-height: 105%; font-size:30%;"| {{#if:{{{s5|}}}|[[#before-after|<span style="font-size:300%;">↓</span>]]| {{#ifexist:{{{s1}}}|{{#if:{{{flag_s1|}}}|[[Image:{{{flag_s1}}}|30px]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s1}}}.svg|Flag_of_{{{s1}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s1}}}.svg|Flag_of_the_{{{s1}}}.svg|Blank.png}}}}|30px|Flag]]}}}} [[{{{s1}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s2}}}|&nbsp;<br/>{{#if:{{{flag_s2|}}}|[[Image:{{{flag_s2}}}|30px]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s2}}}.svg|Flag_of_{{{s2}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s2}}}.svg|Flag_of_the_{{{s2}}}.svg|Blank.png}}}}|30px|Flag]]}}}} [[{{{s2}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s3}}}|&nbsp;<br/>{{#if:{{{flag_s3|}}}|[[Image:{{{flag_s3}}}|30px]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s3}}}.svg|Flag_of_{{{s3}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s3}}}.svg|Flag_of_the_{{{s3}}}.svg|Blank.png}}}}|30px|Flag]]}}}} [[{{{s3}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s4}}}|&nbsp;<br/>{{#if:{{{flag_s4|}}}|[[Image:{{{flag_s4}}}|30px]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s4}}}.svg|Flag_of_{{{s4}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s4}}}.svg|Flag_of_the_{{{s4}}}.svg|Blank.png}}}}|30px|Flag]]}}}} [[{{{s4}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#ifexist:{{{s5}}}|&nbsp;<br/>{{#if:{{{flag_s5|}}}|[[Image:{{{flag_s5}}}|30px]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[Image:{{#ifexist:Image:Flag_of_{{{s5}}}.svg|Flag_of_{{{s5}}}.svg|{{#ifexist:Image:Flag_of_the_{{{s5}}}.svg|Flag_of_the_{{{s5}}}.svg|Blank.png}}}}|30px|Flag]]}}}} [[{{{s5}}}|<span style="font-size:300%;">→</span>]]<br>}} }}
|}
|}
<!----- Flag and coat of arms ----->
<!----- Flag and coat of arms ----->

Revision as of 21:01, 14 August 2007

This infobox is under constant development.
Since there are so many different types of former states, modifications are always required to fit this template to suit the article. If you are having trouble with a particular article, leave a message on the template talk page.

Template:Infobox former country/Blank

This infobox is a part of WikiProject Former countries.

Important notes for anyone using this template

  1. READ THE INSTRUCTIONS BEFORE USE
  2. See template talk page for syntax.
  3. Almost all fields are optional, some fields are more optional than others. It is not expected that you fill in every single field that is shown here.
  4. Some fields are hidden but necessary for infobox functionality. Not all fields are displayed here.
  5. If a state has a high number of leaders (>5), do not modify this template to fit them all in. It is not the intention of this infobox to do them all - that makes the infobox way too big (any extra slots added here without previous discussion will be reverted). Instead, list only the first and last title holder, with (first) or (last) placed after the person's name.
  6. Some fields place the article into certian categories: see list of supported categories.
  7. Area (in km2) and population statistics must be given without spaces, commas or other code.
  8. Keep event text as short as possible - ideally only 1 line in length.
  9. For many entries, the infobox has been implemented by one of the main developers. Other users are welcome to implement the infobox themselves, but developers might make modifications later on - largely for functionality reasons.
  10. If you are unsure about the usage of this template, or if you want to know why a certain modification was made, let us know via the template talk page. Your comments and questions assist the developers in creating, improving and documenting infobox features.


Similar infoboxes

  1. Template:Infobox Former Subdivision - for subdivisions of former countries. In many ways indentical to this infobox, but with a few modifications.
  2. Template:Infobox SSR - specifically made for member states of the former USSR.
  3. Template:Infobox SFRY - specifically made for federal units of the former SFRY.