Difference between revisions of "Template:Exo-CBX"

From blackwiki
Jump to navigation Jump to search
imported>AforgottenDream
(Fixing "Multiple unclosed formatting tags" lint error)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name            = Exo-CBX
 
| name            = Exo-CBX
| title            = [[Exo-CBX|<font color=#717171>Exo-</span><font color=#00d406>C</span><font color=#01acd8>B</span><font color=#ff090a>X</span>]]
+
| title            = [[Exo-CBX|<span style="color:#717171">Exo-</span><span style="color:#00d406">C</span><span style="color:#01acd8">B</span><span style="color:#ff090a">X</span>]]
 
| state            = {{{state|autocollapse}}}
 
| state            = {{{state|autocollapse}}}
 
| bodyclass        = hlist
 
| bodyclass        = hlist

Revision as of 13:47, 23 March 2019

Initial visibility: currently defaults to autocollapse

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

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