Navigation menu

Template:Round/Documentation

From Metroid Wiki
< Template:Round
Revision as of 04:47, 15 June 2014 by Prod (talk | contribs) (moved from Template:Round)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage[edit source]

This template is used to automatically generate all of the border rounding code. To use it, type {{round|radius}} within a styling. The radius is the radius of the rounded border. If left blank, it will default to 15 pixels. Do not include a px after the number, and remember that the radius is in pixels. Be sure to include a semicolon after it if it is not the last item in the styling.

There are alternate templates that can be used in place of this one. Each has a certain corner or side that it forces round. Be sure that if one is changed, that they are all changed. They are:

{{Roundtl}} {{Roundt}} {{Roundtr}}
{{Roundl}} {{Round}} {{Roundr}}
{{Roundbl}} {{Roundb}} {{Roundbr}}