Difference between revisions of "Template:Fruit juice"

From blackwiki
Jump to navigation Jump to search
imported>Ringbang
(restored thumbnail image; removed group heading; distinguished lemon juice and lemonade; removed Lime juice/Limeade, which do not redirect to a clearly defined section about juice)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Fruit juice
 
| name      = Fruit juice
| title    = [[Juice|Fruit juice]]
+
| title    = [[Fruit juice]]
 
| above = [[List of juices]]
 
| above = [[List of juices]]
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state    = {{{state|autocollapse}}}
 
| state    = {{{state|autocollapse}}}
| image    = [[File:Orange juice 1.jpg|x40px|center|Orange juice]]
+
| image    = [[File:Orange juice 1.jpg|40px|center|Orange juice]]
  
| group1 = Types
 
 
| list1  =  
 
| list1  =  
 
* [[Apple juice|Apple]]
 
* [[Apple juice|Apple]]
Line 15: Line 14:
 
* [[Grape juice|Grape]]
 
* [[Grape juice|Grape]]
 
* [[Grapefruit juice|Grapefruit]]
 
* [[Grapefruit juice|Grapefruit]]
* [[Lemonade|Lemon]]
+
* [[Lemon juice|Lemon]] ([[Lemonade]])
* [[Limeade|Lime]]
 
 
* [[Orange juice|Orange]]
 
* [[Orange juice|Orange]]
 
* [[Pineapple juice|Pineapple]]
 
* [[Pineapple juice|Pineapple]]

Revision as of 22:55, 21 May 2016

Initial visibility: currently defaults to autocollapse

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

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