Navigation menu

Template:Round: Difference between revisions

From Metroid Wiki
mNo edit summary
m (testestestest)
Line 1: Line 1:
border-radius: {{{1|10px}}}; -moz-border-radius: {{{1|10px}}}; -webkit-border-radius: {{{1|10px}}}; -khtml-border-radius: {{{1|10px}}}; -icab-border-radius: {{{1|10px}}}; -o-border-radius: {{{1|10px}}};<noinclude>
border-{{#switch: {{{2|}}}|tl=top-left-|tr=top-right-|bl=bottom-left-|br=bottom-right-}}radius: {{{1|10px}}}; -moz-border-radius{{#switch: {{{2|}}}|tl=-topleft|tr=-topright|bl=-bottomleft|br=-bottomright}}: {{{1|10px}}}; -webkit-border-{{#switch: {{{2|}}}|tl=top-left-|tr=top-right-|bl=bottom-left-|br=bottom-right-}}radius: {{{1|10px}}}; -khtml-border-{{#switch: {{{2|}}}|tl=top-left-|tr=top-right-|bl=bottom-left-|br=bottom-right-}}radius: {{{1|10px}}}; -icab-border-{{#switch: {{{2|}}}|tl=top-left-|tr=top-right-|bl=bottom-left-|br=bottom-right-}}radius: {{{1|10px}}}; -o-border-{{#switch: {{{2|}}}|tl=top-left-|tr=top-right-|bl=bottom-left-|br=bottom-right-}}radius: {{{1|10px}}};
 
<noinclude>
 
 
 
==Usage==
==Usage==
This template is used to automatically generate all of the border rounding code. To use it, type <nowiki>{{round|radius}}</nowiki> within a styling. The radius is the radius of the rounded border. If left blank, it will default to 15 pixels. Do not include a px after the number, and remember that the radius is in pixels. Be sure to include a semicolon after it if it is not the last item in the styling.
This template is used to automatically generate all of the border rounding code. To use it, type <nowiki>{{round|radius}}</nowiki> within a styling. The radius is the radius of the rounded border. If left blank, it will default to 15 pixels. Do not include a px after the number, and remember that the radius is in pixels. Be sure to include a semicolon after it if it is not the last item in the styling.

Revision as of 23:40, 16 July 2010

border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;

Usage

This template is used to automatically generate all of the border rounding code. To use it, type {{round|radius}} within a styling. The radius is the radius of the rounded border. If left blank, it will default to 15 pixels. Do not include a px after the number, and remember that the radius is in pixels. Be sure to include a semicolon after it if it is not the last item in the styling.