Difference between revisions of "Template:Roundy"

From Nookipedia, the Animal Crossing wiki
m
Line 18: Line 18:
 
*[[Template:Roundyright|Roundyright]] - Rounds both right corners
 
*[[Template:Roundyright|Roundyright]] - Rounds both right corners
  
The variations can be used together in various different ways and using different pixel amounts.<noinclude>[[Category:Documentation]]</noinclude>
+
The variations can be used together in various different ways and using different pixel amounts.
  
 
</noinclude>
 
</noinclude>

Revision as of 14:22, October 23, 2010

border-radius: 20px; -moz-border-radius: 20px; -webkit-border-radius: 20px; -khtml-border-radius: 20px; -icab-border-radius: 20px; -o-border-radius: 20px;

If you update this template, make sure to make the necessary updates to all of the eight subtemplates: roundytr, roundytl, roundybr, roundybl, roundytop, roundybottom, roundyright, and roundyleft.

Usage

Used in tables to create rounded corners. Default is 20px.

  • {{roundy|20px}}

Replace "20" with the amount of pixels to round all four corners by, including the px. Insert it in the style=" " section of a table.

There are also several variations of this template, working similarly.

The variations can be used together in various different ways and using different pixel amounts.