Template:Roundy
Documentation
Roundy is a template that allows rounded corners to be used in tables and table cells.
Usage
To round all corners of a table, add style="{{roundy}}"
to the style section. If you want to adjust the roundedness of corners, use style="{{roundy|20px}}"
or whatever value you deem appropriate. Make sure you include the px
, or else it will not work properly. CSS experts can use any size argument, for instance em
to determine the roundedness.
To round one corner of a table, use one of the following four templates:
{{roundytl}}
rounds the top left corner.{{roundytr}}
rounds the top right corner.{{roundybl}}
rounds the bottom left corner.{{roundybr}}
rounds the bottom right corner.
To round two corners of a table, use one of the following four templates:
{{roundytop}}
rounds the top left and top right corners.{{roundybottom}}
rounds the bottom left and bottom right corners.{{roundyleft}}
rounds the top left and bottom left corners.{{roundyright}}
rounds the top right and bottom right corners.
The roundy effects can be combined when using {{roundytl}}
, {{roundytr}}
, {{roundybl}}
and {{roundybr}}
to create roundedness on opposite corners, roundedness on all but one corner, or different roundedness amounts on different corners.