Template:Showhide/Doc
The Beyond Skyrim Wiki — Hosted by UESP
Summary
Hides lengthy or sensitive text and displays a link to show or hide it on-demand.
Parameters
Showhide | ||
---|---|---|
Parameter | Scope | Description |
1 or header |
required | The header text to display; always visible. |
2 or content |
required for simple form |
The content to hide. For more complex content such as tables, use {{Showhide/Start}} and {{Showhide/End}} around the text you wish to hide and do not include this parameter. |
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 "center"). |
ta2 | optional | The text alignment for the body (default "left"). |
Examples
{{Showhide|Sample Paragraph|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
Sample Paragraph
{{Showhide/Start|Sample Paragraph}} {| class=wikitable |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |} {{Showhide/End}}
Sample Paragraph