Difference between revisions of "Template:ContentWarning"

From Fall of Eden
Jump to navigation Jump to search
(Created page with "<div class="col-md-{{{size|6}}}"> <div class="tile {{{color|flame}}}"> <h4>{{{heading|Warning!}}}</h4> <p class="text-justify">{{{message|This is a warning block te...")
 
Line 1: Line 1:
 +
<noinclude>
 +
== Content Warning Box Template ===
 +
 +
Generates a fancy warning box with parametized content.
 +
 +
Usage:
 +
 +
<code>
 +
<nowiki>{{{ContentWarning|size=6|color=flame|heading=Warning!|message=This is a warning block template!}}}</nowiki>
 +
</code>
 +
 +
Size and Color are optional parameters. Size determines the width of the box and defaults to "6" (ie 50% of page width roughly).
 +
 +
Color is a string representation of available [[Bootstrap Colors]]. Defaults to flame.
 +
 +
Heading and message should be obvious.
 +
 +
[[Category:Smutosaurus Templates]]
 +
</noinclude>
 +
 
<div class="col-md-{{{size|6}}}">
 
<div class="col-md-{{{size|6}}}">
 
   <div class="tile {{{color|flame}}}">
 
   <div class="tile {{{color|flame}}}">

Revision as of 13:38, 30 November 2014

Content Warning Box Template =

Generates a fancy warning box with parametized content.

Usage:

{{{ContentWarning|size=6|color=flame|heading=Warning!|message=This is a warning block template!}}}

Size and Color are optional parameters. Size determines the width of the box and defaults to "6" (ie 50% of page width roughly).

Color is a string representation of available Bootstrap Colors. Defaults to flame.

Heading and message should be obvious.


Warning!

This is a warning block template!