Difference between revisions of "Template:History of England/sandbox"

From blackwiki
Jump to navigation Jump to search
(disabled categorization)
imported>PBS
(copy text from live version into sandbox)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{bar|}}}|<!--if set then do bar
+
{{{{#if:{{{bar|}}}|Navbox|Sidebar with collapsible lists}}
-->{{Navbox
+
|name  = History of England
|name  = History of England bar
+
|bodyclass = vcard
 +
|wraplinks = true
 +
|title = {{#if:{{{bar|}}}
 +
|<!-- if bar -->[[History of England]]
 +
|<!-- else -->{{region history sidebar title
 +
  | country  = England
 +
  | image    = [[File:Atlas Van der Hagen-KW1049B11 004-A NEW MAP OF THE KINGDOME of ENGLAND, Representing the Princedome of WALES, and other PROVINCES, CITIES, MARKET TOWNS, with the ROADS from TOWN to TOWN.jpeg|150px|NEW MAP OF THE KINGDOME of ENGLAND, Representing the Princedome of WALES, and other PROVINCES, CITIES, MARKET TOWNS, with the ROADS from TOWN to TOWN (1685)]]}}
 +
}}<!-- end if -->
  
|image = [[File:Royal Arms of England (1198-1340).svg|75px|Coat of Arms of England]]
+
| image     = {{#if:{{{bar|}}}|[[File:Royal Arms of England (1198-1340).svg|75px|Coat of Arms of England]]}}
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|title = [[History of England]]
 
|listclass = hlist
 
  
|group1 = [[History of England|General]]
+
| listtitlestyle = background:#eee; text-align:center;
|list1 = <!--Chronological order?-->
+
| state = {{{state<includeonly>|collapsed</includeonly>}}}
* [[Prehistoric Britain|Prehistoric]]
+
 
 +
|{{#if:{{{bar|}}}|group1|list1title}} = [[Timeline of English history|Timeline]]
 +
|list1 = <div {{#if:{{{bar|}}}|class="hlist"|style="text-align:left"}}>
 +
* [[Prehistoric Britain]]
 
* [[Roman Britain]]
 
* [[Roman Britain]]
 +
* [[Sub-Roman Britain]]
 
* [[England in the Middle Ages|Medieval period]]
 
* [[England in the Middle Ages|Medieval period]]
* [[Lloegyr]]
+
** [[Economy of England in the Middle Ages|Economy in the Middle Ages]]
* [[Heptarchy]]
+
** [[History of Anglo-Saxon England|Anglo-Saxon period]]
* [[History of Anglo-Saxon England|Anglo-Saxon England]]
+
***[[History of Anglo-Saxon England#English_unification_.2810th_century.29|English unification]]
 +
** [[England in the High Middle Ages|High Middle Ages]]
 +
***[[Norman conquest of England|Norman conquest]]
 +
*** [[History of England#Norman England|Norman period]]
 +
** [[England in the Late Middle Ages|Late Middle Ages]]
 +
*** [[Black Death in England]]
 +
* [[Tudor period]]
 +
**[[Tudor dynasty]]
 +
**[[Elizabethan era|Elizabethan period]]
 +
**[[English Renaissance]]
 +
* [[Stuart period]]
 +
** [[English Civil War]]
 +
** [[Commonwealth of England|Commonwealth]]
 +
** [[The Protectorate|Protectorate]]
 +
** [[Restoration (England)|Restoration]]
 +
** [[Glorious Revolution]]
 +
*[[Georgian era|Georgian period]]
 +
**[[Regency era|Regency period]]
 +
* [[Victorian era|Victorian period]]
 +
* [[Edwardian era|Edwardian period]]
 +
* [[History of the United Kingdom during the First World War|First World War]]
 +
* [[History_of_the_United_Kingdom#Interwar_era_1918–1939|Interwar period]]
 +
* [[History_of_the_United_Kingdom#Second_World_War_1939–1945|Second World War]]
 +
* [[Social history of the United Kingdom (1945–present)]]
 +
* [[Political history of the United Kingdom (1945–present)]]
 +
</div>
 +
|{{#if:{{{bar|}}}|group2|list2title}} = Topics
 +
|list2=<div {{#if:{{{bar|}}}|class="hlist"|class="plainlist"}}>
 +
* [[Social history of England]]
 +
* [[History of education in England]]
 +
* [[Economy_of_England#History|History of the economy of England]]
 +
* [[Politics_of_England#Political_history|History of the politics of England]]
 +
* [[English overseas possessions]]
 +
* [[History of the English language]]
 +
</div>
 +
|{{#if:{{{bar|}}}|group3|list3title}} = Polities
 +
|list3=<div {{#if:{{{bar|}}}|class="hlist"|class="plainlist"}}>
 
* [[Kingdom of England]]
 
* [[Kingdom of England]]
* [[Norman conquest of England|Norman conquest]]
+
* [[Kingdom of Great Britain]]
* [[Angevin Empire]]
+
* [[United Kingdom]]
* [[Wars of the Roses]]
+
</div>
* [[Tudor period]]
+
|{{#if:{{{bar|}}}|group4|list4title}} = [[Counties of England|By county]]
* [[Stuart period (England)|Stuart period]]
+
|list4 = <div class="hlist">
* [[English Renaissance]]
 
* [[English Reformation]]
 
* [[Elizabethan era]]
 
* [[Jacobean era]]
 
* [[English Civil War|Civil War]]
 
* [[Acts of Union 1707|Union with Scotland]]
 
* [[Georgian era]]
 
* [[British Regency|Regency]]
 
* [[Victorian era]]
 
* [[Edwardian period]]
 
* [[The Blitz]]
 
 
 
|group2 = [[Counties of England|By county]]
 
|list2  =
 
 
* [[History of Bedfordshire|Bedfordshire]]
 
* [[History of Bedfordshire|Bedfordshire]]
 
* [[History of Berkshire|Berkshire]]
 
* [[History of Berkshire|Berkshire]]
Line 84: Line 114:
 
* [[History of Wiltshire|Wiltshire]]
 
* [[History of Wiltshire|Wiltshire]]
 
* [[History of Worcestershire|Worcestershire]]
 
* [[History of Worcestershire|Worcestershire]]
 
+
</div>
|group3 = [[City status in the United Kingdom|By city]]
+
|{{#if:{{{bar|}}}|group5|list5title}} =[[City status in the United Kingdom|By city or town]]
|list3 =
+
|list5 = <div class="hlist">
 
* [[History of Birmingham|Birmingham]]
 
* [[History of Birmingham|Birmingham]]
 
* [[History of Bournemouth|Bournemouth]]
 
* [[History of Bournemouth|Bournemouth]]
Line 102: Line 132:
 
* [[History of Maidstone|Maidstone]]
 
* [[History of Maidstone|Maidstone]]
 
* [[History of Manchester|Manchester]]
 
* [[History of Manchester|Manchester]]
 +
* [[History of Margate|Margate]]
 
* [[History of Milton Keynes|Milton Keynes]]
 
* [[History of Milton Keynes|Milton Keynes]]
 
* [[History of Newcastle upon Tyne|Newcastle]]
 
* [[History of Newcastle upon Tyne|Newcastle]]
Line 116: Line 147:
 
* [[History of Torquay|Torquay]]
 
* [[History of Torquay|Torquay]]
 
* [[History of Wetherby|Wetherby]]
 
* [[History of Wetherby|Wetherby]]
 +
* [[History of Worcester|Worcester]]
 +
* [[History of Worthing|Worthing]]
 
* [[History of York|York]]
 
* [[History of York|York]]
|below = '''[[Portal:England|England portal]]'''
+
</div>
}}<!----------------------------- else do side column------------------------->
+
|belowstyle = {{#if:{{{bar|}}}|font-weight:bold}}
|{{Region history
+
|below = {{portal-inline|England|size=tiny}}
| country  = England
 
| width    = 18em
 
| image    = [[File:Royal Arms of England (1198-1340).svg|100px|Coat of arms of England]]
 
| bold      = no
 
| bodyclass = plainlist
 
  
| data1 =
+
}}<noinclude>
* '''[[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
 
--><noinclude>
 
{{clear}}
 
<pre>
 
 
{{documentation}}
 
{{documentation}}
</pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 08:38, 21 June 2019

Template:Region history sidebar title
Template documentation[view] [edit] [history] [purge]

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}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

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