Template:Rounded

Jump to: navigation, search
Line 1: Line 1:
 +
<noinclude>This template makes a rounded box.
 +
 +
*w = width of the box
 +
*bg = backgroundcolor
 +
*bc = bordercolor
 +
*content = text or other content in the box</noinclude>
 
<includeonly><div style="width: {{{w|100%}}};">
 
<includeonly><div style="width: {{{w|100%}}};">
 
<div style="border-bottom: 1px solid {{{bc|#AAA}}}; height: 1px; margin: 0 5px 0 5px; overflow: hidden;"></div>
 
<div style="border-bottom: 1px solid {{{bc|#AAA}}}; height: 1px; margin: 0 5px 0 5px; overflow: hidden;"></div>
Line 9: Line 15:
 
<div style="background: {{{bg|#F9F9F9}}}; border-left: 2px solid {{{bc|#AAA}}}; border-right: 2px solid {{{bc|#AAA}}}; height: 1px; margin: 0 3px 0 3px; overflow: hidden;"></div>
 
<div style="background: {{{bg|#F9F9F9}}}; border-left: 2px solid {{{bc|#AAA}}}; border-right: 2px solid {{{bc|#AAA}}}; height: 1px; margin: 0 3px 0 3px; overflow: hidden;"></div>
 
<div style="border-top: 1px solid {{{bc|#AAA}}}; height: 1px; margin: 0 5px 0 5px; overflow: hidden;"></div>
 
<div style="border-top: 1px solid {{{bc|#AAA}}}; height: 1px; margin: 0 5px 0 5px; overflow: hidden;"></div>
</div></includeonly><noinclude>
+
</div></includeonly>
 +
<noinclude>
  
 
  <code><nowiki>{{Rounded| bg = #F9F9F9 | bc = #AAAAAA| w = 75%| content = This is a rounded box.}}</nowiki></code>
 
  <code><nowiki>{{Rounded| bg = #F9F9F9 | bc = #AAAAAA| w = 75%| content = This is a rounded box.}}</nowiki></code>
Line 16: Line 23:
 
{{Rounded| bg = #F9F9F9 | bc = #AAAAAA| w = 75%| content = This is a rounded box.}}
 
{{Rounded| bg = #F9F9F9 | bc = #AAAAAA| w = 75%| content = This is a rounded box.}}
  
From [http://en.wikipedia.org/wiki/Template:Rounded Wikipedia].</noinclude>
+
From [http://en.wikipedia.org/wiki/Template:Rounded Wikipedia].
 +
</noinclude>

Revision as of 18:58, 9 July 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox