Warning
WARNING: The TrackAbout MetaWiki has been deprecated and is no longer being updated.

Please visit our new TrackAbout Knowledge Base at https://supportkb.trackabout.com for the most-up-to-date documentation on TrackAbout and TrackAbout Mobile.

Difference between revisions of "Template:Warning"

From TrackAbout MetaWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly><div style="border:2px solid #B30202;background-color:#FAFABC;padding:3px;margin-top:10px"><div class="floatleft" style="margin: 0 -54px 0.5em 0">[[Image:Warning.png|left|Warning]]</div><div style="margin-left: 54px;">'''WARNING:''' {{{1}}}<div style="clear: both;"></div></div></div></includeonly>
+
<includeonly><div style="border:2px solid #B30202;background-color:#FAFABC;padding:3px;margin-top:10px" class="msgbox"><div class="floatleft" style="margin: 0 -54px 0 0">[[Image:Warning.png|left|Warning]]</div><div style="margin-left: 54px;padding-top:10px;">'''WARNING:''' {{{1}}}<div style="clear: both;"></div></div></div></includeonly>
 
<noinclude>== Usage ==
 
<noinclude>== Usage ==
 
Wiki Code:
 
Wiki Code:
Line 6: Line 6:
 
Result:
 
Result:
 
{{warning|Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}
 
{{warning|Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}
 +
 +
[[Category:MessageBox Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:28, 27 January 2020

Usage

Wiki Code:

{{warning|Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}

Result:

Warning
WARNING: Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.