Template:Round: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
m (& none of thats needed anymore)
Line 1: Line 1:
{{#if:{{{full|}}}
{{#if:{{{full|}}}
|-moz-border-radius: {{{1|15}}}px; -webkit-border-radius: {{{1|15}}}px; khtml-border-radius: {{{1|15}}}px; -icab-border-radius: {{{1|15}}}px; border-radius: {{{1|15}}}px;
|border-radius: {{{1|15}}}px;
|-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>
|border-radius: {{{1|15}}}px 0;}}<noinclude>


==Info==
==Info==

Revision as of 11:15, July 4, 2024

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