Difference between revisions of "Template:Warning"

From ArmadeusWiki
Jump to: navigation, search
(creation)
 
m
Line 1: Line 1:
 
<div style="border:1px solid red;background-color:#f9e9e9;padding:3px;">
 
<div style="border:1px solid red;background-color:#f9e9e9;padding:3px;">
[[Image:Warning.svg|40px]] '''WARNING:''' {{{1}}}
+
[[Image:Warning.png]] '''WARNING:''' {{{1}}}
 
</div>
 
</div>
  
Line 6: Line 6:
 
{|
 
{|
 
|- style="border:1px solid red;background-color:#f9e9e9;padding:3px;" |  
 
|- style="border:1px solid red;background-color:#f9e9e9;padding:3px;" |  
| [[Image:Warning.svg|Warning|40px]] || '''Warning:''' {{{1}}}
+
| [[Image:Warning.png|Warning]] || '''Warning:''' {{{1}}}
 
|}
 
|}
  

Revision as of 17:14, 2 February 2009

Warning.png WARNING: {{{1}}}


Warning Warning: {{{1}}}


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.}} 
Warning 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.