Template:Infoboxround: Difference between revisions

From NDWiki
Jump to navigation Jump to search
No edit summary
(Adding "width" as parameter)
Line 1: Line 1:
<div class="navbox-{{lc:{{{color|Grey}}}}}">
<div class="navbox-{{lc:{{{color|Grey}}}}}" {{#if {{{width}}}|style="width:{{{width}}}}}">
{{{text|No text}}}
{{{text|No text}}}
</div><noinclude>
</div><noinclude>
Line 5: Line 5:


== Usage ==
== Usage ==
{{tl|Infoboxround|text&#61;''some text''|color&#61;''colorname''}}
{{tl|Infoboxround|text&#61;''some text''|color&#61;''colorname''|width&#61;''width''}}


The ''color'' option is 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 and Grey (the default color).


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

Revision as of 00:30, 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).