Difference between revisions of "Template:History of the British Isles"
imported>PBS (move categories into documentation) |
imported>Hildeoc (list hierarchy) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Sidebar with collapsible lists | + | {{{{#if:{{{bar|}}}|Navbox|Sidebar with collapsible lists}} |
| name = History of the British Isles | | name = History of the British Isles | ||
| bodyclass = vcard {{#if:{{{collapsed|}}}|collapsible collapsed}} | | bodyclass = vcard {{#if:{{{collapsed|}}}|collapsible collapsed}} | ||
| wraplinks = true | | wraplinks = true | ||
| contentclass = wrap | | contentclass = wrap | ||
| − | | title = {{Region history sidebar title | + | | title = {{#if:{{{bar|}}} |
| − | + | |<!-- if bar -->[[History of the British Isles]] | |
| − | + | |<!-- else -->{{Region history sidebar title | |
| − | + | |region = the British Isles | |
| − | }} | + | |linkoverride = [[History of the British Isles|History of the British Isles]] |
| − | + | |image = {{#ifeq:{{{expanded|overview}}}|none||[[File:Stonehenge Closeup.jpg|220px|center]]}} | |
| + | }} | ||
| + | }} | ||
| − | |list1title = [[History of the British Isles|Overview]] | + | |image = {{#if:{{{bar|}}}|[[File:Stonehenge Closeup.jpg|75px]]}} |
| − | | | + | |
| − | | | + | |
| + | | listtitlestyle = <!--background:#eee;--> text-align:left; | ||
| + | | state = {{{state<includeonly>|collapsed</includeonly>}}} | ||
| + | |||
| + | |{{#if:{{{bar|}}}|group1|list1title}} = [[History of the British Isles|Overview]] | ||
| + | |list1 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> | ||
*[[History of the United Kingdom|United Kingdom]] | *[[History of the United Kingdom|United Kingdom]] | ||
**[[History of England|England]] | **[[History of England|England]] | ||
| Line 31: | Line 38: | ||
**[[History of Jersey|Jersey]] | **[[History of Jersey|Jersey]] | ||
**[[History of Guernsey|Guernsey]] | **[[History of Guernsey|Guernsey]] | ||
| − | + | </div> | |
| − | |list2title = [[History of the British Isles#Prehistoric|Prehistoric period]] | + | |{{#if:{{{bar|}}}|group2|list2title}} = [[History of the British Isles#Prehistoric|Prehistoric period]] |
| − | | | + | |list2=<div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> |
| − | | | ||
*[[Prehistoric Britain]] | *[[Prehistoric Britain]] | ||
**[[History of England#Prehistory|Prehistoric England]] | **[[History of England#Prehistory|Prehistoric England]] | ||
| Line 43: | Line 49: | ||
*[[Prehistoric Ireland]] | *[[Prehistoric Ireland]] | ||
*[[History of the Isle of Man#Prehistory|Prehistoric Mann]] | *[[History of the Isle of Man#Prehistory|Prehistoric Mann]] | ||
| − | + | </div> | |
| − | |list3title = [[History of the British Isles#Classical period|Classical period]] | + | |{{#if:{{{bar|}}}|group3|list3title}} = [[History of the British Isles#Classical period|Classical period]] |
| − | | | + | |list3=<div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> |
| − | | | ||
*[[Roman Britain|Roman Britain]] | *[[Roman Britain|Roman Britain]] | ||
*[[Scotland during the Roman Empire|Roman Scotland]] | *[[Scotland during the Roman Empire|Roman Scotland]] | ||
*[[Wales in the Roman era|Roman Wales]] | *[[Wales in the Roman era|Roman Wales]] | ||
*[[Protohistory of Ireland|Protohistoric Ireland]], [[Hiberno-Roman relations|Roman Ireland]] | *[[Protohistory of Ireland|Protohistoric Ireland]], [[Hiberno-Roman relations|Roman Ireland]] | ||
| + | *[[End of Roman rule in Britain|End of Roman rule]] | ||
*[[Sub-Roman Britain]] | *[[Sub-Roman Britain]] | ||
| − | + | </div> | |
| − | |list4title = [[History of the British Isles#Medieval period|Medieval period]] | + | |{{#if:{{{bar|}}}|group4|list4title}} = [[History of the British Isles#Medieval period|Medieval period]] |
| − | | | + | |list4 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> |
| − | | | ||
*[[England in the Middle Ages|Medieval England]] | *[[England in the Middle Ages|Medieval England]] | ||
**[[History of Anglo-Saxon England|Early medieval England]] | **[[History of Anglo-Saxon England|Early medieval England]] | ||
| Line 73: | Line 78: | ||
**[[History of Ireland (1169–1536)|Late medieval Ireland]] | **[[History of Ireland (1169–1536)|Late medieval Ireland]] | ||
*[[History of the Isle of Man#Middle Ages|Medieval Mann]] | *[[History of the Isle of Man#Middle Ages|Medieval Mann]] | ||
| − | + | </div> | |
| − | |list5title = [[History of the British Isles#Early Modern period|Early modern period]] | + | |{{#if:{{{bar|}}}|group5|list5title}} = [[History of the British Isles#Early Modern period|Early modern period]] |
| − | | | + | |list5 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> |
| − | | | ||
*[[Early modern Britain]] | *[[Early modern Britain]] | ||
| − | *[[Tudor period|Early modern England]] | + | **[[Tudor period|Early modern England]] |
| − | *[[Scotland in the early modern period|Early modern Scotland]] | + | **[[Scotland in the early modern period|Early modern Scotland]] |
| − | *[[History of Wales#Early modern period|Early modern Wales]] | + | **[[History of Wales#Early modern period|Early modern Wales]] |
*[[History of Ireland (1536–1691)|Early modern Ireland]] | *[[History of Ireland (1536–1691)|Early modern Ireland]] | ||
*[[History of the Isle of Man#Early Modern period|Early modern Mann]] | *[[History of the Isle of Man#Early Modern period|Early modern Mann]] | ||
| − | + | </div> | |
| − | |list6title = [[History of the British Isles#19th century|Late modern period]] | + | |{{#if:{{{bar|}}}|group6|list6title}} = [[History of the British Isles#19th century|Late modern period]] |
| − | | | + | |list6 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> |
| − | | | ||
*[[History of the United Kingdom|United Kingdom]] (since 1707) | *[[History of the United Kingdom|United Kingdom]] (since 1707) | ||
**[[Victorian era|Victorian period]] | **[[Victorian era|Victorian period]] | ||
| Line 97: | Line 100: | ||
*[[History of the Republic of Ireland|Late modern Ireland]] | *[[History of the Republic of Ireland|Late modern Ireland]] | ||
*[[History of the Isle of Man#Modern period|Late modern Mann]] | *[[History of the Isle of Man#Modern period|Late modern Mann]] | ||
| − | + | </div> | |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 23:14, 30 August 2020
| Template:Region history sidebar title |
|---|
Usage
If this template is used without any parameters in the format,
{{History of the British Isles}}, the sidebar displays down the right-hand side of the page as displayed above.
If the parameter |bar= is set to any value, then the template displays as a bar or box across the width of the page, depending on the use of the parameters in § Additional parameters below. This is the format to use as a navbox at the bottom of an article.
- For example:
{{History of the British Isles|bar=yes}}
- would display as:
If, as in the latter case above, |bar= is set to any value, then the § Additional parameters section applies and the visibility parameters function as described. If |bar= is not used, then those parameters are ignored.
Additional parameters
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{History of the British Isles|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{History of the British Isles|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{History of the British Isles|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
See also
{{History of England}}{{History of Ireland}}{{History of Scotland}}{{History of Wales}}{{History of Europe templates}}
| The above documentation is transcluded from Template:History of the British Isles/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
