Template:Infoboxround: Difference between revisions
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=''some text''|color=''colorname''}} | {{tl|Infoboxround|text=''some text''|color=''colorname''|width=''width''}} | ||
The ''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).