Difference between revisions of "Template:Warnbox"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '<includeonly><div style="float:right; background-color:#ffadaa; border:2px #fc6661 solid; padding:4px; margin:4px; width:200px;">30px {{{1|}}}</...')
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="float:right; background-color:#ffadaa; border:2px #fc6661 solid; padding:4px; margin:4px; width:200px;">[[image:Warning-information.png|30px]] {{{1|}}}</div></includeonly><noinclude>
+
<includeonly><div style="float:right; background-color:#ffadaa; border:2px #fc6661 solid; padding:4px; margin:4px; width:{{{2|}}};">[[image:Warning-information.png|30px]] {{{1|}}}</div></includeonly><noinclude>
  
<div style="float:right; background-color:#ffadaa; border:2px #fc6661 solid; padding:4px; margin:4px; width:200px;">[[image:Warning-information.png|30px]] Beware of the dog.
+
<div style="float:right; background-color:#ffadaa; border:2px #fc6661 solid; padding:4px; margin:4px; width:200px;">[[image:Warning-information.png|30px]] Beware of the dog.</div>
*How to get past it:
+
*# Give it a cookie.
+
*# Run away.</div>
+
  
A simple red-background text box with a warning image floating on the right side of the screen with 200px width. Use for warnings.
+
A simple red-background text box with a warning image floating on the right side of the screen with flexible width. Use for warnings.
 +
 
 +
Usage '''<nowiki>{{Warnbox|Beware of the dog.|200px}}</nowiki>'''
  
 
[[Category:Formatting templates]]</noinclude>
 
[[Category:Formatting templates]]</noinclude>

Latest revision as of 16:13, 31 January 2010


Warning-information.png Beware of the dog.

A simple red-background text box with a warning image floating on the right side of the screen with flexible width. Use for warnings.

Usage {{Warnbox|Beware of the dog.|200px}}