Jump to content

Template:Roundy

From Kanzenshuu Dragon Ball Wiki
Revision as of 19:33, 23 January 2015 by Hujio (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template has been developed to allow users to more easily incorporate CSS styling into articles and pages.

The {{round}} template should be used to create rounded borders, and must be included within the element's style tag. The element must already have either a background or border in order for the template to work properly. If no border radius parameter is included, the template will default to a 10 pixel radius.

Examples:

  • {| style=border: 2px solid #000000; {{roundy}} | Informational text with a default border radius of 10 pixels. |}
Informational text with a default border radius of 10 pixels.
  • {| style="border: 2px solid #CC0000; {{roundy|5px}}" | Informational text with a border radius of 5 pixels. |}
Informational text with a border radius of 5 pixels.