Wikisage, the free encyclopedia of the second generation, is digital heritage

Template:Infobox micronation: Difference between revisions

From Wikisage
Jump to navigation Jump to search
(shortname: no autogenerated list)
(new box, based on generic box)
 
Line 1: Line 1:
<div style="float: right;">
{{Infobox generic
{{Infobox
| bgcolor  = #EEDD88
|data1 = {{#if:{{{name|}}}|<big>''' {{{name|}}} '''</big><hr>}}
| header  = {{{name|}}} (micronation)
|data2 = {{#if:{{{p1|}}}|<table width=100% style="text-align:center; margin:0 auto; background:transparent;"><tr><td width=50px style="border:0; vertical-align:left; font-size:30%; line-height: 105%;">{{#if:{{{p1|}}}|[[{{{p1}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p1|}}}|[[File:{{{flag_p1}}}|30px|link={{{p1}}}|alt=]]|{{#if:{{{image_p1|}}}|{{{image_p1}}}|[[File:Noflag.png|30px|link={{{p1}}}|alt=]]}}}}<br>}}{{#if:{{{p2|}}}|&nbsp;<br>[[{{{p2}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p2|}}}|[[File:{{{flag_p2}}}|30px|link={{{p2}}}|alt=]]|{{#if:{{{image_p2|}}}|{{{image_p2}}}|[[File:Noflag.png|30px|link={{{p2}}}|alt=]]}}}}<br>}}{{#if:{{{p3|}}}|&nbsp;<br>[[{{{p3}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p3|}}}|[[File:{{{flag_p3}}}|30px|link={{{p3}}}|alt=]]|{{#if:{{{image_p3|}}}|{{{image_p3}}}|[[File:Noflag.png|30px|link={{{p3}}}|alt=]]}}}}<br>}}{{#if:{{{p4|}}}|&nbsp;<br>[[{{{p4}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p4|}}}|[[File:{{{flag_p4}}}|30px|link={{{p4}}}|alt=]]|{{#if:{{{image_p4|}}}|{{{image_p4}}}|[[File:Noflag.png|30px|link={{{p4}}}|alt=]]}}}}<br>}}{{#if:{{{p5|}}}|&nbsp;<br>[[{{{p5}}}|<span style="font-size:300%;">←</span>]] {{#if:{{{flag_p5|}}}|[[File:{{{flag_p5}}}|30px|link={{{p5}}}|alt=]]|{{#if:{{{image_p5|}}}|{{{image_p5}}}|[[File:Noflag.png|30px|link={{{p5}}}|alt=]]}}}}<br>}}</td><td 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}}}–}}{{{year_end}}}}}'''}}|}}</td><td width=50px style="border:0; vertical-align: right; text-align:right; line-height: 105%; font-size:30%;">{{#if:{{{s1|}}}|{{#if:{{{flag_s1|}}}|[[File:{{{flag_s1}}}|30px|link={{{s1}}}|alt=]]|{{#if:{{{image_s1|}}}|{{{image_s1}}}|[[File:Noflag.png|30px|link={{{s1}}}|alt=]]}}}} [[{{{s1}}}|<span style="font-size:300%;">→</span>]]<br>}}{{#if:{{{s2|}}}|&nbsp;<br>{{#if:{{{flag_s2|}}}|[[File:{{{flag_s2}}}|30px|link={{{s2}}}|alt=]]|{{#if:{{{image_s2|}}}|{{{image_s2}}}|[[File:Noflag.png|30px|link={{{s2}}}|alt=]]}}}} [[{{{s2}}}|<span style="font-size:300%;">→</span>]]<br>}} {{#if:{{{s3|}}}|&nbsp;<br>{{#if:{{{flag_s3|}}}|[[File:{{{flag_s3}}}|30px|link={{{s3}}}|alt=]]|{{#if:{{{image_s3|}}}|{{{image_s3}}}|[[File:Noflag.png|30px|link={{{s3}}}|alt=]]}}}} [[{{{s3}}}|<span style="font-size:300%;">→</span>]]<br>}}{{#if:{{{s4|}}}|&nbsp;<br>{{#if:{{{flag_s4|}}}|[[File:{{{flag_s4}}}|30px|link={{{s4}}}|alt=]]|{{#if:{{{image_s4|}}}|{{{image_s4}}}|[[File:Noflag.png|30px|link={{{s4}}}|alt=]]}}}} [[{{{s4}}}|<span style="font-size:300%;">→</span>]]<br>}}{{#if:{{{s5|}}}|&nbsp;<br>{{#if:{{{flag_s5|}}}|[[File:{{{flag_s5}}}|30px|link={{{s5}}}|alt=]]|{{#if:{{{image_s5|}}}|{{{image_s5}}}|[[File:Noflag.png|30px|link={{{s5}}}|alt=]]}}}} [[{{{s5}}}|<span style="font-size:300%;">→</span>]]<br>}}</td></tr></table><hr>}}
| image    = {{{image_flag|}}}
|data3 = <table width=100% style="background-color:transparent;"><tr><td width=50%>{{{image1|}}}{{#if:{{{imageflag|}}}|[[File:{{{imageflag|}}}|200px|border]]}}</td><td>{{{image2|}}}{{#if:{{{imagecrest|}}}|[[File:{{{imagecrest|}}}|150px|border]]}}</td><td>{{{image3|}}}{{#if:{{{imagecrest|}}}|[[File:{{{imagecrest|}}}|150px|border]]}}</td></tr>{{#if:{{{caption1|}}}|<tr><td>{{{caption1|}}}</td></tr>}}{{#if:{{{caption2|}}}|<tr><td>{{{caption2|}}}</td></tr>}}</table><hr>
| imagewidth = {{{image_width|}}}
|data4 = {{#if:{{{motto|}}}|'''[[Motto]]'''<br>{{{motto|}}}<hr>}}
| caption  = <small>Flag</small>
|data5 = {{#if:{{{anthem|}}}|'''[[List of micronations by national anthem|Anthem]]'''<br>{{{anthem|}}}<hr>}}
| head1_1  = Motto            | item1_1 = {{{motto|}}}
|data6 = {{#if:{{{location|}}}|{{{location|}}} <hr>}}
| head1_2  = Anthem           | item1_2 = {{{anthem|}}}
|label7 = [[Capital city]]
| head1_3  = Capital           | item1_3 = {{{capital|}}}
|data7 = {{{capital|}}}
| head1_4  = Administration    | item1_4 = {{{admin_center|}}}
|label8 = Largest city
| head1_5  = Official languages| item1_5 = {{{official_languages|}}}
|data8 = {{{largest_city|}}}
| head1_6  = Demonym          | item1_6 = {{{demonym|}}}
|label9 = [[Official language|Official language(s)]]
| head1_7  = Government        | item1_7 = {{{government_type|}}}
|data9 = {{{languages|}}}
| head1_8  = Founder          | item1_8 = {{{founder|}}}
|label10 = Official religion(s)
| head1_9  = Current leader    | item1_9 = {{{current_leader|}}}
|data10 = {{{religions|}}}
| head2_1  = Established      | item2_1 = {{{established|}}}
|label11 = [[List of micronations|Short name]]
| head2_2  = -               | item2_2 = {{{event1|}}}
|data11 = {{{shortname|}}}
| head2_3  = -               | item2_3 = {{{event2|}}}
|label12 = [[Demonym]]
| head2_4  = Area              | item2_4 = {{{area|}}}
|data12 = {{{demonym|}}}
| head2_5  = -               | item2_5 = {{{area1|}}}
|label13 = [[Government]]
| head2_6  = -               | item2_6 = {{{area2|}}}
|data13 = {{{government|}}}
| head2_7  = Population        | item2_7 = {{{population|}}}
|label14 = {{#if:{{{head of state|}}}|<small> - {{{head of state|}}}</small>}}
| head2_8  = -                | item2_8 = {{{population1|}}}
|data14 = {{#if:{{{hos_name|}}}|<small>{{{hos_name|}}}</small>}}
| head2_9  = -                | item2_9 = {{{population2|}}}
|label15 = {{#if:{{{head of government|}}}|<small> - {{{head of government|}}}</small>}}
| head3_1  = Time zone        | item3_1 = {{{timezone|}}}
|data15 = {{#if:{{{hog_name|}}}|<small>{{{hog_name|}}}</small>}}
| head3_2  = - summer        | item3_2 = {{{timezone_summer|}}}
|label16 = {{#if:{{{3rd_h|}}}|<small> - {{{3rd_h|}}}</small>}}
| head3_3  = National religion | item3_3 = {{{religion|}}}
|data16 = {{#if:{{{3rd_h_name|}}}|<small>{{{3rd_h_name|}}}</small>}}
| head3_4  = -                | item3_4 = {{{religion1|}}}
|label17 = [[Legislature]]
| head3_5  = Patron saint      | item3_5 = {{{patron_saint|}}}
|data17 = {{{legislature|}}}
| head3_6  = -                | item3_6 = {{{patron_saint1|}}}
|label18 = {{#if:{{{type|}}}|<small> - Type</small>}}
| head3_7  = National holiday  | item3_7 = {{{holiday|}}}
|data18 = {{#if:{{{type|}}}|<small> - {{{type|}}}</small>}}
| head3_8  = -                | item3_8 = {{{holiday1|}}}
|label19 = {{#if:{{{seats|}}}|<small> - Number of seats</small>}}
| head3_9  = -                | item3_9 = {{{holiday2|}}}
|data19 = {{#if:{{{seats|}}}|<small> - {{{seats|}}}</small>}}
| other1  = {{#If:{{{website|}}}|[{{{website}}} Official website]}}
|label20 = {{#if:{{{election|}}}|<small> - Last election</small>}}
}}<noinclude>{{Templateinfo|1=
|data20 = {{#if:{{{election|}}}|<small> - {{{election|}}}</small>}}
== Purpose ==
|label21 = [[List of micronations by establishment|Established]]
This template inserts an information box for data about a micronation.
|data21 = {{{established|}}}
|label22 = Disestablished
|data22 = {{{disestablished|}}}
|label23 = [[List of micronations by size|Area claimed]]
|data23 = {{{area|}}}
|label24 = [[List of micronations by population|Population]]
|data24 = {{{population|}}} {{{population_notes|}}}
|label25 = [[Currency]]
|data25 = {{{currency|}}}
|label26 = [[Time zone]]
|data26 = {{{time_zone|}}}
|label27 = [[National sport]]
|data27 = {{{nat_sport|}}}
|label28 = [[National dish]]
|data28 = {{{nat_dish|}}}
|label29 = [[National drink]]
|data29 = {{{nat_drink|}}}
|label30 = [[National animal]]
|data30 = {{{nat_animal|}}}
|label31 = [[Patron saint]]
|data31 = {{{pat_saint|}}}
|data32 = {{#if:{{{notes|}}}|<small>{{{notes|}}}</small>}}
|data33 = {{#if: {{{web|}}} | <hr>'''<big> {{{web|}}} </big>'''}}


}}
== Use ==
</div>
The template is added as follows, preferably at the top of an article. Fill in known data after the '='.
<includeonly>{{#ifeq: {{{micronation|}}} | no | | [[Category:Micronation]] }}</includeonly><noinclude>
===Standard usage===
<pre>
{{Infobox nation
|name              = <!-- Full name in English -->
|image1            = <!-- Flag, [[File:Noflag.png|150px]] -->
|image2            = <!-- Coat of arms, [[File:Nocoa.png|50px]] -->
|image3            = <!-- Optional third Symbol -->
|motto              = <!-- Motto -->
|anthem            = <!-- National anthem -->
|location          = <!-- Location, can be image or text -->
|capital            = <!-- Capital city -->
|largest_city      = <!-- Largest city -->
|languages          = <!-- Official languages -->
|religions          = <!-- Official religions -->
|shortname          = <!-- Short form name. Include this if you want the micronation to be included in automatically-generated lists. -->
|demonym            = <!-- Demonym -->
|government        = <!-- Form or type of government -->
|head of state      = <!-- Position or title of the head of state -->
|head of government = <!-- Position or title of the head of government -->
|3rd_h              = <!-- Position or title of a third leader -->
|hos_name          = <!-- Name of the head of state -->
|hog_name          = <!-- Name of the head of government -->
|3rd_h_name        = <!-- Name of the third leader -->
|legislature        = <!-- Name of the legislature -->
|type              = <!-- Type of legislature -->
|seats              = <!-- Number of seats -->
|election          = <!-- Date of last election -->
|established        = <!-- Date of establishment -->
|area              = <!-- Area claimed -->
|population        = <!-- Total population. Put only a number here. -->
|population_notes  = <!-- Notes regarding how population was counted, etc. -->
|currency          = <!-- Currency -->
|time_zone          = <!-- Timezone -->
|nat_sport          = <!-- National sport -->
|nat_dish          = <!-- National dish -->
|nat_drink          = <!-- National drink -->
|nat_animal        = <!-- National animal -->
|pat_saint          = <!-- Patron saint -->
|notes              = <!-- Relevant notes -->
|web                = <!-- Link to website -->
}}
</pre>


===Inclusion of preceding and/or succeeding entities===
<pre>{{Infobox micronation
<pre>
| name             =  
{{Infobox nation
| image_flag        =  
|name               = <!-- Full name in English -->
| image_width      =  
|year_start        = <!-- Year of establishment -->
| motto            =  
|year_end          = <!-- Year of disestablishment -->
| anthem           =  
|p1                = <!-- Name of the article for preceding entity, numbered 1-5 -->
| capital           =  
|flag_p1           = <!-- Flag of preceding entity, default is "Noflag.png" -->
| admin_center      =  
|image_p1           = <!-- Associated image for preceding entity, optional -->
| official_languages=  
|p2                =  
| demonym          =  
|flag_p2            =  
| government_type  =  
|p3                =  
| founder           =  
|flag_p3            =  
| current_leader    =  
|p4                =
| established      =  
|flag_p4            =
| event1           =  
|p5                =
| event2           =  
|flag_p5            =
| area              =  
|s1                = <!-- Name of the article for succeeding entity, numbered 1-5 -->
| area1             =  
|flag_s1            = <!-- Flag of succeeding entity, default is "Noflag.png" -->
| area2             =  
|image_s1           = <!-- Associated image for succeeding entity, optional -->
| population        =  
|s2                =  
| population1      =  
|flag_s2            =  
| population2       =  
|s3                =  
| timezone         =  
|flag_s3           =  
| timezone_summer  =  
|s4                =
| religion         =  
|flag_s4           =  
| religion1         =  
|s5                =
| patron_saint     =  
|flag_s5            =  
| patron_saint1    =  
|image1             = <!-- Flag, [[File:Noflag.png|150px]] -->
| holiday           =  
|image2             = <!-- Coat of arms, [[File:Nocoa.png|50px]] -->
| holiday1         =  
|image3            = <!-- Optional third Symbol -->
| holiday2         =  
|motto              = <!-- Motto -->
| website           =  
|anthem            = <!-- National anthem -->
}}</pre>
|location          = <!-- Location, can be image or text -->
|capital            = <!-- Capital city -->
|largest_city       = <!-- Largest city -->
|languages         = <!-- Official languages -->
|religions          = <!-- Official religions -->
|shortname         = <!-- Short form name. Include this if you want the micronation to be included in automatically-generated lists. -->
|demonym            = <!-- Demonym -->
|government         = <!-- Form or type of government -->
|head of state     = <!-- Position or title of the head of state -->
|head of government = <!-- Position or title of the head of government -->
|3rd_h              = <!-- Position or title of a third leader -->
|hos_name          = <!-- Name of the head of state -->
|hog_name          = <!-- Name of the head of government -->
|3rd_h_name        = <!-- Name of the third leader -->
|legislature        = <!-- Name of the legislature -->
|type              = <!-- Type of legislature -->
|seats              = <!-- Number of seats -->
|election           = <!-- Date of last election -->
|established        = <!-- Date of establishment -->
|area              = <!-- Area claimed -->
|population        = <!-- Total population. Put only a number here. -->
|population_notes  = <!-- Notes regarding how population was counted, etc. -->
|currency          = <!-- Currency -->
|time_zone         = <!-- Timezone -->
|nat_sport         = <!-- National sport -->
|nat_dish           = <!-- National dish -->
|nat_drink          = <!-- National drink -->
|nat_animal        = <!-- National animal -->
|pat_saint          = <!-- Patron saint -->
|notes              = <!-- Relevant notes -->
|web                = <!-- Link to website -->
}}
}}
</pre>
[[Category:Wikisage:Template:Infobox]]
=== If the article is about a subnational division, etc. that should not be in [[:Category:Micronations]] ===
Add the line
<pre>
|micronation        = no
</pre>
Otherwise, ignore this parameter.
[[Category:Country infobox]]
[[Category:Micronation]]
</noinclude>
</noinclude>

Latest revision as of 15:57, 16 June 2017

Template description

Purpose

This template inserts an information box for data about a micronation.

Use

The template is added as follows, preferably at the top of an article. Fill in known data after the '='.

{{Infobox micronation
| name              = 
| image_flag        = 
| image_width       = 
| motto             = 
| anthem            = 
| capital           = 
| admin_center      = 
| official_languages= 
| demonym           = 
| government_type   = 
| founder           = 
| current_leader    = 
| established       = 
| event1            = 
| event2            = 
| area              = 
| area1             = 
| area2             = 
| population        = 
| population1       = 
| population2       = 
| timezone          = 
| timezone_summer   = 
| religion          = 
| religion1         = 
| patron_saint      = 
| patron_saint1     = 
| holiday           = 
| holiday1          = 
| holiday2          = 
| website           = 
}}