Difference between revisions of "Template:Empires/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>ToBeFree
(Create sandbox version of Template:Empires)
 
imported>ToBeFree
(Today I learned "undo" can undo multiple edits at once, and in such a nice way. Thanks Huon!)
Line 2: Line 2:
 
| name = Empires
 
| name = Empires
 
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
 
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
| title = [[Empire|{{color|#FFFFFF|Empires}}]]
+
| title = [[Empire]]s
 
| listclass = hlist
 
| listclass = hlist
  
| titlestyle = background:#E17D7D;color:White;
+
| group1 = [[Ancient history|Ancient]]<br>([[Colonies in antiquity|Colonies]])
| groupstyle = background:#E17D7D;color:White;
 
 
 
| group1 = [[Ancient history|{{color|#FFFFFF|Ancient}}]]<br />[[Colonies in antiquity|{{color|#FFFFFF|(Colonies)}}]]
 
 
| list1 =
 
| list1 =
 
* [[Akkadian Empire|Akkadian]]
 
* [[Akkadian Empire|Akkadian]]
Line 24: Line 21:
 
* [[Hellenistic period|Hellenistic]]
 
* [[Hellenistic period|Hellenistic]]
 
** [[Macedonia (ancient kingdom)#Empire|Macedonian]]
 
** [[Macedonia (ancient kingdom)#Empire|Macedonian]]
** [[Seleucid Empire|Seleucid]]
+
** [[Seleucid Empire|Seleucid]]  
 
* [[Hittites|Hittite]]
 
* [[Hittites|Hittite]]
 
* [[History of India|Indian]]
 
* [[History of India|Indian]]
Line 30: Line 27:
 
** [[Maurya Empire|Maurya]]
 
** [[Maurya Empire|Maurya]]
 
** [[Satavahana dynasty|Satavahana]]
 
** [[Satavahana dynasty|Satavahana]]
** [[Shunga Empire|Shunga]]  
+
** [[Shunga Empire|Shunga ]]
 
** [[Gupta Empire|Gupta]]
 
** [[Gupta Empire|Gupta]]
 
** [[Empire of Harsha|Harsha]]
 
** [[Empire of Harsha|Harsha]]
Line 46: Line 43:
 
* [[Teotihuacan]]
 
* [[Teotihuacan]]
  
| group2 = [[Post-classical history|{{color|#FFFFFF|Post-classical}}]]
+
| group2 = [[Post-classical history|Post-classical]]
 
| list2 =
 
| list2 =
 
* [[Kingdom of Aksum|Aksum]]
 
* [[Kingdom of Aksum|Aksum]]
Line 136: Line 133:
 
* [[Ghana Empire|Wagadou]]
 
* [[Ghana Empire|Wagadou]]
  
| group3 = [[Modern history|{{color|#FFFFFF|Modern}}]]
+
| group3 = [[Modern history|Modern]]
 
| list3 =
 
| list3 =
 
* [[Durrani Empire|Afghan]]
 
* [[Durrani Empire|Afghan]]
Line 193: Line 190:
  
 
{{Navbox|subgroup
 
{{Navbox|subgroup
| basestyle  = background:#E17D7D
+
| group1      = [[Colonial empire|Colonial]]
| group1      = [[Colonial empire|{{color|#FFFFFF|Colonial}}]]
+
| list1      =  
| list1      =
+
 
 
* [[United States territorial acquisitions|American]]
 
* [[United States territorial acquisitions|American]]
 
* [[Belgian colonial empire|Belgian]]
 
* [[Belgian colonial empire|Belgian]]
Line 214: Line 211:
 
* [[Spanish Empire|Spanish]]
 
* [[Spanish Empire|Spanish]]
 
* [[Swedish overseas colonies|Swedish]]
 
* [[Swedish overseas colonies|Swedish]]
 +
 
}}
 
}}
  
| group5 = {{color|#FFFFFF|Lists}}
+
| group5 = Lists
 
| list5 =
 
| list5 =
 
* [[List of empires|Empires]]
 
* [[List of empires|Empires]]

Revision as of 01:31, 1 October 2019

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Empires|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Empires|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Empires|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.