Template:Rounded

From Crankshaft Coalition Wiki
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>
 +
The following code:
 +
 
 +
<code><nowiki>{{Rounded | bg = #F9F9F9 | bc = #AAAAAA | w = 75% | content = This is a rounded box.}}</nowiki></code>
 +
 
 +
Makes the following 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 Template:Rounded at Wikipedia].
 +
</noinclude>

Latest revision as of 17:51, 10 July 2009

Personal tools
Namespaces
Variants
Actions
Navigation
Categories
Toolbox