3,554
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
==Example== | ==Example== | ||
To hide some text, use the following: | To hide some text, use the following: | ||
<pre> | |||
{{Hide|This is hidden text.}} | |||
</pre> | |||
This results in: | |||
{{Hide|This is hidden text.}} | |||
Alternatively: | |||
<pre> | <pre> | ||
{{Hide|content=This is hidden text.}} | {{Hide|content=This is hidden text.}} | ||
Line 26: | Line 33: | ||
{{Hide|content=This is hidden text.}} | {{Hide|content=This is hidden text.}} | ||
To change what the buttons say: | |||
<pre> | <pre> | ||
{{Hide|This is hidden text.}} | {{Hide|show=[Unearth hidden secrets]|hide=[I'm done looking]|content=This is hidden text.}} | ||
</pre> | </pre> | ||
This results in: | This results in: | ||
{{Hide|This is hidden text.}} | {{Hide|show=[Unearth hidden secrets]|hide=[I'm done looking]|content=This is hidden text.}} | ||
{{Cat|Formatting Templates}}</noinclude> | {{Cat|Formatting Templates}}</noinclude> |