Difference between revisions of "Template:ContentWarning"

From Trials in Tainted Space Wiki
Jump to navigation Jump to search
(Whoops. I put more effort into this than it deserved, but it sure is fancy looking now!)
m
 
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
{| style="margin:auto; text-align:center; {{{style|background:#F5F5F5; border-spacing: 20px 1px; border: 2px solid purple}}}"
+
{| style="margin:auto; text-align:center; {{{style|background:#8d31b0; border-spacing: 20px 1px; border: 2px solid #8d31b0; border-radius: 2px}}}"
 
|  rowspan=2 | [[File:{{{Image|Ambox_important.png}}}|{{{imageSize|40}}}px]]
 
|  rowspan=2 | [[File:{{{Image|Ambox_important.png}}}|{{{imageSize|40}}}px]]
 
| style="width: 1000px;" | {{{heading|}}}
 
| style="width: 1000px;" | {{{heading|}}}

Latest revision as of 19:48, 9 October 2017

Ambox important.png Ambox important.png
Your message here


Usage

{{ContentWarning
| Image = Image file name.png (optional)
| imageSize = Integer that sets the pixel size for the image.  (optional) 
| style = CSS styling for table body. (optional)
| heading = Top text. (optional)
| message = Bottom text. Type your message body here
}}

Examples

Ambox important.png Ambox important.png
Hello World


Fen-imp.png Fenoxo-senpai Fen-imp.png
Please notice me