Changes

Jump to navigation Jump to search

Template:Infobox

782 bytes added, 11:05, 26 January 2007
bugfixes, v0.3
<div id="infobox" style="-moz-border-radius:10px;background-color:#f8f8f8;border:2px solid #e0e0e0;margin-right:50{{{margin}}}%;padding:0px 3px;margin-bottom:10px;width:auto;">[[Image:Information_icon.png|left|30px]]<span style="font-variant:small-caps"><strong>{{{1Infotext}}}</strong></span></div>
<noinclude>
<br style="clear:both">
----
Usage: <span style="background:#E6FFE6;"><tt><nowiki>{{Infobox|Infoboxtext="text"|margin=50}}</nowiki></tt></span>. Simply replace <tt>'Infoboxtext'"text"</tt> (including speechmarks) with the desired content.
[[Category:Template]]
</noinclude>
 
<!-- Another possible infobox design, accepts more complex arguements:
 
{| align="center" class="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 2px outset #aaa; padding: .2em; margin-bottom: 3px; font-size: 95%; width: auto;"
| style="padding-right: 4px; padding-left: 4px;" | [[Image:{{{image}}}|32px]] '''{{{heading}}}'''<br /><div align="center"><small>{{{message}}}</small></div>
|}<noinclude>
Usage example:<br/>
<span style="background:#E6FFE6;"><tt><nowiki>
{{Infobox2|
backgroundcolor=#f8f8f8|
image=Information_icon.png|
heading=''"Beware of the [[Black wolf|Wolves]]!"'' | message=Devour their flesh, before they devour yours! :P}}
</nowiki></tt></span>
[[Category:Template|{{PAGENAME}}]]</noinclude>
-->
1,738

edits

Navigation menu