Template:Round

From Zelda Dungeon Wiki
Revision as of 22:48, January 27, 2012 by Emma (talk | contribs) (Created template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.

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

Purpose

This template adds the coding to round corners in tables and boxes for all possible internet browsers.

Usage

For basic usage, type:     {{Round| Degree of Rounding (Optional) }}

  • Degree of Rounding — The amount to round the corners, in terms of pixels in pure number (no letters). A higher number results in a more extreme curve. (Optional - 20)

This code is intended to be placed in the coding for div tags or in tables. The code can format the div tag, a whole table, or an indiviual cell. The code is expected to be used as style="{{round}}", the "style" portion is not included in the template to allow for additional style modifications.

The template can be used in a more complex manner with:     {{Round| Type of Rounding | Degree of Rounding (Optional) }}

With the available types being:

  • topleft
  • top
  • topright
  • left
  • normal
  • right
  • bottomleft
  • bottomright