Template:Round: Difference between revisions

From Metroid Wiki
m
no edit summary
mNo edit summary
mNo edit summary
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-radius: {{{1|15px}}}; -moz-border-radius: {{{1|15px}}}; -webkit-border-radius: {{{1|15px}}}; -khtml-border-radius: {{{1|15px}}}; -icab-border-radius: {{{1|15px}}}; -o-border-radius: {{{1|15px}}};<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 10 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.


There are alternate templates that can be used in place of this one. Each has a certain corner that it forces round. They are:
There are alternate templates that can be used in place of this one. Each has a certain corner that it forces round. They are: