Log in | Back to darenet.org

Template:Rounded

m (Created page with '<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="backgr…')
m
 
(One intermediate revision not shown)
Line 1: Line 1:
-
<includeonly><div style="width: {{{w|100%}}};">
+
<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>
<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>
Line 9: Line 9:
<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>{{Documentation|text=This template creates a box with rounded corners.
+
</div><noinclude>{{Documentation|text=This template creates a box with rounded corners.
;Parameters:
;Parameters:
Line 24: Line 24:
{{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.}}
-
}}</noinclude>
+
}} [[Category:Templates]]</noinclude>

Current revision as of 02:57, 29 December 2009

{{{content}}}
Template Documentation

This template creates a box with rounded corners.

Parameters
  • w - width of the box
  • bg - backgroundcolor
  • bc - bordercolor
  • content - text or other content
Example
{{Rounded| bg = #F9F9F9 | bc = #AAAAAA| w = 75%| content = This is a rounded box.}}
Makes
This is a rounded box.