Difference between revisions of "Template:ContentWarning"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
<code> | <code> | ||
− | <nowiki>{{{ContentWarning|color=flame|heading=Warning!|message=This is a warning block template!}}}</nowiki> | + | <nowiki>{{{ContentWarning|width=12|color=flame|heading=Warning!|message=This is a warning block template!}}}</nowiki> |
</code> | </code> | ||
Line 14: | Line 14: | ||
[[Category:Smutosaurus Templates]] | [[Category:Smutosaurus Templates]] | ||
− | </noinclude><div class="row"><div class="col-md-12"><div class="tile {{{color|flame}}}"><h4>{{{heading|Warning!}}}</h4><p class="text-justify">{{{message|This is a warning block template!}}}</p></div></div></div> | + | </noinclude><div class="row"><div class="col-md-{{{width|12}}}"><div class="tile {{{color|flame}}}"><h4>{{{heading|Warning!}}}</h4><p class="text-justify">{{{message|This is a warning block template!}}}</p></div></div></div> |
Latest revision as of 20:14, 6 December 2014
Content Warning Box Template
Generates a fancy warning box with parametized content.
Usage:
{{{ContentWarning|width=12|color=flame|heading=Warning!|message=This is a warning block template!}}}
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!