Difference between revisions of "Template:History of Turkey timeline"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (state-handling update, category, index)
imported>Kyriakos
m (fix link)
Line 73: Line 73:
 
   barset:break
 
   barset:break
 
   at:-1275 text:"[[Battle of Kadesh]]"
 
   at:-1275 text:"[[Battle of Kadesh]]"
   at:-547  text:[[Battle of Pteira]]
+
   at:-547  text:[[Battle of Pteria]]
 
   at:-333  text:[[Battle of Issus]]
 
   at:-333  text:[[Battle of Issus]]
 
   at:677  text:[[Battle of Syllaeum]]
 
   at:677  text:[[Battle of Syllaeum]]

Revision as of 07:30, 9 October 2016

Initial visibility: currently defaults to collapsed

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

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

See also