From Uncyclopedia, the content-free encyclopedia
Jump to navigation
Jump to search
This
documentation is
transcluded from
Template:Round corners/doc.
(edit | history)Editors can experiment in this template's sandbox (create) and test cases (create) pages. Subpages of this template.
Usage
{| style="border definition; {{Round corners}}"
{| style="border definition; {{Round corners|radius}}"
If the unnamed first parameter isn't specified, border radius defaults to 1em.
Note: A border definition needs to be specified somewhere before this template for it to work.
Examples
Regular table
{| style="border:3em solid DodgerBlue;"
|-
| cell1 || cell2
|}
1em corners
{| style="border:3em solid DodgerBlue; {{Round corners|1em}}"
|-
| cell1 || cell2
|}
2em corners
{| style="border:3em solid DodgerBlue; {{Round corners|2em}}"
|-
| cell1 || cell2
|}
{| style="border:3em solid DodgerBlue; {{Round corners|3em}}"
|-
| cell1 || cell2
|}
3em corners