Difference between revisions of "Template:Mayhem"

From blackwiki
Jump to navigation Jump to search
(Removed non-links from navbox which don't belong here.)
imported>Izno
(documentation tempalte)
Line 57: Line 57:
 
**[[Lords of Chaos (film)|film]]
 
**[[Lords of Chaos (film)|film]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{documentation|content=
 
{{collapsible option}}
 
{{collapsible option}}
<div class="template-documentation">
 
 
==Syntax==
 
==Syntax==
 
When editing a page about a subject relating to [[Mayhem (band)|Mayhem]], insert the following code at the bottom of the page:
 
When editing a page about a subject relating to [[Mayhem (band)|Mayhem]], insert the following code at the bottom of the page:
Line 64: Line 64:
 
[[Category:Norway heavy metal musical group navigational boxes]]
 
[[Category:Norway heavy metal musical group navigational boxes]]
 
[[Category:Black metal musical group navigational boxes]]
 
[[Category:Black metal musical group navigational boxes]]
</div>
+
 
 
</noinclude>
 
</noinclude>

Revision as of 20:12, 14 July 2019

{{documentation|content= Initial visibility: currently defaults to autocollapse

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

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

Syntax

When editing a page about a subject relating to Mayhem, insert the following code at the bottom of the page:

{{Mayhem}}