Template:Round corners/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Round corners.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Round corners.

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.

Symbol comment vote.svg 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
|}
cell1 cell2

1em corners

{| style="border:3em solid DodgerBlue; {{Round corners|1em}}"
|-
| cell1 || cell2
|}
cell1 cell2

2em corners

{| style="border:3em solid DodgerBlue; {{Round corners|2em}}"
|-
| cell1 || cell2
|}
cell1 cell2
{| style="border:3em solid DodgerBlue; {{Round corners|3em}}"
|-
| cell1 || cell2
|}

3em corners

cell1 cell2