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 (Text replace - 'Formatting Templatess' to 'Formatting Templates')
Line 1: Line 1:
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>
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>{{doc}}[[Category:Formatting Templates]]</noinclude>
 
==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.
 
:''Note- when changing this template, change all 9 templates to round corners {{tl|Round}}, {{tl|Roundtr}}, {{tl|Roundtl}}, {{tl|Roundbr}}, {{tl|Roundbl}}, {{tl|Roundtop}}, {{tl|Roundbottom}}, {{tl|Roundright}}, & {{tl|Roundleft}}''
 
[[Category:Formatting Templates]]</noinclude>

Revision as of 18:22, 25 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 {{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.

Note- when changing this template, change all 9 templates to round corners {{Round}}, {{Roundtr}}, {{Roundtl}}, {{Roundbr}}, {{Roundbl}}, {{Roundtop}}, {{Roundbottom}}, {{Roundright}}, & {{Roundleft}}