Template:Roundytop

From MinecraftOnline
Jump to navigation Jump to search

Documentation

Roundy is a template that allows rounded corners to be used in tables and table cells. Roundytop rounds the top two corners.

Usage

To adjust the roundedness of the bottom right corner only, use {{roundytop|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.

If you would like to round the two corners with different roundedness radii, use {{roundytr}} and {{roundytl}} instead.

To round all corners of a table, add {{roundy}} to the style section.

To round one corner of a table, use one of the following four templates:

To round two corners of a table, use one of the following four templates:

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.