FANDOM



Important notice!
If you update this template, make sure to make the necessary updates to all of the eight subtemplates.

Usage

Used in tables (can aslo be used in other elements such as <div> and <span>) to create rounded corners. Default is 20px.

Ordinary

  • {{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.

Opposite

For displaying the same border radius for opposite directions, use:

  • {{roundy|20px 50px}}

Replace "20" with the amount of pixels to round upper-left and bottom-right corners, and replace the "40" with the amount of pixels to round upper-right and bottom-left corners.

Difference

For displaying the different radiuses for all corners, add:

  • {{roundy|10px 20px 30px 40px}}

Replace "10" with the amount of pixels to round upper-left corner.
Replace "20" with the amount of pixels to round upper-right corner.
Replace "30" with the amount of pixels to round bottom-right corner.
Replace "40" with the amount of pixels to round bottom-left corner.

Related templates

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.


Community content is available under CC-BY-SA unless otherwise noted.