Difference between revisions of "Template:Apples/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Northamerica1000
(→‎Usage: + * At the bottom of articles, type <nowiki>{{Apples}}</nowiki>)
m (10 revisions imported)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
== Usage ==
 
* At the bottom of articles, type <nowiki>{{Apples}}</nowiki>
 
* At the bottom of articles, type <nowiki>{{Apples}}</nowiki>
 +
{{clear}}
 +
{{collapsible option}}
  
=== See also ===
+
<includeonly>{{Sandbox other||
 
+
<!-- CATEGORIES HERE, THANKS -->
<includeonly>
+
[[Category:Botany templates]]
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
[[Category:Food navigational boxes]]
[[Category:WikiProject Plants templates]]
+
[[Category:Lists of cultivars|Apples]]
[[Category:Food navigational boxes|{{PAGENAME}}]]
+
[[Category:Lists of foods|Apples]]
 
+
}}</includeonly>
[[bg:Шаблон:Сортове ябълки]]
 
[[ms:Templat:Epal]]
 
[[zh:Template:苹果]]
 
</includeonly>
 

Latest revision as of 15:27, 22 October 2020

Usage

  • At the bottom of articles, type {{Apples}}

Initial visibility: currently defaults to autocollapse

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

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