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 editNext edit →Content 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 Revision as of 13:31, 2 June 2024 edit undoAhecht (talk | contribs)Edit filter managers, Autopatrolled, Administrators64,901 edits add life_span=Next edit →
Line 43: Line 43:


| label44 = Dates claimed | label44 = Dates 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 87: Line 87:
| 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|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|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>

Revision as of 13:31, 2 June 2024

Unrecognized micronation
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}}}
Unrecognized micronation
{{{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}}}
{{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
Unrecognized micronation
Location of Principality of Sealand
Aerial view of Sealand in 1999Aerial view of Sealand in 1999
Area claimedthe 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
Unrecognized micronation
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. Categories: