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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(created. add categories from main template.)
 
imported>Frietjes
Line 2: Line 2:
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
== Usage ==
 
== Usage ==
 
== See also ==
 
== Note ==
 
 
{{collapsible option}}
 
{{collapsible option}}
 
<includeonly>
 
<includeonly>
<!-- Categories and interwikis 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>

Revision as of 14:19, 31 August 2017

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.