Difference between revisions of "Template:Warningbox"

From Fallen Sword Wiki
Jump to: navigation, search
(Create basic warningbox (visual styled copied from wikipedia, but no code))
 
(add usage + tweak template)
Line 2: Line 2:
 
{| width="auto" cellpadding="0" cellspacing="5" style="border-left:8px solid red; border-top:1px solid gray; border-right: 1px solid gray; border-bottom: 1px solid gray; background:#FEF0CE;"
 
{| width="auto" cellpadding="0" cellspacing="5" style="border-left:8px solid red; border-top:1px solid gray; border-right: 1px solid gray; border-bottom: 1px solid gray; background:#FEF0CE;"
 
| rowspan=2 style="width:auto; padding: 5px;" align="left" valign="middle" | http://upload.wikimedia.org/wikipedia/en/f/f4/Ambox_content.png
 
| rowspan=2 style="width:auto; padding: 5px;" align="left" valign="middle" | http://upload.wikimedia.org/wikipedia/en/f/f4/Ambox_content.png
| align="center" valign="middle" style="font-weight:bold;font-family:sans-serif;font-variant:small-caps;" | {{{Title}}}
+
| align="left" valign="middle" style="font-weight:bold;font-family:sans-serif;font-variant:small-caps;" | {{{Title}}}
 
|-
 
|-
| align="center" valign="middle" style="font-family:sans-serif;font-weight:normal;" | {{{Text}}}
+
| align="left" valign="middle" style="font-family:sans-serif;font-weight:normal;" | {{{Text}}}
 
|}
 
|}
 
</center>
 
</center>
 
<noinclude>
 
<noinclude>
 +
This template can be used as basis for warning messages, such as "needs info", "needs map" etc.
 +
<code><pre>
 +
{{Warningbox
 +
|Title=your-title-goes-here
 +
|Text=your-text-goes-here
 +
}}</pre>
 +
</code>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 16:07, 11 June 2009

Ambox_content.png {{{Title}}}
{{{Text}}}

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

{{Warningbox
|Title=your-title-goes-here
|Text=your-text-goes-here
}}