Template:Round: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
 
(2 intermediate revisions by one other user not shown)
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>


==Use==
==Info==
<nowiki>{{round|radius|full = ...}}</nowiki>
This template generates border rounding code. Use it in the "style" property of an element.


This template generates border rounding code. Use it in the 'style' property of an element.  Radius is the radius of the rounded border in pixels (defaults to 15): do not include 'px' after the number.  Pass any value for the 'full' argument to curve every corner - otherwise, only top-left and bottom-right are curved.
==Parameters==
[[Category:Templates|{{PAGENAME}}]]
{| 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>

Latest revision as of 02:02, August 30, 2019

-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.

Skeleton

{{round | <radius> | full = <y>}}