Difference between revisions of "Template:Round"

228 bytes added ,  18:53, 4 August 2010
m
no edit summary
(changed to template link; parameter in <code> tags)
m
Line 2: Line 2:


==Usage==
==Usage==
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.
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.
 
:''Note- when changing this template, change all 9 templates to round corners {{tl|Round}}, {{tl|Roundytr}}, {{tl|Roundytl}}, {{tl|Roundbr}}, {{tl|Roundbl}}, {{tl|Roundtop}}, {{tl|Roundbottom}}, {{tl|Roundright}}, & {{tl|Roundleft}}''
 
[[Category:Formatting Templates]]</noinclude>
[[Category:Formatting Templates]]</noinclude>
Ambassadors
171

edits