Difference between revisions of "Template:NSFW"

From questden
m (Tweaking ifs)
(Okay, I hate the forced whitespace in this template messing up my formatting options. It's going.)
Line 1: Line 1:
 
<noinclude>A banner used to warn readers about not safe for work content.
 
<noinclude>A banner used to warn readers about not safe for work content.
  
By default (and for backwards compatibility) the banner refers to galleries.  However, you can specify what, exactly, contains nsfw material (for example, the article, or the quest).</noinclude><includeonly><div style="height: 1cm"></div>
+
By default (and for backwards compatibility) the banner refers to galleries.  However, you can specify what, exactly, contains nsfw material (for example, the article, or the quest).</noinclude><includeonly><!--
{{Notice
+
-->{{Notice
 
|image=Spoilerth tiny.png
 
|image=Spoilerth tiny.png
 
|color=#f0a
 
|color=#f0a
 
|majortext=This {{{1|gallery}}} contains material that is not safe for work.
 
|majortext=This {{{1|gallery}}} contains material that is not safe for work.
 
|minortext=You were warned.
 
|minortext=You were warned.
}}
+
}}<!--
<div style="height: 1cm"></div><!--
 
 
-->{{#if:{{{suppresscat|}}}||{{#if:{{{1|}}}|[[Category:NSFW Quests]]|}}}}</includeonly>
 
-->{{#if:{{{suppresscat|}}}||{{#if:{{{1|}}}|[[Category:NSFW Quests]]|}}}}</includeonly>
  
 
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 18:10, 10 October 2015

A banner used to warn readers about not safe for work content.

By default (and for backwards compatibility) the banner refers to galleries. However, you can specify what, exactly, contains nsfw material (for example, the article, or the quest).