Difference between revisions of "Template:Martin Luther King/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
{{collapsible option}}
 
{{collapsible option}}
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here: -->
 
<!-- Categories go here: -->
 
{{DEFAULTSORT:King, Martin Luther}}
 
{{DEFAULTSORT:King, Martin Luther}}
 
[[Category:People and person templates]]<!--will probably need focusing-->
 
[[Category:People and person templates]]<!--will probably need focusing-->
 
<!--[[Category:Civil rights templates]] --may need focusing-->
 
<!--[[Category:Civil rights templates]] --may need focusing-->
</includeonly>
+
}}</includeonly>

Latest revision as of 00:39, 26 April 2020

Usage

Initial visibility: currently defaults to autocollapse

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

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