Site Notice

Nintendo Wiki has been upgraded! Please let site staff know if you see any errors. We also have a new domain: nintendowiki.net — please update links to use this new domain name. Thank you for editing!

Template:Roundy

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search

border-radius: 10px;

Usage

  • {{roundy}}

Used in tables to create rounded corners. Default is 10px.

  • {{roundy|<value>}}

Replace "10" with the amount of pixels to round all four corners by, including the px. Insert it in the style=" " section of a table. This example uses 45px.

  • {{roundy|<value>|<corner>}}

For only rounding some corners as opposed to all of them, use the following for the second parameter:

Parameter Corner(s) being rounded
top-right Rounds just the top right corner
top-left Rounds just the top left corner
bottom-right Rounds just the bottom right corner
bottom-left Rounds just the bottom left corner

The variations can be used together in various different ways and using different pixel amounts.

  • {{roundy|<value>|<corner>|<corner2>}}

If multiple sides need rounded with the same roundness, a third parameter can be used.

Parameters Corner(s) being rounded
top-right|top-right Rounds both top corners
bottom-left|bottom-right Rounds both bottom corners
top-right|bottom-right Rounds both right corners
top-left|bottom-left Rounds both left corners