Abrir menu principal

UESPWiki β

Predefinição:Showhide


Due to the sensitive nature of this template and the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

Hides lengthy or sensitive text and displays a link to show or hide it on-demand.

Parameters

Showhide
Parâmetero Escopo Descrição
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

<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{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.}}

<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{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}}