Mrt-logo.png

The next General Staff Meeting will be held on Saturday, May 11 at 7pm UTC. Be sure to email topics to staff no later than May 9 at 7pm UTC.

Mrt-logo.png

Template:Roundy

From Minecart Rapid Transit Wiki
Jump to: navigation, search

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

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:

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.