Misplaced Pages

Template:Infobox micronation: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 16:55, 31 December 2005 editBillpg (talk | contribs)Extended confirmed users1,041 edits No need to specify "Micronation" three times. (Twice here and again in article text.) Also to Misplaced Pages:Infobox templates guidelines.← Previous edit Latest revision as of 22:35, 18 October 2024 edit undoLunaEatsTuna (talk | contribs)Autopatrolled, Extended confirmed users12,677 editsNo edit summary 
(96 intermediate revisions by 38 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|infoboxTemplate
{| class="toccolours" border="1" cellpadding="4" style="float: right; width: 300px; margin: 0.5em 0 1em 1em; border-collapse: collapse; border-right-width:2px; border-bottom-width:2px; font-size: 95%;"
|templatestyles = Template:Infobox country/styles.css
|+ style="font-size: 160%; margin-left: inherit;" | '''{{{fullName}}}'''
| bodyclass = ib-country vcard
|-
| aboveclass = adr
| align="center" | {{{flagImage}}}
| above =
<br />Flag
{{#if:{{{conventional_long_name|}}}{{{native_name|}}}
| align="center" | {{{secondImage}}}
| {{#if:{{{conventional_long_name|}}}
<br />{{{secondImageType}}}
|<div class="fn org country-name">{{{conventional_long_name|}}}</div>
|-
}}{{#if:{{{native_name|}}}{{{name|}}}
| colspan="2" align="center" | <small>Motto: ''{{{motto}}}''<br />(English: ''{{{englishMotto}}}'')<br />Anthem: ''{{{anthemName}}}'' by {{{anthemComposer}}}</small>
|<div class="ib-country-names" style="padding-top: 0.25em;font-weight: normal;"><!--
|-
-->{{br separated entries
| '''Type of micronation:'''
|{{{native_name|}}}
| {{{typeOfMicronation}}}
|{{#if:{{{name|}}}
|-
|<div class="ib-country-name-style fn org country-name" style="display: inline;">{{{name|}}}</div>
| '''Location:'''
}}}}</div>
| {{{location}}}
}}
|-
|<div class="fn org country-name">{{{name|{{PAGENAMEBASE}}}}}</div>}}
| '''Area claimed:'''

| {{{areaClaimed}}}
| subheader = ] ({{#invoke:Engvar|variants
|-
| defaultWord = unrecognized
| '''Membership:'''
| engvar = {{{engvar|auto}}}<!-- Pass through article setting -->
| {{{membership}}}
| defaultLang = en-US
|-
| en-GB = unrecognised
| '''Date of foundation:'''
}} entity)
| {{{foundationDate}}}

|-
| image = {{{image|}}}
| '''Leadership:'''
| {{{leadership}}} | caption = {{{caption|}}}

|-
| image2 = {{{image2|}}}
| '''Purported organisational structure:'''
| {{{purpOrgStruct}}} | caption2 = {{{caption2|}}}

|-
| data4 = {{#if:{{{image_map|}}}
| '''Language:'''
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}}|size={{{map_width|{{{image_map_size|}}}}}}|upright=1.15|alt={{{alt_map|{{{image_map_alt|}}}}}}|title={{{map_caption|{{{image_map_caption|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}} }}} }}<!--
| {{{language}}}
-->{{#if:{{{map_caption|{{{image_map_caption|}}}}}}|<div class="ib-country-map-caption">{{{map_caption|{{{image_map_caption|}}}}}}</div>}} }}
|-

| '''Purported currency:'''
| {{{purpCurrency}}} | data5 = {{#if:{{{image_map2|}}}
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map2|}}}|size={{{map2_width|{{{image_map2_size|}}}}}}|upright=1.15|alt={{{alt_map2|{{{image_map2_alt|}}}}}}|title={{{map_caption2|{{{image_map2_caption|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}} }}} }}<!--
|-
-->{{#if:{{{map_caption2|{{{image_map2_caption|}}}}}}|<div class="ib-country-map-caption">{{{map_caption2|{{{image_map2_caption|}}}}}}</div>}} }}
| colspan=2 | {{{footnotes}}}

|}<noinclude><br clear=right />
| label7 = Area&nbsp;claimed
==Usage==
| data7 = {{{area_claimed|{{#if:{{{area_km2|{{{area_sq_mi|}}}}}}|{{convinfobox|{{{area_km2|}}}|km2|{{{area_sq_mi|}}}|sqmi|abbr=on}}{{#if:{{{loctext|}}}|{{sp}}in{{sp}}}}}}{{{loctext|}}}}}}{{#if:{{{coordinates|}}}|<br/>{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}}}
{|border=1

|fullName
| label22 = Type
|Full name of micronation, as claimed by micronation leaders. Include superlatives such as "Kingdom of" or similar if applicable.
| data22 = {{{org_type|{{{type|}}}}}}
|-

|shortName
| label26 = Claimed&nbsp;by
|Short name of micronation.
| data26 = {{{claimed_by|{{{leader_name1|{{{leader1|}}}}}}}}}{{#if:{{{leader_name2|}}}{{{leader2|}}}|<br />{{{leader_name2|{{{leader2}}}}}}}}
|-

|typeOfMicronation
| label44 = Dates&nbsp;claimed
|Categorisation of micronation. (For example, Current, Historial)
| data44 = {{#if:{{{dates_claimed|}}}{{{dates|}}}{{{life_span|}}}|{{{dates_claimed|{{{dates|{{{life_span}}}}}}}}}|
|-
{{#if:{{{established|}}}{{{established_date1|}}}{{{date_start|}}}{{{year_start|}}}
|flagImage
|{{{established|{{{established_date1|{{{date_start|{{{year_start|}}}}}}}}}}}}–{{#if:{{{disestablished|}}}{{{date_end|}}}{{{year_end|}}}|{{{disestablished|{{{date_end|{{{year_end}}}}}}}}}|present}}
|Link to image of flag. 150px wide.
|{{#if:{{{disestablished|{{{date_end|{{{year_end|}}}}}}}}}|Unknown–{{{disestablished|{{{date_end|{{{year_end|}}}}}}}}}}}
|-
}}
|secondImage
}}
|Link to secondary image, such as a coat of arms or seal. Also 150px wide.

|-
| data86 = <!--blank data point to overcome maximum skip value of 50-->
|secondImageType

|Title of secondary image, such as "Coat of Arms".
| data129 = {{#if:{{{official_website|}}}
|-
|<div class="ib-country-website">'''Website'''<br/>{{{official_website}}}</div>
|motto
}}
|Motto of micronation, usually in Latin.

|-
| data130 = {{#if:{{{image3|}}}{{{image_map3|}}}{{{location_map|}}}|{{#if:{{{image_map3|{{{location_map|}}}}}}
|englishMotto
|{{#invoke:InfoboxImage|InfoboxImage|image={{{image_map3|{{{location_map}}}}}}|size={{{map3_width|{{{image_map3_size|}}}}}}|upright=1.15|alt={{{alt3|{{{alt_map3|}}}}}}|title={{{map_caption3|{{{image_map_caption3|Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}} }}} }}|{{{image3|}}}}}<!--
|Literal English translation of motto.
-->{{#if:{{{caption3|}}}{{{map_caption3|}}}{{{image_map_caption3|}}}|<div class="ib-country-map-caption3">{{{caption3|{{{map_caption3|{{{image_map_caption3|}}}}}}}}}</div>}}
|-
}}
|anthemName

|The title of the micronation's anthem.
| data136 = {{#if:{{{footnote_a|}}}{{{footnote_b|}}}{{{footnote_c|}}}{{{footnote_d|}}}{{{footnote_e|}}}{{{footnote_f|}}}{{{footnote_g|}}}{{{footnote_h|}}}
|-
|<div class="ib-country-fn"><ol class="ib-country-fn-alpha">
|anthemComposer
{{#if:{{{footnote_a|}}}|<li value=1>{{{footnote_a|}}}</li>
|The composer of the anthem.
}}{{#if:{{{footnote_b|}}}|<li value=2>{{{footnote_b|}}}</li>
|-
}}{{#if:{{{footnote_c|}}}|<li value=3>{{{footnote_c|}}}</li>
|location
}}{{#if:{{{footnote_d|}}}|<li value=4>{{{footnote_d|}}}</li>
|Location. Use <nowiki>{{coor dms}}</nowiki> if applicable.
}}{{#if:{{{footnote_e|}}}|<li value=5>{{{footnote_e|}}}</li>
|-
}}{{#if:{{{footnote_f|}}}|<li value=6>{{{footnote_f|}}}</li>
|areaClaimed
}}{{#if:{{{footnote_g|}}}|<li value=7>{{{footnote_g|}}}</li>
|Area claimed in terms of land-mass on the Earth's surface in square meters.
}}{{#if:{{{footnote_h|}}}|<li value=8>{{{footnote_h|}}}</li>}}
If the micronation claims territorial waters, state in parentheses the extent of the claim.
</ol></div>}}
|-

|membership
| data137 = {{#if:{{{footnote1|}}}{{{footnote2|}}}{{{footnote3|}}}{{{footnote4|}}}{{{footnote5|}}}{{{footnote6|}}}{{{footnote7|}}}{{{footnote8|}}}
|Number of people who freely identify themselves as citizens or subjects of the micronation.
|<div class="ib-country-fn"><ol class="ib-country-fn-num">
If the micronation is historical with no active members, state the largest historical membership figure with the date in parentheses.
{{#if:{{{footnote1|}}}|<li value=1>{{{footnote1|}}}</li>
|-
}}{{#if:{{{footnote2|}}}|<li value=2>{{{footnote2|}}}</li>
|foundationDate
}}{{#if:{{{footnote3|}}}|<li value=3>{{{footnote3|}}}</li>
|When did the micronation declare itself into claimed existance.
}}{{#if:{{{footnote4|}}}|<li value=4>{{{footnote4|}}}</li>
|-
}}{{#if:{{{footnote5|}}}|<li value=5>{{{footnote5|}}}</li>
|leadership
}}{{#if:{{{footnote6|}}}|<li value=6>{{{footnote6|}}}</li>
|Current (or most well known if historical) leader's claimed title, with that leader's real name in paratheses.
}}{{#if:{{{footnote7|}}}|<li value=7>{{{footnote7|}}}</li>
Give the timespan (in year starting and year ending) of that leader afterwards.
}}{{#if:{{{footnote8|}}}|<li value=8>{{{footnote8|}}}</li>}}
|-
</ol></div>}}
|purpOrgStruct

|How the micronation is organised, with wikilink.
| data138 = {{#if:{{{footnotes|}}}|<div class="ib-country-fn">{{{footnotes}}}{{#if:{{{footnotes2|}}}|<br>{{{footnotes2}}}}}</div>}}
|-

|language
| belowclass = mergedtoprow noprint
|Language(s) used to conduct the official business of the micronation.
| below = {{#if:{{{navbar|}}}| {{navbar|{{{navbar|}}}}} }}
|-
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|]}}|preview=Page using ] with unknown parameter "_VALUE_"|ignoreblank=y| alt3|alt_map|alt_map2|alt_map3|area_claimed|area_km2|area_sq_mi|caption|caption2|caption3|claimed_by|common_name|conventional_long_name|coordinates|dates|dates_claimed|date_end|date_start|disestablished|engvar|established|established_date1|regexp1 = footnote_ | regexp2 = footnote+|footnotes|footnotes2|image|image2|image3|image_map|image_map2|image_map2_alt|image_map2_caption|image_map2_size|image_map3|image_map_alt|image_map_caption|image_map_size|image_map2_size|image_map3_size|leader1|leader2|leader_name1|leader_name2|life_span|linking_name|location_map|loctext|map_width|map2_width|map3_width|map_caption|map_caption2|map_caption3|name|native_name|navbar|official_website|org_type|type|year_end|year_start }}<noinclude>
|purpCurrency
{{documentation}}
|If the micronation issues its own currency, give its name here.
If an exchange exists, give current value in USD)
|-
|footnotes
|List footnotes, or just an empty string.)
|}
</noinclude> </noinclude>

Latest revision as of 22:35, 18 October 2024

Infobox micronation
Micronation (unrecognized entity)
Template documentation[view] [edit] [history] [purge]
This template uses Lua:

This infobox template is used to generate an infobox for the right-hand side of articles about micronations; see RfC for details. Parameter syntax and examples are detailed below.


Usage

{{{conventional_long_name}}}{{{native_name}}}
Micronation (unrecognized entity)
{{{image}}}{{{caption}}}
{{{image2}}}{{{caption2}}}
]{{{map_caption}}}
]{{{map_caption2}}}
Area claimed{{{area_claimed}}}  / {{{area_km2}}} in {{{loctext}}}
{{{coordinates}}}
Type{{{type}}}
Claimed by{{{claimed_by}}}  / {{{leader1}}}  / {{{leader_name1}}}
Dates claimed{{{dates_claimed}}}  / {{{dates}}}
]{{{map_caption3}}}
  1. {{{footnote_a}}}
  2. {{{footnote_b}}}
  3. {{{footnote_h}}}
{{{footnotes}}}
{{Infobox micronation
|conventional_long_name = <!--Formal or official full name of the micronation in English-->
|native_name =        <!-- Country's name (usually full name) in its official/defacto language(s), hence in italics (double quotemarks) -->
|common_name =        <!-- Common name in English (used for wikilinks, captions, and to produce a default iso3166 code) -->
|image =              <!-- Raw image display for use with {{#invoke:InfoboxImage|InfoboxImage|}} or {{infobox country/imagetable}}. In most cases, image_map and image_map2 should be used instead -->
|caption =            <!-- See |image = -->
|image2 =             <!-- See |image = -->
|caption2 =           <!-- See |image = -->
|image_map =          <!-- e.g. Location.svg -->
|alt_map =            <!-- alt text for map -->
|map_caption =        <!-- Caption to place below map -->
|image_map_size =     <!-- Map size in number of pixels -->
|image_map2 =         <!-- Another map, if required -->
|alt_map2 =           <!-- alt text for second map -->
|map_caption2 =       <!-- Caption to place below second map -->
|image_map2_size =    <!-- Map size in number of pixels -->
|area_claimed =       <!-- or |loctext = and/or |area_km2/|area_sq_mi --><!-- text description of location of the micronation -->
|coordinates =        <!-- {{coord|LAT|LON|display=inline,title}} -->
|type =               <!-- type determined by page consensus -->
|claimed_by =         <!-- or |leader1 = , |leader_name1 = --><!-- Names (wikilinked if notable) of those claiming the micronation. -->
|dates_claimed =      <!-- or |dates = --><!-- Range of dates claimed, e.g. 1900–2000. Overrides |date_start = and |date_end = -->
|date_start =         <!-- or |established = , |established_date1 = , |year_start = --><!-- {{start date|year|month|day}} -->
|date_end =           <!-- or |disestablished = , |year_end = --><!-- {{end date|year|month|day}} -->
|image_map3 =         <!-- or |image3 = , |location_map = --><!--Optional third map position, e.g. for use with reference to footnotes below it -->
|alt_map3 =           <!-- or |alt3 = --><!--alt text for third map position -->
|map_caption3 =       <!-- Caption to place below third map -->
|footnote_a =         <!--For any footnote <sup>a</sup> used above-->
|footnote_b =         <!--For any footnote <sup>b</sup> used above-->
|footnote_h =         <!--For any footnote <sup>h</sup> used above-->
|footnotes =          <!--For any generic non-numbered footnotes-->
|engvar =             <!--Set to 'en-GB' to have the subtitle use "Unrecognised", otherwise "Unrecognized" is used-->
}}

Examples

Principality of Sealand
Micronation (unrecognized entity)
Location of Principality of Sealand
Aerial view of Sealand in 1999Aerial view of Sealand in 1999
Area claimed.004 km (0.0015 sq mi) in the North Sea off the coast of England
51°53′42.6″N 1°28′49.8″E / 51.895167°N 1.480500°E / 51.895167; 1.480500
TypeOffshore platform
Claimed byPaddy Roy Bates, Michael Bates
Dates claimed1967 (1967)–present
{{Infobox micronation
| name    = Principality of Sealand
| image_map    = File:Europe location SLD.png
| image_map2   = File:Sealand_aerial_view.jpg
| map_caption2 = Aerial view of Sealand in 1999
| claimed_by = ], ]
| date_start = {{start date|1967}}
| area_km2 = .004
| loctext = the ] off the coast of England
| coordinates = {{Coord|51|53|42.6|N|1|28|49.8|E|scale:5000_region:UK|display=inline}}
| type = ]
}}
Principality of Sealand
Micronation (unrecognised entity)
Sealand in 1999 After the fire Aerial views of Sealand
Area claimedOffshore platform off the coast of England
51°53′42.6″N 1°28′49.8″E / 51.895167°N 1.480500°E / 51.895167; 1.480500
Type
Claimed byPaddy Roy Bates, Michael Bates
Dates claimed1967 to present
{{Infobox micronation
| name    = Principality of Sealand
| image    = {{#invoke:InfoboxImage|InfoboxImage|image=File:Europe location SLD.png|upright=1.15}}
| image2   = {{infobox country/imagetable |image1a = ]| caption1 = Sealand in 1999 | image2 = ] | caption2 = After the fire}}
| caption2 = Aerial views of Sealand
| claimed_by = ], ]
| dates_claimed = 1967 to present
| area_claimed = ] off the coast of England
| coordinates = {{Coord|51|53|42.6|N|1|28|49.8|E|scale:5000_region:UK|display=inline}}
| type = 
| engvar = en-UK
}}
The above documentation is transcluded from Template:Infobox micronation/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: