Template:Round corners

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

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