Template:Round: Difference between revisions
Jump to navigation
Jump to search
(Created page with " -moz-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px; -webkit-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}...") |
Trig Jegman (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{full|}}} | |||
|border-radius: {{{1|15}}}px; | |||
|border-radius: {{{1|15}}}px 0;}}<noinclude> | |||
{{delete|no longer necessary}} | |||
==Info== | |||
This template generates border rounding code. Use it in the "style" property of an element. | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Purpose || Detailed description | |||
|- | |||
! 1 | |||
| No || 15 || Radius || Radius of the rounded border. Do not include the "px" after the number. | |||
|- | |||
! full | |||
| No || || All corners || If this has a value, like "y", all corners are curved. Otherwise, only the top-left and bottom-right are. | |||
|} | |||
==Skeleton== | |||
<pre> | |||
{{round | <radius> | full = <y>}} | |||
</pre> | |||
[[Category:Templates]]</noinclude> | |||
[[Category: |
Latest revision as of 15:14, July 4, 2024
border-radius: 15px 0;
This page is currently pending deletion. Reason: |
Info
This template generates border rounding code. Use it in the "style" property of an element.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | No | 15 | Radius | Radius of the rounded border. Do not include the "px" after the number. |
full | No | All corners | If this has a value, like "y", all corners are curved. Otherwise, only the top-left and bottom-right are. |
Skeleton
{{round | <radius> | full = <y>}}