Difference between revisions of "Template:Adolf Hitler"

From blackwiki
Jump to navigation Jump to search
blackwiki>HAL333
blackwiki>Blakegripling ph
(Reverted 1 edit by HAL333 (talk): Navbox colour is too distracting (TW))
Line 2: Line 2:
 
| name  = Adolf Hitler
 
| name  = Adolf Hitler
 
| title = [[Adolf Hitler]]
 
| title = [[Adolf Hitler]]
| titlestyle = background:red;
+
| titlestyle = background:#c3c3c3;
| basestyle = background:red;
+
| basestyle = background:#d7d7d7;
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| imagestyle = padding:0 0.5em 1.4em;
 
| imagestyle = padding:0 0.5em 1.4em;
Line 34: Line 34:
 
| list3 =
 
| list3 =
 
{{Navbox|subgroup
 
{{Navbox|subgroup
| basestyle = background:red;
+
| basestyle = background:#d7d7d7;
  
 
| group1 = [[Führer Headquarters]]
 
| group1 = [[Führer Headquarters]]

Revision as of 13:14, 23 April 2020

Initial visibility: currently defaults to autocollapse

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

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