Difference between revisions of "Template:Hidden"
From Sourcebook Wiki
(Created page with "<noinclude>To use this, use this code: <code><nowiki> {{Hidden| Header here (recommended to use~~~~ (sig with timestamp) or ~~~~~ (timestamp, no sig)| Text here}} </nowiki> </...") |
(dammit) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>To use this, use this code: | <noinclude>To use this, use this code: | ||
− | < | + | <pre><nowiki> |
{{Hidden| | {{Hidden| | ||
− | + | Header here (recommended to use ~~~~ (sig with timestamp) or ~~~~~ (timestamp, no sig), defaults to "Hidden ~~~~~"| | |
− | Header here (recommended to use~~~~ (sig with timestamp) or ~~~~~ (timestamp, no sig)| | + | |
− | + | ||
Text here}} | Text here}} | ||
</nowiki> | </nowiki> | ||
− | </ | + | </pre> |
+ | |||
+ | Like other templates, there's a limit to the markup that can go in it. If this template shows incorrectly (you ARE using the preview button, right?), use the markup directly: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | {| class="collapsible collapsed wikitable" | ||
+ | |- | ||
+ | ! Header | ||
+ | |- | ||
+ | | Content | ||
+ | |} | ||
+ | </nowiki></pre> | ||
+ | ---- | ||
</noinclude> | </noinclude> | ||
+ | <onlyinclude> | ||
{| class="collapsible collapsed wikitable" | {| class="collapsible collapsed wikitable" | ||
|- | |- | ||
Line 16: | Line 27: | ||
| {{{2}}} | | {{{2}}} | ||
|} | |} | ||
+ | </onlyinclude> |
Latest revision as of 11:30, 2 November 2010
To use this, use this code:
{{Hidden| Header here (recommended to use ~~~~ (sig with timestamp) or ~~~~~ (timestamp, no sig), defaults to "Hidden ~~~~~"| Text here}}
Like other templates, there's a limit to the markup that can go in it. If this template shows incorrectly (you ARE using the preview button, right?), use the markup directly:
{| class="collapsible collapsed wikitable" |- ! Header |- | Content |}
{{{1}}} |
---|
{{{2}}} |