7 Days to Die Wiki
7 Days to Die Wiki
m (Mcwresearch moved page Template:Infobox warning/doc to Template:Warning Box/doc: The template is not an infobox. It didn't need to be renamed in the first place.)
Line 15: Line 15:
 
;Produces:
 
;Produces:
 
{| cellspacing="0" cellpadding="2px" style="background: rgba( 255, 255, 255, .30); overflow: hidden; border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 10px; border-radius: 10px; padding: 7px; margin: auto; width: auto;"
 
{| cellspacing="0" cellpadding="2px" style="background: rgba( 255, 255, 255, .30); overflow: hidden; border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 10px; border-radius: 10px; padding: 7px; margin: auto; width: auto;"
|<font size="14"> ! </font>
+
|<span style="font-family: 'Fontawesome-webfont';"> <font size="14">&#xf071;</font> </span>
 
|&nbsp;
 
|&nbsp;
 
| 7DTD can be extremely addictive. Play at your own risk.
 
| 7DTD can be extremely addictive. Play at your own risk.

Revision as of 12:52, 17 February 2016

Template-info.png Documentation


This template places a simple warning box at the top of a page.

Usage[]

Pretty simple:

{{Warning_Box|message=Your Message}}

If the message is blank, the box won't be visible.

Example[]

{{Warning_Box|message=7DTD can be extremely addictive. Play at your own risk.
Produces
  7DTD can be extremely addictive. Play at your own risk.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.