Template:Round: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(categorisation, conciseness. Removed last sentence 'cause it's untrue. border-radius should be last so any browsers supporting it and another use the standard (spec may change?))
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
-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;<noinclude>
{{#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.


==Use==
==Parameters==
This template generates border rounding code. To use it, type <nowiki>{{round|radius}}</nowiki> in the 'style' property of an element, where radius is the radius of the rounded border in pixels (defaults to 15). Do not include 'px' after the number.
{| class = "wikitable"
[[Category:Templates|{{PAGENAME}}]]
! 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 15:14, July 4, 2024

border-radius: 15px 0;

Artwork of the bomb rock.

This page is currently pending deletion. Reason:
no longer necessary
Discuss your opinion on the talk page.

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