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 11:50, 24 August 2013 editRezonansowy (talk | contribs)Extended confirmed users5,652 editsm edit per talk page← Previous edit Latest revision as of 22:35, 18 October 2024 edit undoLunaEatsTuna (talk | contribs)Autopatrolled, Extended confirmed users12,677 editsNo edit summary 
(24 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|infoboxTemplate
{| class="infobox" style="width: 22em; font-size: 88%; line-height: 1.5em"
|templatestyles = Template:Infobox country/styles.css
| colspan=2 style="text-align: center; line-height:1.2em; padding:0.25em 0.33em 0.33em; font-size:1.25em;" | '''{{{fullName<includeonly>|{{PAGENAME}}</includeonly>}}}'''
| bodyclass = ib-country vcard
|-
| aboveclass = adr
| colspan=2 style="text-align: center" class="fn org" | ]
| above =
|-
{{#if:{{{flagImage<includeonly>|</includeonly>}}}{{{secondImage|}}}| {{#if:{{{conventional_long_name|}}}{{{native_name|}}}
| {{#if:{{{conventional_long_name|}}}
{{!}} colspan=2 {{!}}
|<div class="fn org country-name">{{{conventional_long_name|}}}</div>
{{{!}} style="text-align: center; margin: 0 auto; background: none;"
}}{{#if:{{{native_name|}}}{{{name|}}}
{{!}}-
|<div class="ib-country-names" style="padding-top: 0.25em;font-weight: normal;"><!--
{{#if:{{{flagImage<includeonly>|</includeonly>}}}|
-->{{br separated entries
{{!}} {{#if:{{{secondImage<includeonly>|</includeonly>}}}||colspan=2}} style="border-top:none; text-align: center" {{!}} {{{flagImage}}}<br/>Flag
|{{{native_name|}}}
|{{#if:{{{name|}}}
|<div class="ib-country-name-style fn org country-name" style="display: inline;">{{{name|}}}</div>
}}}}</div>
}}
|<div class="fn org country-name">{{{name|{{PAGENAMEBASE}}}}}</div>}}

| subheader = ] ({{#invoke:Engvar|variants
| defaultWord = unrecognized
| engvar = {{{engvar|auto}}}<!-- Pass through article setting -->
| defaultLang = en-US
| en-GB = unrecognised
}} entity)

| image = {{{image|}}}
| caption = {{{caption|}}}

| image2 = {{{image2|}}}
| caption2 = {{{caption2|}}}

| data4 = {{#if:{{{image_map|}}}
|{{#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}} }}} }}} }}} }}} }}} }}<!--
-->{{#if:{{{map_caption|{{{image_map_caption|}}}}}}|<div class="ib-country-map-caption">{{{map_caption|{{{image_map_caption|}}}}}}</div>}} }}

| 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>}} }}

| label7 = Area&nbsp;claimed
| 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}}}}

| label22 = Type
| data22 = {{{org_type|{{{type|}}}}}}

| label26 = Claimed&nbsp;by
| data26 = {{{claimed_by|{{{leader_name1|{{{leader1|}}}}}}}}}{{#if:{{{leader_name2|}}}{{{leader2|}}}|<br />{{{leader_name2|{{{leader2}}}}}}}}

| label44 = Dates&nbsp;claimed
| data44 = {{#if:{{{dates_claimed|}}}{{{dates|}}}{{{life_span|}}}|{{{dates_claimed|{{{dates|{{{life_span}}}}}}}}}|
{{#if:{{{established|}}}{{{established_date1|}}}{{{date_start|}}}{{{year_start|}}}
|{{{established|{{{established_date1|{{{date_start|{{{year_start|}}}}}}}}}}}}–{{#if:{{{disestablished|}}}{{{date_end|}}}{{{year_end|}}}|{{{disestablished|{{{date_end|{{{year_end}}}}}}}}}|present}}
|{{#if:{{{disestablished|{{{date_end|{{{year_end|}}}}}}}}}|Unknown–{{{disestablished|{{{date_end|{{{year_end|}}}}}}}}}}}
}}
}} }}

{{#if:{{{secondImage<includeonly>|</includeonly>}}}|
| data86 = <!--blank data point to overcome maximum skip value of 50-->
{{!}} {{#if:{{{flagImage<includeonly>|</includeonly>}}}||colspan=2}} style="border-top:none; text-align: center" {{!}} {{{secondImage}}}<br/>{{{secondImageType|}}}

}}
| data129 = {{#if:{{{official_website|}}}
{{!}}}
|<div class="ib-country-website">'''Website'''<br/>{{{official_website}}}</div>
{{!}}-
}} }}

{{#if:{{{motto<includeonly>|</includeonly>}}}{{{englishMotto|}}}{{{anthemName|}}}|
| data130 = {{#if:{{{image3|}}}{{{image_map3|}}}{{{location_map|}}}|{{#if:{{{image_map3|{{{location_map|}}}}}}
{{!}} colspan=2 style="text-align: center; font-size: smaller" {{!}} {{#if:{{{motto<includeonly>|</includeonly>}}}|Motto: ''{{{motto}}}''<br/>{{#if:{{{englishMotto<includeonly>|</includeonly>}}}|(English: ''{{{englishMotto}}}'')<br/>}} }}{{#if:{{{anthemName<includeonly>|</includeonly>}}}|Anthem: "{{{anthemName}}}"{{#if:{{{anthemComposer<includeonly>|</includeonly>}}}| &#32;by {{{anthemComposer}}} }} }}
|{{#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|}}}}}<!--
{{!}}-
-->{{#if:{{{caption3|}}}{{{map_caption3|}}}{{{image_map_caption3|}}}|<div class="ib-country-map-caption3">{{{caption3|{{{map_caption3|{{{image_map_caption3|}}}}}}}}}</div>}}
}}
}}
{{#if:{{{status<includeonly>|</includeonly>}}}|

! Status
| data136 = {{#if:{{{footnote_a|}}}{{{footnote_b|}}}{{{footnote_c|}}}{{{footnote_d|}}}{{{footnote_e|}}}{{{footnote_f|}}}{{{footnote_g|}}}{{{footnote_h|}}}
{{!}} {{{status}}}
|<div class="ib-country-fn"><ol class="ib-country-fn-alpha">
{{!}}-
{{#if:{{{footnote_a|}}}|<li value=1>{{{footnote_a|}}}</li>
}}
{{#if:{{{location<includeonly>|</includeonly>}}}| }}{{#if:{{{footnote_b|}}}|<li value=2>{{{footnote_b|}}}</li>
}}{{#if:{{{footnote_c|}}}|<li value=3>{{{footnote_c|}}}</li>
{{!}} colspan=3 style="text-align: center" {{!}} ]
}}{{#if:{{{footnote_d|}}}|<li value=4>{{{footnote_d|}}}</li>
{{!}}-
}}{{#if:{{{footnote_e|}}}|<li value=5>{{{footnote_e|}}}</li>
}}
{{#if:{{{LocText<includeonly>|</includeonly>}}}| }}{{#if:{{{footnote_f|}}}|<li value=6>{{{footnote_f|}}}</li>
}}{{#if:{{{footnote_g|}}}|<li value=7>{{{footnote_g|}}}</li>
! Location
}}{{#if:{{{footnote_h|}}}|<li value=8>{{{footnote_h|}}}</li>}}
{{!}} {{{LocText}}}
</ol></div>}}
{{!}}-

}}
| data137 = {{#if:{{{footnote1|}}}{{{footnote2|}}}{{{footnote3|}}}{{{footnote4|}}}{{{footnote5|}}}{{{footnote6|}}}{{{footnote7|}}}{{{footnote8|}}}
{{#if:{{{areaClaimed<includeonly>|</includeonly>}}}|
|<div class="ib-country-fn"><ol class="ib-country-fn-num">
! Area claimed
{{#if:{{{footnote1|}}}|<li value=1>{{{footnote1|}}}</li>
{{!}} {{{areaClaimed}}}
}}{{#if:{{{footnote2|}}}|<li value=2>{{{footnote2|}}}</li>
{{!}}-
}}{{#if:{{{footnote3|}}}|<li value=3>{{{footnote3|}}}</li>
}}
{{#if:{{{membership<includeonly>|</includeonly>}}}| }}{{#if:{{{footnote4|}}}|<li value=4>{{{footnote4|}}}</li>
}}{{#if:{{{footnote5|}}}|<li value=5>{{{footnote5|}}}</li>
! Membership
}}{{#if:{{{footnote6|}}}|<li value=6>{{{footnote6|}}}</li>
{{!}} {{{membership}}}
}}{{#if:{{{footnote7|}}}|<li value=7>{{{footnote7|}}}</li>
{{!}}-
}}{{#if:{{{footnote8|}}}|<li value=8>{{{footnote8|}}}</li>}}
}}
</ol></div>}}
{{#if:{{{population<includeonly>|</includeonly>}}}|

! Population
| data138 = {{#if:{{{footnotes|}}}|<div class="ib-country-fn">{{{footnotes}}}{{#if:{{{footnotes2|}}}|<br>{{{footnotes2}}}}}</div>}}
{{!}} {{{population}}}

{{!}}-
| belowclass = mergedtoprow noprint
}}
| below = {{#if:{{{navbar|}}}| {{navbar|{{{navbar|}}}}} }}
{{#if:{{{foundationDate<includeonly>|</includeonly>}}}|
}}{{#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>
! Date of foundation
{{documentation}}
{{!}} {{{foundationDate}}}
</noinclude>
{{!}}-
}}
{{#if:{{{leadership<includeonly>|</includeonly>}}}|
! Leadership
{{!}} {{{leadership}}}
{{!}}-
}}
{{#if:{{{purpOrgStruct<includeonly>|</includeonly>}}}|
! Organisational structure
{{!}} {{{purpOrgStruct}}}
{{!}}-
}}
{{#if:{{{language<includeonly>|</includeonly>}}}|
! Language
{{!}} {{{language}}}
{{!}}-
}}
{{#if:{{{religion<includeonly>|</includeonly>}}}|
! Religion
{{!}} {{{religion}}}
{{!}}-
}}
{{#if:{{{purpCurrency<includeonly>|</includeonly>}}}|
! Purported currency
{{!}} {{{purpCurrency}}}
{{!}}-
}}
{{#if:{{{currencycode<includeonly>|</includeonly>}}}|
! Currency code
{{!}} {{{currencycode}}}
{{!}}-
}}
{{#if:{{{capital<includeonly>|</includeonly>}}}|
! Capital
{{!}} {{{capital}}}
{{!}}-
}}
{{#if:{{{ethnicgroups<includeonly>|</includeonly>}}}|
! Ethnic groups
{{!}} {{{ethnicgroups}}}
{{!}}-
}}
{{#if:{{{demonym<includeonly>|</includeonly>}}}|
! Demonym
{{!}} {{{demonym}}}
{{!}}-
}}
{{#if:{{{gdp<includeonly>|</includeonly>}}}|
! Claimed GDP
{{!}} {{{gdp}}}
{{!}}-
}}
{{#if:{{{timezone<includeonly>|</includeonly>}}}|
! Time zone
{{!}} {{{timezone}}}
{{!}}-
}}
{{#if:{{{footnotes<includeonly>|</includeonly>}}}|
{{!}} colspan=2 {{!}} {{{footnotes}}}
{{!}}-
}}
|}<noinclude>{{Documentation}}</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: