Difference between revisions of "Template:Color space/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Created page with '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> == Usage == == Collapsing == {{collapsible option}} ...')
 
imported>Sardanaphalus
(update (parameter), surplus headings, removed duplicated category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!-----Categories at the bottom of this page, please; interwikis to Wikidata.----->
 +
{{Collapsible option |statename=optional}}
  
== Usage ==
 
 
== Collapsing ==
 
{{collapsible option}}
 
 
<includeonly>
 
<includeonly>
<!-- Categories go here, and interwikis go in Wikidata -->
+
<!-----Categories below this line, please; interwikis to Wikidata.-->
[[Category:Color space]]
 
 
[[Category:Technology and applied science templates]]
 
[[Category:Technology and applied science templates]]
 
[[Category:Film and video technology templates]]
 
[[Category:Film and video technology templates]]
 
[[Category:Color space|τ]]
 
[[Category:Color space|τ]]
 
 
</includeonly>
 
</includeonly>

Revision as of 10:24, 17 June 2014

Initial visibility: currently defaults to autocollapse

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

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