Difference between revisions of "Template:History of England/sandbox"
imported>PBS (first cut) |
imported>PBS (if set then do bar) |
||
Line 1: | Line 1: | ||
− | {{#if: {{{bar|}}}|<!-- | + | {{#if: {{{bar|}}}|<!--if set then do bar |
− | --> | + | -->{{Navbox |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|name = History of England bar | |name = History of England bar | ||
Line 152: | Line 118: | ||
* [[History of York|York]] | * [[History of York|York]] | ||
|below = '''[[Portal:England|England portal]]''' | |below = '''[[Portal:England|England portal]]''' | ||
− | }}<!--End if | + | }}<!----------------------------- else do side column-------------------------> |
− | -->}}<!-- | + | |{{Region history |
+ | | country = England | ||
+ | | width = 18em | ||
+ | | image = [[File:Royal Arms of England (1198-1340).svg|100px|Coat of arms of England]] | ||
+ | | bold = no | ||
+ | | bodyclass = plainlist | ||
+ | |||
+ | | data1 = | ||
+ | * '''[[Timeline of English history|Timeline]]''' | ||
+ | | data2 = | ||
+ | * [[Prehistoric Britain]] | ||
+ | * [[Social history of England]] | ||
+ | * [[Roman Britain]] | ||
+ | * [[Sub-Roman Britain]] | ||
+ | * [[Anglo-Saxon England]] | ||
+ | * [[Kingdom of England]] | ||
+ | * [[Anglo-Norman|Anglo-Norman England]] | ||
+ | * [[Economy of England in the Middle Ages]] | ||
+ | * [[House of Plantagenet]] | ||
+ | * [[Angevin Empire]] | ||
+ | * [[House of Lancaster]] | ||
+ | * [[House of York]] | ||
+ | * [[Tudor dynasty|House of Tudor]] | ||
+ | * [[English colonial empire]] | ||
+ | * [[House of Stuart]] | ||
+ | * [[Commonwealth of England]] | ||
+ | * [[The Protectorate]] | ||
+ | * [[Restoration (England)|Stuart Restoration]] | ||
+ | * [[Glorious Revolution]] | ||
+ | * [[Kingdom of Great Britain]] | ||
+ | * [[Economic history of the United Kingdom]] | ||
+ | * {{longlink|[[United Kingdom of Great Britain and Ireland|United Kingdom of Great Britain<br>and Ireland]]}} | ||
+ | * {{longlink|[[United Kingdom|United Kingdom of Great Britain<br>and Northern Ireland]]}} | ||
+ | }}<!--End if-->}}<!-- | ||
Add your experimental template code above here | Add your experimental template code above here | ||
--><noinclude> | --><noinclude> |
Revision as of 15:26, 23 October 2013
![]() | This is the template sandbox page for Template:History of England (diff). See also the companion subpage for test cases. |
Usage
If this template is used without any parameters in the format,
{{History of England}}
, 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 England|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 England|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar|state=expanded
:{{History of England|state=expanded}}
to show the template expanded, i.e., fully visible|state=autocollapse
:{{History of England|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
- Category:United Kingdom templates
{{Periods in English history}}
{{History of Ireland}}
{{History of Scotland}}
{{History of Wales}}
{{History of Europe templates}}
The above documentation is transcluded from Template:History of England/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. |