Difference between revisions of "Template:Hadean footer"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(was "open" - updated to "expanded")
imported>Hike395
(autocollapse: period navbox often used on pages with many navboxes (see, e.g., Pleistocene) --- forcing to open looks odd)
Line 2: Line 2:
 
|name=Hadean Footer
 
|name=Hadean Footer
 
|listclass = hlist
 
|listclass = hlist
|state = {{{state|expanded}}}
+
|state = {{{state|autocollapse}}}
 
|title=[[Hadean|Hadean Eon]]
 
|title=[[Hadean|Hadean Eon]]
 
|titlestyle= border-style:solid; border-color:transparent {{Period color|hadean}}; border-width: 0 2.7em;
 
|titlestyle= border-style:solid; border-color:transparent {{Period color|hadean}}; border-width: 0 2.7em;

Revision as of 15:01, 6 October 2018

Template documentation[view] [edit] [history] [purge]

Usage

Place this navbar template at the bottom of appropriate articles listed in the template. If preference/consensus is to remove the comment at the bottom, then use the parameter |comment=no, as in:

  • {{Hadean footer|comment=no}}

That will remove the entire bottom ("below") section.

Initial visibility: currently defaults to autocollapse

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

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

Template:Period navbars

Source