Difference between revisions of "Template:History of Scotland/sandbox"
imported>PBS |
imported>PBS (new format which allows footnote navigation as an option) |
||
| Line 1: | Line 1: | ||
| − | {{Sidebar with collapsible lists | + | {{{{#if:{{{bar|}}}|Navbox|Sidebar with collapsible lists}} |
| − | + | |name = History of Scotland | |
| − | + | |bodyclass = vcard | |
| − | + | |wraplinks = true | |
| − | + | |title = {{#if:{{{bar|}}} | |
| − | | country = Scotland | + | |<!-- if bar -->[[History of Scotland]] |
| − | | image = {{Coat of arms|Scotland|size=95px|text=none}} | + | |<!-- else -->{{region history sidebar title |
| − | }} | + | | country = Scotland |
| − | + | | image = {{Coat of arms|Scotland|size=95px|text=none}} }} | |
| − | + | }}<!-- end if --> | |
| − | + | | image = {{#if:{{{bar|}}}|{{Coat of arms|Scotland|size=95px|text=none}} }} | |
| − | + | ||
| − | + | | listtitlestyle = background:#eee; text-align:center; | |
| + | | state = {{{state<includeonly>|collapsed</includeonly>}}} | ||
| + | |||
| + | |{{#if:{{{bar|}}}|group1|list1title}} = Eras | ||
| + | |list1 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}> | ||
* [[Prehistoric Scotland|Prehistoric]] ([[Timeline of prehistoric Scotland|timeline]]) | * [[Prehistoric Scotland|Prehistoric]] ([[Timeline of prehistoric Scotland|timeline]]) | ||
* [[Scotland during the Roman Empire|During the Roman Empire]] | * [[Scotland during the Roman Empire|During the Roman Empire]] | ||
| Line 22: | Line 26: | ||
* [[Scotland in the modern era|Modern]] | * [[Scotland in the modern era|Modern]] | ||
* [[Timeline of Scottish history|History (timeline)]] | * [[Timeline of Scottish history|History (timeline)]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group2|list2title}} = [[List of Scottish monarchs|Rule]] | |
| − | + | |list2=<div {{#if:{{{bar|}}}|class="hlist"|class="plainlist"}}> | |
| − | |||
* [[House of Alpin]] (843–878; 889–1040) | * [[House of Alpin]] (843–878; 889–1040) | ||
* [[House of Moray]] (1040–1058) | * [[House of Moray]] (1040–1058) | ||
| Line 34: | Line 37: | ||
* [[Scotland under the Commonwealth|Commonwealth]] (1652–1660) | * [[Scotland under the Commonwealth|Commonwealth]] (1652–1660) | ||
* [[Acts of Union 1707]] | * [[Acts of Union 1707]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group3|list3title}} = Topics | |
| − | + | |list3=<div {{#if:{{{bar|}}}|class="hlist"|class="plainlist"}}> | |
| − | |||
* [[Scandinavian Scotland]] | * [[Scandinavian Scotland]] | ||
* [[Wars of Scottish Independence|Wars of independence]] | * [[Wars of Scottish Independence|Wars of independence]] | ||
| Line 56: | Line 58: | ||
* [[Demographic history of Scotland |Demography]] | * [[Demographic history of Scotland |Demography]] | ||
* [[Natural history of Scotland|Natural history]] | * [[Natural history of Scotland|Natural history]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group4|list4title}} = [[Culture of Scotland|Culture]] | |
| − | + | |list4 = <div class="hlist"> | |
| − | |||
* [[Architecture in Scotland|Architecture]] | * [[Architecture in Scotland|Architecture]] | ||
* [[Scottish art|Art]] | * [[Scottish art|Art]] | ||
* [[History of the kilt|The Kilt]] | * [[History of the kilt|The Kilt]] | ||
* [[Scottish literature|Literature]] | * [[Scottish literature|Literature]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group5|list5title}} = [[Politics of Scotland|Politics]] | |
| − | + | |list5 = <div class="hlist"> | |
| − | |||
* [[History of Scottish devolution|Devolution]] | * [[History of Scottish devolution|Devolution]] | ||
* [[History of local government in Scotland|Local government]] | * [[History of local government in Scotland|Local government]] | ||
* [[History of the Scottish National Party|Scottish National Party]] | * [[History of the Scottish National Party|Scottish National Party]] | ||
* [[History of the Scottish Socialist Party|Scottish Socialist Party]] | * [[History of the Scottish Socialist Party|Scottish Socialist Party]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group6|list6title}} =[[Sport in Scotland|Sport]] | |
| − | + | |list6 = <div class="hlist"> | |
| − | |||
* [[History of football in Scotland|Football]] | * [[History of football in Scotland|Football]] | ||
* [[History of rugby union in Scotland|Rugby union]] | * [[History of rugby union in Scotland|Rugby union]] | ||
* [[History of the Scotland national football team|National football team]] | * [[History of the Scotland national football team|National football team]] | ||
* [[Golf in Scotland|Golf]] | * [[Golf in Scotland|Golf]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group7|list7title}} = [[Religion in Scotland|Religion]] | |
| − | + | |list7 = <div class="hlist"> | |
| − | |||
* [[History of Christianity in Scotland|Christianity]] | * [[History of Christianity in Scotland|Christianity]] | ||
** [[Scottish Reformation]] | ** [[Scottish Reformation]] | ||
| Line 90: | Line 88: | ||
* [[History of the Jews in Scotland|Jews and Judaism]] | * [[History of the Jews in Scotland|Jews and Judaism]] | ||
* [[Islam_in_Scotland#History|Islam and Muslims]] | * [[Islam_in_Scotland#History|Islam and Muslims]] | ||
| − | + | </div> | |
| − | + | |{{#if:{{{bar|}}}|group7=8|list8title}} = By Region | |
| − | + | |list8 = <div class="hlist"> | |
| − | |||
* [[Timeline of Edinburgh history|Edinburgh timeline]] | * [[Timeline of Edinburgh history|Edinburgh timeline]] | ||
* [[Timeline of Glasgow history|Glasgow timeline]] | * [[Timeline of Glasgow history|Glasgow timeline]] | ||
| − | + | </div> | |
| − | + | | belowstyle = {{#if:{{{bar|}}}|font-weight:bold}} | |
| − | + | | below = {{portal-inline|Scotland|size=tiny}} | |
}}<noinclude> | }}<noinclude> | ||
{{documentation}}<!-- end of documentation --> | {{documentation}}<!-- end of documentation --> | ||
</noinclude> | </noinclude> | ||
Revision as of 11:27, 14 October 2017
| Template:Region history sidebar title |
|---|
|
|
By Region |
| This is the template sandbox page for Template:History of Scotland (diff). See also the companion subpage for test cases. |
Usage
If this template is used without any parameters in the format,
{{History of Scotland}}, 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 Scotland|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 Scotland|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{History of Scotland|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{History of Scotland|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 the United Kingdom}}{{History of England}}{{History of Ireland}}{{History of Wales}}{{History of Europe templates}}
| The above documentation is transcluded from Template:History of Scotland/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. |