Template:Showhide List/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This template is used to create a collapsible list, which behaves a bit differently from {{Showhide}}.

Parameters[edit]

Showhide List
Parameter Scope Description
1 required The header text to display; always visible.
2 required The content to hide.
indent optional The amount to indent (pad) the list on the left side.
fw1 optional The font weight for the heading (default "bold").
fw2 optional The font weight for the body (default "normal").
bg1 optional The background color for the heading (default "transparent").
bg2 optional The background color for the body (default "transparent").
ta1 optional The text alignment for the heading (default "left").
ta2 optional The text alignment for the body (default "left").

Examples[edit]

{{Showhide List|• Header|
  {{NewLine}} <!--Note: the NewLine is required before the first entry in a nested list-->
  {{Showhide List|indent=1.3em|• Sublist 1|
:::'''•''' Content 1
:::'''•''' Content 2
  }}
  {{Showhide List|indent=1.3em|• Sublist 2|
:::'''•''' Content 3
:::'''•''' Content 4
:::'''•''' Content 5
  }}
}}