Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
Difference between revisions of "Template:Round"
From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
m (Gift from MW which was a gift from WK...lol) |
(changed to template link; parameter in <code> tags) |
||
Line 2: | Line 2: | ||
==Usage== | ==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. | This template is used to automatically generate all of the border rounding code. To use it, type {{tl|round|round{{!}}<code>radius</code>}} 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. | ||
[[Category:Formatting Templates]]</noinclude> | [[Category:Formatting Templates]]</noinclude> |
Revision as of 17:53, 4 August 2010
border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px; -khtml-border-radius: 15px; -icab-border-radius: 15px; -o-border-radius: 15px;
Usage
This template is used to automatically generate all of the border rounding code. To use it, type Template:Tl 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.