Template:Infoboxround: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (Bugfix:Wrong usage of ParserFunctions)
(Changing default color)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="navbox-{{lc:{{{color|Grey}}}}}" {{#ifeq:{{{width|none}}}|none|style="width:{{{width}}}}}">
<div class="navbox-{{lc:{{{color|LiteGrey}}}}}" {{#ifeq:{{{width|}}}|||style="width:{{{width}}}"}}>
{{{text|No text}}}
{{{text|No text}}}
</div><noinclude>
</div><noinclude>
Line 7: Line 7:
{{tl|Infoboxround|text&#61;''some text''|color&#61;''colorname''|width&#61;''width''}}
{{tl|Infoboxround|text&#61;''some text''|color&#61;''colorname''|width&#61;''width''}}


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


[[Category:templates|{{PAGENAME}}]]
[[Category:templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 01:07, 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, Grey and LiteGrey (the default color).