Template:Infoboxround: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Bugfix:Wrong usage of ParserFunctions)
m (Testing)
Line 1: Line 1:
<div class="navbox-{{lc:{{{color|Grey}}}}}" {{#ifeq:{{{width|none}}}|none|style="width:{{{width}}}}}">
<div class="navbox-{{lc:{{{color|Grey}}}}}" {{#ifeq:{{{width|}}}||style="width:{{{width}}}"}}>
{{{text|No text}}}
{{{text|No text}}}
</div><noinclude>
</div><noinclude>

Revision as of 00:44, 23 November 2008

Puts a box with round courners around some text.

Usage

{{Infoboxround|text=some text|color=colorname|width=width}}

The color and width options are optional. Available colors are Blue, Orange, Green and Grey (the default color).