Difference between revisions of "Template:Hershey's confectionery products"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>AEMoreira042281
Line 74: Line 74:
 
|list3 = Hershey's also manufactures [[United States military chocolate|military chocolate]] for the [[United States armed forces|U.S. armed forces]].
 
|list3 = Hershey's also manufactures [[United States military chocolate|military chocolate]] for the [[United States armed forces|U.S. armed forces]].
 
|belowstyle = border-top: 1px solid #aaa; font-size: 90%; line-height: 1.5em;
 
|belowstyle = border-top: 1px solid #aaa; font-size: 90%; line-height: 1.5em;
|below = {{lower|0.1em|<sup>1</sup>}} Marketed in both the United States and Canada, but sold as a Hershey’s product only within Canada. U.S. rights owned by [[Nestlé]].<br>{{lower|0.1em|<sup>2</sup>}} Marketed in a number of countries, but sold as a Hershey’s product only within the United States. Brand owned by Nestlé.<br>{{lower|0.1em|<sup>3</sup>}} Marketed in a number of countries, but sold as a Hershey’s product only within the United States. Brand owned by Mondelez International.
+
|below = {{lower|0.1em|<sup>1</sup>}} Marketed in both the United States and Canada, but sold as a Hershey’s product only within Canada. U.S. rights owned by [[Nestlé]].<br>{{lower|0.1em|<sup>2</sup>}} Marketed in a number of countries, but sold as a Hershey’s product only within the United States. Brand owned by Nestlé.<br>{{lower|0.1em|<sup>3</sup>}} Marketed in a number of countries, but sold as a Hershey’s product only within the United States. Brand owned by [[Mondelēz International]].
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Confectionery company templates]]
 
[[Category:Confectionery company templates]]
 
</noinclude>
 
</noinclude>

Revision as of 04:51, 25 June 2013

Initial visibility: currently defaults to autocollapse

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

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