Difference between revisions of "Template:Roundy"
From Nookipedia, the Animal Crossing wiki
m (Protected "Template:Roundy": Template of prime importance ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
SuperHamster (talk | contribs) (Dropping browser-specific CSS (no longer needed due to widespread support of border-radius)) |
||
Line 1: | Line 1: | ||
− | + | border-radius: {{{1|20px}}};<noinclude> | |
'''If you update this template, make sure to make the necessary updates to all of the eight subtemplates: [[Template:roundytr|roundytr]], [[Template:roundytl|roundytl]], [[Template:roundybr|roundybr]], [[Template:roundybl|roundybl]], [[Template:roundytop|roundytop]], [[Template:roundybottom|roundybottom]], [[Template:roundyright|roundyright]], and [[Template:roundyleft|roundyleft]].''' | '''If you update this template, make sure to make the necessary updates to all of the eight subtemplates: [[Template:roundytr|roundytr]], [[Template:roundytl|roundytl]], [[Template:roundybr|roundybr]], [[Template:roundybl|roundybl]], [[Template:roundytop|roundytop]], [[Template:roundybottom|roundybottom]], [[Template:roundyright|roundyright]], and [[Template:roundyleft|roundyleft]].''' |
Revision as of 01:37, November 23, 2020
border-radius: 20px;
If you update this template, make sure to make the necessary updates to all of the eight subtemplates: roundytr, roundytl, roundybr, roundybl, roundytop, roundybottom, roundyright, and roundyleft.
Usage
Used in tables to create rounded corners. Default is 20px.
{{roundy|20px}}
Replace "20" with the amount of pixels to round all four corners by, including the px. Insert it in the style=" " section of a table.
There are also several variations of this template, working similarly.
- Roundytr - Rounds just the top right corner
- Roundytl - Rounds just the top left corner
- Roundybr - Rounds just the bottom right corner
- Roundybl - Rounds just the bottom left corner
- Roundytop - Rounds both top corners
- Roundybottom - Rounds both bottom corners
- Roundyleft - Rounds both left corners
- Roundyright - Rounds both right corners
The variations can be used together in various different ways and using different pixel amounts.