Difference between revisions of "Template:WarningboxSmall"

From Fallen Sword Wiki
Jump to: navigation, search
(more discrete template for warningboxes)
 
(dont use bold text)
Line 2: Line 2:
 
{| width="{{{Width|auto}}}" cellpadding="0" cellspacing="2" style="border-left:6px solid red; border-top:1px solid gray; border-right: 1px solid gray; border-bottom: 1px solid gray; background:#FEF0CE;"
 
{| width="{{{Width|auto}}}" cellpadding="0" cellspacing="2" style="border-left:6px solid red; border-top:1px solid gray; border-right: 1px solid gray; border-bottom: 1px solid gray; background:#FEF0CE;"
 
| style="width:auto; padding: 3px;" align="left" valign="middle" | [[image:Ambox_content.png|20px|Notice]]
 
| style="width:auto; padding: 3px;" align="left" valign="middle" | [[image:Ambox_content.png|20px|Notice]]
| align="left" valign="middle" style="font-weight:bold;font-family:sans-serif; padding-right:5px;" | {{{Text|Your text here}}}
+
| align="left" valign="middle" style="font-family:sans-serif; padding-right:5px;" | {{{Text|Your text here}}}
 
|}
 
|}
 
</center>
 
</center>

Revision as of 12:39, 12 June 2009

Notice Your text here

This template can be used as basis for smaller warning messages, such as "needs info", "needs map" etc.

{{WarningboxSmall
|Text=Your text here.
}}

There is also a parameter that controls the width of the box. The default is "auto" which will let the box occupy whatever space it needs. It can be set to anything that HTML table understand for the width parameter (such as "60%" for percentage, "500" for pixel width)