Difference between revisions of "Template:ContentWarning"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
m (added examples to copy for lazy people.)
m (formatting)
Line 7: Line 7:
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
<code>
+
<pre><nowiki>
<nowiki>
+
{{ContentWarning
{{ContentWarning|Image=[[Image:Optional_image.png]]|heading='''"Optional heading."'''|message="Type your message body here"}}
+
| Image=[[Image:Optional_image.png]]
</nowiki>
+
| heading='''Optional heading.'''
</code>
+
| message=Type your message body here
 +
}}
 +
</nowiki></pre>
  
 
=== Examples ===
 
=== Examples ===
{{ContentWarning|message=Hello World}}
+
{{ContentWarning
 +
| message=Hello World
 +
}}
  
{{ContentWarning|Image=[[Image:Fen-imp.png|100px]]|heading='''Fenoxo-senpai'''|message=Please notice me}}
+
{{ContentWarning
 +
| Image=[[Image:Fen-imp.png|100px]]
 +
| heading='''''Fenoxo-senpai'''''
 +
| message=Please notice me
 +
}}
 
</noinclude>
 
</noinclude>

Revision as of 18:49, 9 September 2017

Warning
OwO What's This?
Your message here


Usage

{{ContentWarning
| Image=[[Image:Optional_image.png]]
| heading='''Optional heading.'''
| message=Type your message body here
}}

Examples

Warning
OwO What's This?
Hello World


Fen-imp.png Fenoxo-senpai
Please notice me