Template:Spoiler: Difference between revisions
From FrathWiki
Jump to navigationJump to search
(width overshoot fixed) |
(fixed space when using parameter) |
||
Line 1: | Line 1: | ||
<table style="width: 100%; border: 1px solid #f00; background-color: #ff0;"><tr><td style="text-align: center; color: #f00;">'''Warning:''' there are spoilers below! Do not read{{#if:{{{1|}}}|& | <table style="width: 100%; border: 1px solid #f00; background-color: #ff0;"><tr><td style="text-align: center; color: #f00;">'''Warning:''' there are spoilers below! Do not read{{#if:{{{1|}}}| {{{1}}}}}.</td></tr></table><noinclude> | ||
This template marks spoilers. You can add something after the “do not read” part by filling in the first parameter. For example: <tt><nowiki>{{Spoiler|if you don't want to be spoilered}}</nowiki></tt> | This template marks spoilers. You can add something after the “do not read” part by filling in the first parameter. For example: <tt><nowiki>{{Spoiler|if you don't want to be spoilered}}</nowiki></tt> |
Latest revision as of 17:08, 16 May 2012
Warning: there are spoilers below! Do not read. |
This template marks spoilers. You can add something after the “do not read” part by filling in the first parameter. For example: {{Spoiler|if you don't want to be spoilered}}