Template:Round: Difference between revisions
Jump to navigation
Jump to search
Greenpickle (talk | contribs) No edit summary |
(New documentation style.) |
||
Line 3: | Line 3: | ||
|-moz-border-radius: {{{1|15}}}px 0; -webkit-border-radius: {{{1|15}}}px 0; khtml-border-radius: {{{1|15}}}px 0; -icab-border-radius: {{{1|15}}}px 0; border-radius: {{{1|15}}}px 0;}}<noinclude> | |-moz-border-radius: {{{1|15}}}px 0; -webkit-border-radius: {{{1|15}}}px 0; khtml-border-radius: {{{1|15}}}px 0; -icab-border-radius: {{{1|15}}}px 0; border-radius: {{{1|15}}}px 0;}}<noinclude> | ||
== | ==Info== | ||
This template generates border rounding code. Use it in the "style" property of an element. | |||
==Parameters== | |||
[[Category:Templates | {| 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. | |||
|} | |||
==Template== | |||
<pre> | |||
{{round | <radius> | full = <y>}} | |||
</pre> | |||
[[Category:Templates]] | |||
</noinclude> |
Revision as of 12:16, October 28, 2014
-moz-border-radius: 15px 0; -webkit-border-radius: 15px 0; khtml-border-radius: 15px 0; -icab-border-radius: 15px 0; border-radius: 15px 0;
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. |
Template
{{round | <radius> | full = <y>}}