Template:Spoiler: Difference between revisions
From Pikmin Fanon
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
==Use== | ==Use== | ||
'''Note: Stuck-through parameter options exist, but do not work at the time. If you can help fix them, please do.''' | |||
To simply tag a section as a spoiler, put <code><nowiki>{{spoiler}}</nowiki></code> at the start of the section, above everything else. | To simply tag a section as a spoiler, put <code><nowiki>{{spoiler}}</nowiki></code> at the start of the section, above everything else. | ||
To tag a section as a spoiler and hide it, put <code><nowiki>{{spoiler|hidden|put info to tag and hide}}</nowiki></code> where you want the hidden info to be. | <s>To tag a section as a spoiler and hide it, put <code><nowiki>{{spoiler|hidden|put info to tag and hide}}</nowiki></code> where you want the hidden info to be.</s> | ||
To tag a certain paragraph in a section as a spoiler, put <code><nowiki>{{spoiler|end|info to tag as a spoiler}}</nowiki></code> where you want the tagged info to be. | To tag a certain paragraph in a section as a spoiler, put <code><nowiki>{{spoiler|end|info to tag as a spoiler}}</nowiki></code> where you want the tagged info to be. | ||
To tag a certain paragraph in a section as a spoiler and hide it, put <code><nowiki>{{spoiler|hiddenwithend|info to tag as a spoiler and hide}}</nowiki></code> where you want the tagged and hidden info to be. | <s>To tag a certain paragraph in a section as a spoiler and hide it, put <code><nowiki>{{spoiler|hiddenwithend|info to tag as a spoiler and hide}}</nowiki></code> where you want the tagged and hidden info to be.</s> | ||
[[Category:Templates|{{PAGENAME}}]]</noinclude> | [[Category:Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 23:28, 8 April 2011
Use
Note: Stuck-through parameter options exist, but do not work at the time. If you can help fix them, please do.
To simply tag a section as a spoiler, put {{spoiler}}
at the start of the section, above everything else.
To tag a section as a spoiler and hide it, put
{{spoiler|hidden|put info to tag and hide}}
where you want the hidden info to be.
To tag a certain paragraph in a section as a spoiler, put {{spoiler|end|info to tag as a spoiler}}
where you want the tagged info to be.
To tag a certain paragraph in a section as a spoiler and hide it, put
{{spoiler|hiddenwithend|info to tag as a spoiler and hide}}
where you want the tagged and hidden info to be.