Difference between revisions of "Template:ContentWarning"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<code> | <code> | ||
− | <nowiki>{{{ContentWarning | + | <nowiki>{{{ContentWarning|color=flame|heading=Warning!|message=This is a warning block template!}}}</nowiki> |
</code> | </code> | ||
− | |||
− | |||
Color is a string representation of available [[Bootstrap Colors]]. Defaults to flame. | Color is a string representation of available [[Bootstrap Colors]]. Defaults to flame. | ||
Line 18: | Line 16: | ||
[[Category:Smutosaurus Templates]] | [[Category:Smutosaurus Templates]] | ||
</noinclude> | </noinclude> | ||
− | <div class="col-md- | + | <div class="row"> |
+ | <div class="col-md-8"> | ||
<div class="tile {{{color|flame}}}"> | <div class="tile {{{color|flame}}}"> | ||
<h4>{{{heading|Warning!}}}</h4> | <h4>{{{heading|Warning!}}}</h4> | ||
<p class="text-justify">{{{message|This is a warning block template!}}}</p> | <p class="text-justify">{{{message|This is a warning block template!}}}</p> | ||
</div> | </div> | ||
+ | </div> | ||
+ | <div class="col-md-4"> | ||
+ | </div> | ||
</div> | </div> |
Revision as of 14:15, 30 November 2014
Content Warning Box Template
Generates a fancy warning box with parametized content.
Usage:
{{{ContentWarning|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!