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 13:15, 2 June 2024 editAhecht (talk | contribs)Edit filter managers, Autopatrolled, Administrators64,901 edits fix date display← Previous edit Latest revision as of 22:35, 18 October 2024 edit undoLunaEatsTuna (talk | contribs)Autopatrolled, Extended confirmed users12,678 editsNo edit summary 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#invoke:Infobox|infoboxTemplate
{{infobox
|templatestyles = Template:Infobox country/styles.css
| bodyclass = ib-country vcard | bodyclass = ib-country vcard
| aboveclass = adr | aboveclass = adr
Line 14: Line 15:
}}}}</div> }}}}</div>
}} }}
|{{{name|}}} |<div class="fn org country-name">{{{name|{{PAGENAMEBASE}}}}}</div>}}
}}


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


| image = {{{image|}}} | image = {{{image|}}}
Line 33: Line 38:
-->{{#if:{{{map_caption2|{{{image_map2_caption|}}}}}}|<div class="ib-country-map-caption">{{{map_caption2|{{{image_map2_caption|}}}}}}</div>}} }} -->{{#if:{{{map_caption2|{{{image_map2_caption|}}}}}}|<div class="ib-country-map-caption">{{{map_caption2|{{{image_map2_caption|}}}}}}</div>}} }}


| label7 = Area claimed | label7 = Area&nbsp;claimed
| data7 = {{{loctext|{{{area_claimed|}}}}}}{{#if:{{{coordinates|}}}|<br/>{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}}} | 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 | label22 = Type
| data22 = {{{org_type|{{{type|}}}}}} | data22 = {{{org_type|{{{type|}}}}}}


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


| label44 = Dates claimed | label44 = Dates&nbsp;claimed
| data44 = {{#if:{{{dates_claimed|}}}{{{dates|}}}|{{{dates_claimed|{{{dates}}}}}}| | data44 = {{#if:{{{dates_claimed|}}}{{{dates|}}}{{{life_span|}}}|{{{dates_claimed|{{{dates|{{{life_span}}}}}}}}}|
{{#if:{{{established|}}}{{{established_date1|}}}{{{date_start|}}}{{{year_start|}}} {{#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}} |{{{established|{{{established_date1|{{{date_start|{{{year_start|}}}}}}}}}}}}–{{#if:{{{disestablished|}}}{{{date_end|}}}{{{year_end|}}}|{{{disestablished|{{{date_end|{{{year_end}}}}}}}}}|present}}
Line 49: Line 54:
}} }}
}} }}

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


| data129 = {{#if:{{{official_website|}}} | data129 = {{#if:{{{official_website|}}}
Line 54: Line 61:
}} }}


| data130= {{#if:{{{image3|{{{image_map3|{{{location_map|}}}}}}}}}|{{#if:{{{image_map3|{{{location_map|}}}}}}| | data130 = {{#if:{{{image3|}}}{{{image_map3|}}}{{{location_map|}}}|{{#if:{{{image_map3|{{{location_map|}}}}}}
| {{#invoke:InfoboxImage|InfoboxImage|image={{{image_map3|{{{location_map|}}}}}}|size={{{map3_width|}}}|upright=1.15|alt={{{alt3|{{{alt_map3|}}}}}}|title=Location of {{{common_name|{{{name|{{{linking_name|{{PAGENAME}} }}} }}} }}} }}|{{{image3|}}}}}<!-- |{{#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|}}}}}}|<div class="ib-country-map-caption3">{{{map_caption3|}}}</div>}} -->{{#if:{{{caption3|}}}{{{map_caption3|}}}{{{image_map_caption3|}}}|<div class="ib-country-map-caption3">{{{caption3|{{{map_caption3|{{{image_map_caption3|}}}}}}}}}</div>}}
}} }}


Line 87: Line 94:
| belowclass = mergedtoprow noprint | belowclass = mergedtoprow noprint
| below = {{#if:{{{navbar|}}}| {{navbar|{{{navbar|}}}}} }} | 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|caption|caption2|caption3|claimed_by|common_name|conventional_long_name|coordinates|dates|dates_claimed|date_end|date_start|disestablished|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|leader1|leader_name1|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> }}{{#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>
{{documentation}} {{documentation}}
</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: