Difference between revisions of "Template:Evanescence/doc"

From blackwiki
Jump to navigation Jump to search
imported>ScottMHoward
(Created documentation)
 
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
+
<!-- Categories go at the bottom of this page. -->
  
This navigational template is used on every major [[Evanescence]]-related article.
+
{{collapsible option}}
 
+
<includeonly>{{Sandbox other||
==Usage==
+
<!-- Categories go here:-->
;Default template
+
[[Category:United States alternative rock group navigational boxes]]
{{pre2|<nowiki>{{Evanescence}}</nowiki>}}
+
}}</includeonly>
 
 
==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==
 
{{pre2|<nowiki>{{Evanescence | collapse = on }}</nowiki>}}
 
{{Evanescence|collapse=on}}
 
{{pre2|<nowiki>{{Evanescence | collapse = off }}</nowiki>}}
 
{{Evanescence|collapse=off}}
 
 
 
<includeonly>
 
<!-- Categories and interwikis go here:-->
 
[[Category:Evanescence|{{PAGENAME}}]]
 
[[Category:American alternative rock groups templates|{{PAGENAME}}]]
 
 
 
[[fr:Modèle:Palette Evanescence]]
 
[[he:תבנית:אוונסנס]]
 
[[hr:Predložak:Evanescence]]
 
[[pt:Predefinição:Evanescence]]
 
[[ru:Шаблон:Evanescence]]
 
</includeonly>
 

Latest revision as of 01:47, 25 April 2020

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.