Template:Hide/Documentation

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

Purpose

This template creates a section of collapsible content. It is intended for supplementary content that would otherwise consume more space than would be appropriate. It is, in some respects, the wiki equivalent of an appendix.

It is most often used for large lists of dialogue, for example Gossip Stone hints and Old Man advice. It has also been used to describe plots with forking paths (see The Crystal Trap and The Subspace Emissary).

Usage

Required ParametersAll Parameters
{{Hide
|header= 
|content= 
}}
{{Hide
|header= 
|content= 
|visible= 
|stretch= 
}}
  • header — The title of the box.
  • content — The content to place in the box.
  • visible — Type anything to make the content visible by default.
  • stretch — Type anything to make the header stretch to fill the screen, instead of fitting itself to the content.

Examples

Input
{{Hide
|header= List of Challenges
|content=
#Win your first battle!
#Win 5 times!
#Win 10 times!
#Win 20 times!
}}
Output
List of Challenges
  1. Win your first battle!
  2. Win 5 times!
  3. Win 10 times!
  4. Win 20 times!

Input
{{Hide
|stretch= true
|visible= true
|header= List of Challenges
|content=
#Win your first battle!
#Win 5 times!
#Win 10 times!
#Win 20 times!
}}
Output
List of Challengeshide ▲
  1. Win your first battle!
  2. Win 5 times!
  3. Win 10 times!
  4. Win 20 times!

Input
{{Hide
|stretch= true
|visible= true
|frameless= true
|content=
#Win your first battle!
#Win 5 times!
#Win 10 times!
#Win 20 times!
}}
Output
{{{header}}}hide ▲
  1. Win your first battle!
  2. Win 5 times!
  3. Win 10 times!
  4. Win 20 times!
This is the documentation page, it should be transcluded into the main template page. See here for more information.