Template:Spoiler: Difference between revisions

From FrathWiki
Jump to navigationJump to search
(Created page with "<div style="width: 100%; border: 1px solid #f00; background-color: #ff0; color: #f00; text-align: center">'''Warning:''' there are spoilers below! Do not read{{#if:{{{1|}}}|&sp;{...")
 
(width overshoot fixed)
Line 1: Line 1:
<div style="width: 100%; border: 1px solid #f00; background-color: #ff0; color: #f00; text-align: center">'''Warning:''' there are spoilers below! Do not read{{#if:{{{1|}}}|&sp;{{{1}}}}}.</div><noinclude>
<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|}}}|&sp;{{{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>

Revision as of 17:05, 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}}