Template:Infoboxround: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(New page: <div class="navbox-{{{color|Grey}}}"> {{{text|No text}}} </div><noinclude> Puts a box with round courners around some text. == Usage == {{tl|Infoboxround|text=''some text''|color=...)
 
(Changing default color)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="navbox-{{{color|Grey}}}">
<div class="navbox-{{lc:{{{color|LiteGrey}}}}}" {{#ifeq:{{{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, 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).