Difference between revisions of "Template:Warning"
From ArmadeusWiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="border:1px solid red;background-color:# | + | <div style="border:1px solid red;background-color:#f49d9d;padding:3px;"> |
{| border="0" cellspacing="0" | {| border="0" cellspacing="0" | ||
− | |- style="background-color:# | + | |- style="background-color:#f49d9d;" |
| [[Image:Warning.png|Warning]] || '''Warning:''' {{{1}}} | | [[Image:Warning.png|Warning]] || '''Warning:''' {{{1}}} | ||
− | |} | + | |}</div> |
− | </div> | + | |
− | + | ||
<noinclude> | <noinclude> | ||
+ | |||
== Usage == | == Usage == | ||
Latest revision as of 21:09, 7 February 2009
Usage
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. These always force a newline before and after the note.
{{Warning|Here is a long note, which is sufficiently wordy to run onto a second line, which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}