Difference between revisions of "Template:Evanescence/doc"

From blackwiki
Jump to navigation Jump to search
imported>Huntster
(Didn't notice those others used tau.)
imported>Plastikspork
(Removed 5 sitelinks migrated to an item on Wikidata)
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
;Default template
+
{{collapsible option}}
{{pre2|<nowiki>{{Evanescence}}</nowiki>}}
 
 
 
==Parameter List==
 
{{pre2|<nowiki>{{Evanescence | collapse= }}</nowiki>}}
 
 
 
:<code>collapse - on, off</code>: sets the <code>state</code> of the box to <code>collapsed</code> or <code>uncollapsed</code>, respectively. If this parameter is omitted, the template defaults to an <code>autocollapse</code> state.
 
  
 
==Examples==
 
==Examples==
{{pre2|<nowiki>{{Evanescence | collapse = on }}</nowiki>}}
+
<code><nowiki>{{Evanescence|state=collapsed}}</nowiki></code>
{{Evanescence|collapse=on}}
+
{{Evanescence|state=collapsed}}
{{pre2|<nowiki>{{Evanescence | collapse = off }}</nowiki>}}
+
<code><nowiki>{{Evanescence|state=expanded}}</nowiki></code>
{{Evanescence|collapse=off}}
+
{{Evanescence|state=expanded}}
  
 
<includeonly>
 
<includeonly>
<!-- Categories and interwikis go here:-->
+
<!-- Categories go here:-->
 
[[Category:Evanescence|τ Evanescence]]
 
[[Category:Evanescence|τ Evanescence]]
[[Category:American alternative rock group navigational boxes|{{PAGENAME}}]]
+
[[Category:American alternative rock group navigational boxes]]
 
 
[[fr:Modèle:Palette Evanescence]]
 
[[he:תבנית:אוונסנס]]
 
[[hr:Predložak:Evanescence]]
 
[[pt:Predefinição:Evanescence]]
 
[[ru:Шаблон:Evanescence]]
 
 
</includeonly>
 
</includeonly>

Revision as of 04:47, 1 November 2014

This navigational template is used on every major Evanescence-related article.

Usage

Initial visibility: currently defaults to autocollapse

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

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

Examples

{{Evanescence|state=collapsed}}

{{Evanescence|state=expanded}}