Difference between revisions of "Template:Hershey"

From blackwiki
Jump to navigation Jump to search
Line 50: Line 50:
 
* [[Cadbury Creme Egg]]<sup>3</sup>
 
* [[Cadbury Creme Egg]]<sup>3</sup>
 
* [[Cadbury Dairy Milk]]<sup>3</sup>
 
* [[Cadbury Dairy Milk]]<sup>3</sup>
 +
* [[Mini Eggs|Cadbury Mini Eggs]]<sup>3</sup>
 
* [[Cherry Blossom (candy)|Cherry Blossom]]
 
* [[Cherry Blossom (candy)|Cherry Blossom]]
 
* [[Hershey's Cookies 'n' Creme|Cookies 'n' Creme]]
 
* [[Hershey's Cookies 'n' Creme|Cookies 'n' Creme]]
Line 69: Line 70:
 
* [[Krackel]]
 
* [[Krackel]]
 
* [[Milk Duds]]
 
* [[Milk Duds]]
* [[Mini Eggs]]<sup>3</sup>
 
 
* [[Mounds (candy)|Mounds]]
 
* [[Mounds (candy)|Mounds]]
 
* [[Mr. Goodbar]]
 
* [[Mr. Goodbar]]
Line 108: Line 108:
 
* [[ZERO bar|ZERO]]
 
* [[ZERO bar|ZERO]]
  
  | below = ''Italics'' indicates discontinued products • <sup>1</sup> In Canada only (elsewhere, [[Ferrara Candy Company|Ferrara]]) • <sup>2</sup> In the United States only (elsewhere, [[Nestlé]]) • <sup>3</sup> In the United States only (elsewhere, [[Cadbury]])
+
  | below = Names in ''italics'' indicate discontinued products • <sup>1</sup> In Canada only (elsewhere, [[Ferrara Candy Company|Ferrara]]) • <sup>2</sup> In the United States only (elsewhere, [[Nestlé]]) • <sup>3</sup> In the United States only (elsewhere, [[Cadbury]])
 
  }}
 
  }}
  

Revision as of 00:47, 18 August 2020

Initial visibility: currently defaults to autocollapse

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

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