Difference between revisions of "Template:Epochs of Roman Emperors"

From blackwiki
Jump to navigation Jump to search
imported>Mrjulesd
(cleanup, got rid of redirects per WP:MOS, removed confusing dates (don't correspond to periods), etc.)
imported>Mrjulesd
(indent)
Line 35: Line 35:
 
*[[Western Roman Empire|Western Roman emperors]] (395–476)
 
*[[Western Roman Empire|Western Roman emperors]] (395–476)
 
*[[List of Byzantine emperors|Eastern Roman/Byzantine emperors]] (395–1453)
 
*[[List of Byzantine emperors|Eastern Roman/Byzantine emperors]] (395–1453)
*[[Empire of Nicaea|Emperors of Nicaea]] (1204–1261)
+
**[[Empire of Nicaea|Emperors of Nicaea]] (1204–1261)
*[[List of Trapezuntine emperors|Emperors of Trebizond]] (1204–1461)
+
**[[List of Trapezuntine emperors|Emperors of Trebizond]] (1204–1461)
*[[Empire of Thessalonica|Emperors of Thessalonica]] (1224–1246)
+
**[[Empire of Thessalonica|Emperors/Despots of Thessalonica]] (1224–1246)
*[[Latin Emperor|Latin emperors]] (1204–1261)
+
**[[Latin Emperor|Latin emperors]] (1204–1261)
 
*[[Holy Roman Emperor|Holy Roman emperors]] (800–1806)
 
*[[Holy Roman Emperor|Holy Roman emperors]] (800–1806)
  

Revision as of 12:24, 31 October 2020

Initial visibility: currently defaults to autocollapse

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

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