November 4th, 2019

🕒 Wiki Weekly #25! 🕑

It's November!
We've listed pages that need some love. Take a look!

Latest Announcements

Template:Content

From Zelda Wiki, the Zelda encyclopedia
Jump to: navigation, search

Usage

This template is for handling changing between two items. It does not do anything on its own, it's intended to be used in conjunction with the Switch template provides a clickable link which toggles the visibility of the content specified here. They're separated into two templates like this to provide the most room for customization.

Usage

NOTE: This template CANNOT be used alone. It MUST be used in conjunction with the Switch template.

To use this template, use either the standard format     {{Content|ID |display |hide }} or the named parameter format:

{{Content
|id=
|show=
|hide=
}}
  • ID — This is some one word name used to identify the content. This is what you use to match the content to be switched between with the clickable link formed by the Switch template. The id should be unique and only contain letters. Numbers will break the formatting and can possibly cause conflicts with anything similarly named.
  • Show — This is what to have have initially visible. To display nothing, leave this blank (or set it to {{Void}}).
  • Hide — This is what to have have initially hidden. To display nothing, leave this blank (or set it to {{Void}}).

WARNING: Again, this will NOT function at all unless the Switch template is used with this template.