Jump to content

Template:Soft drink/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is designed to be used in soft drink articles that cover multiple flavors of soda. This cuts down on having multiple templates located on the page, creating a cleaner, less cluttered layout.

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Soft drink|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Soft drink|state=expanded}} will show the template expanded, i.e. fully visible.

See also

[edit]