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

From blackwiki
Jump to navigation Jump to search
(disabled categorization)
imported>Frietjes
Line 1: Line 1:
{{#if: {{{bar|}}}|<!--if set then do bar
+
{{{{#if:{{{bar|}}}|Navbox|Sidebar}}
-->{{Navbox
+
|name  = History of England
|name = History of England bar
+
|bodyclass = vcard
 +
|title = {{#if:{{{bar|}}}
 +
| [[History of England]]
 +
|{{region history sidebar title
 +
| country  = England
 +
  | image    = [[File:Royal Arms of England (1198-1340).svg|100px|Coat of arms of England]]
 +
}}}}
  
|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]]
+
| headingstyle = background:#eee
|list1  = <!--Chronological order?-->
+
| contentstyle = text-align:left
* [[Prehistoric Britain|Prehistoric]]
+
 
 +
| listclass    = hlist
 +
| state        = {{{state<includeonly>|collapsed</includeonly>}}}
 +
 
 +
|{{#if:{{{bar|}}}|group|heading}}1 = [[Timeline of English history|Timeline]]
 +
|{{#if:{{{bar|}}}|data|content}}1 =
 +
* [[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]]
+
** [[Anglo-Saxon England]]
* [[History of Anglo-Saxon England|Anglo-Saxon England]]
+
***[[Anglo-Saxon_England#English_unification_.2810th_century.29|English unification]]
* [[Kingdom of England]]
+
** [[England in the High Middle Ages|High Middle Ages]]
* [[Norman conquest of England|Norman conquest]]
+
***[[Norman conquest of England|Norman conquest]]
* [[Angevin Empire]]
+
*** [[History_of_England#Norman_England|Norman England]]
* [[Wars of the Roses]]
+
** [[England in the Late Middle Ages|Late Middle Ages]]
 +
*** [[Black Death in England]]
 
* [[Tudor period]]
 
* [[Tudor period]]
* [[Stuart period (England)|Stuart period]]
+
**[[Tudor dynasty]]
* [[English Renaissance]]
+
**[[Elizabethan era|Elizabethan period]]
* [[English Reformation]]
+
**[[English Renaissance]]
* [[Elizabethan era]]
+
* [[Stuart period]]
* [[Jacobean era]]
+
** [[English Civil War]]
* [[English Civil War|Civil War]]
+
** [[Commonwealth of England|Commonwealth]]
* [[Acts of Union 1707|Union with Scotland]]
+
** [[The Protectorate|Protectorate]]
* [[Georgian era]]
+
** [[Restoration (England)|Restoration]]
* [[British Regency|Regency]]
+
** [[Glorious Revolution]]
* [[Victorian era]]
+
*[[Georgian era|Georgian period]]
* [[Edwardian period]]
+
**[[Regency era|Regency period]]
* [[The Blitz]]  
+
* [[Victorian era|Victorian period]]
 +
* [[Edwardian era|Edwardian period]]
 +
* [[History of the United Kingdom during World War I|World War I]]
 +
* [[History_of_the_United_Kingdom#Interwar_era|Interwar period]]
 +
* [[History_of_the_United_Kingdom#World_War_II|World War II]]
 +
* [[History of the United Kingdom (1945–present)|Postwar period]]
  
|group2 = [[Counties of England|By county]]
+
|{{#if:{{{bar|}}}|group|heading}}2 = Topics
|list2  =
+
|{{#if:{{{bar|}}}|data|content}}2 =
* [[History of Bedfordshire|Bedfordshire]]
+
* [[Social history of England]]
* [[History of Berkshire|Berkshire]]
+
* [[History of education in England]]
* [[History of Bristol|City of Bristol]]
+
* [[Economy_of_England#History|History of the economy of England]]
* [[History of Buckinghamshire|Buckinghamshire]]
+
* [[Politics_of_England#Political_history|History of the politics of England]]
* [[History of Cambridgeshire|Cambridgeshire]]
+
* [[English overseas possessions]]
* [[History of Cheshire|Cheshire]]
+
* [[History of the English language]]
* [[History of Cornwall|Cornwall]]
 
* [[History of Cumbria|Cumbria]]
 
* [[History of Derbyshire|Derbyshire]]
 
* [[History of Devon|Devon]]
 
* [[History of Dorset|Dorset]]
 
* [[History of Durham|Durham]]
 
* [[History of the East Riding of Yorkshire|East Riding of Yorkshire]]
 
* [[History of East Sussex|East Sussex]]
 
* [[History of Essex|Essex]]
 
* [[History of Gloucestershire|Gloucestershire]]
 
* [[History of Greater London|Greater London]]
 
* [[History of Greater Manchester|Greater Manchester]]
 
* [[History of Hampshire|Hampshire]]
 
* [[History of Herefordshire|Herefordshire]]
 
* [[History of Hertfordshire|Hertfordshire]]
 
* [[History of the Isle of Wight|Isle of Wight]]
 
* [[History of Kent|Kent]]
 
* [[History of Lancashire|Lancashire]]
 
* [[History of Leicestershire|Leicestershire]]
 
* [[History of Lincolnshire|Lincolnshire]]
 
* [[History of London|City of London]]
 
* [[History of Merseyside|Merseyside]]
 
* [[History of Norfolk|Norfolk]]
 
* [[History of Northamptonshire|Northamptonshire]]
 
* [[History of Northumberland|Northumberland]]
 
* [[History of North Yorkshire|North Yorkshire]]
 
* [[History of Nottinghamshire|Nottinghamshire]]
 
* [[History of Oxfordshire|Oxfordshire]]
 
* [[History of Rutland|Rutland]]
 
* [[History of Shropshire|Shropshire]]
 
* [[History of Somerset|Somerset]]
 
* [[History of South Yorkshire|South Yorkshire]]
 
* [[History of Staffordshire|Staffordshire]]
 
* [[History of Suffolk|Suffolk]]
 
* [[History of Surrey|Surrey]]
 
* [[History of Tyne and Wear|Tyne and Wear]]
 
* [[History of Warwickshire|Warwickshire]]
 
* [[History of the West Midlands|West Midlands]]
 
* [[History of West Sussex|West Sussex]]
 
* [[History of West Yorkshire|West Yorkshire]]
 
* [[History of Wiltshire|Wiltshire]]
 
* [[History of Worcestershire|Worcestershire]]
 
  
|group3 = [[City status in the United Kingdom|By city]]
+
|{{#if:{{{bar|}}}|group|heading}}3 = Polities
|list3  = 
+
|{{#if:{{{bar|}}}|data|content}}3 =
* [[History of Birmingham|Birmingham]]
 
* [[History of Bournemouth|Bournemouth]]
 
* [[History of Brighton|Brighton]]
 
* [[History of Bristol|Bristol]]
 
* [[History of Chester|Chester]]
 
* [[History of Christchurch, Dorset|Christchurch]]
 
* [[History of Colchester|Colchester]]
 
* [[History of Coventry|Coventry]]
 
* [[History of Dover|Dover]]
 
* [[History of Folkestone|Folkestone]]
 
* [[History of Leeds|Leeds]]
 
* [[History of Liverpool|Liverpool]]
 
* [[History of London|London]]
 
* [[History of Maidstone|Maidstone]]
 
* [[History of Manchester|Manchester]]
 
* [[History of Milton Keynes|Milton Keynes]]
 
* [[History of Newcastle upon Tyne|Newcastle]]
 
* [[History of Nottingham|Nottingham]]
 
* [[History of Plymouth|Plymouth]]
 
* [[History of Poole|Poole]]
 
* [[History of Portsmouth|Portsmouth]]
 
* [[History of Reading, Berkshire|Reading]]
 
* [[History of Rochester, Kent|Rochester]]
 
* [[History of Sheffield|Sheffield]]
 
* [[History of Shrewsbury|Shrewsbury]]
 
* [[History of Southampton|Southampton]]
 
* [[History of St Albans|St Albans]]
 
* [[History of Torquay|Torquay]]
 
* [[History of Wetherby|Wetherby]]
 
* [[History of York|York]]
 
|below = '''[[Portal:England|England portal]]'''
 
}}<!----------------------------- 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]]
 
* [[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]]
 
* [[Kingdom of Great Britain]]
* [[Economic history of the United Kingdom]]
+
* [[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]]}}
+
|belowstyle = {{#if:{{{bar|}}}|font-weight:bold|border-top:#aaa 1px solid;border-bottom:#aaa 1px solid;}}
}}<!--End if-->}}<!--
+
|below = {{portal-inline|England|size=tiny}}
  Add your experimental template code above here
+
 
--><noinclude>
+
}}<noinclude>
{{clear}}
 
<pre>
 
 
{{documentation}}
 
{{documentation}}
</pre>
 
 
</noinclude>
 
</noinclude>

Revision as of 18:50, 7 August 2014

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