Difference between revisions of "Template:Citrus/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Funandtrvl
(updte)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
=== Usage ===
+
== Usage ==
 
<nowiki>{{Citrus}}</nowiki>
 
<nowiki>{{Citrus}}</nowiki>
  
 
{{collapsible option}}
 
{{collapsible option}}
  
=== See also ===
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Food navigational boxes]]
 
[[Category:Food navigational boxes]]
 
[[Category:WikiProject Plants templates]]
 
[[Category:WikiProject Plants templates]]
 
+
}}</includeonly>
[[ro:Format:Citrice]]
 
[[ru:Шаблон:Цитрусовые]]
 
</includeonly>
 

Revision as of 23:27, 22 May 2015

Usage

{{Citrus}}

Initial visibility: currently defaults to autocollapse

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

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