Difference between revisions of "Template:Citrus/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)
 
(3 intermediate revisions by 2 users not shown)
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>{{Sandbox other||
 
+
<!-- Categories below this line, please; interwikis at Wikidata -->
<includeonly>
+
[[Category:Botany templates]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
[[Category:Food navigational boxes]]
 
[[Category:Food navigational boxes]]
[[Category:WikiProject Plants templates]]
+
}}</includeonly>
 
 
[[ro:Format:Citrice]]
 
</includeonly>
 

Latest revision as of 14:43, 24 April 2020

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.