Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:Round"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
m (1 revision: imported from lylat wiki)
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>{{doc}}[[Category:Formatting Templates]]</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:Rounding Templates]]</noinclude>

Revision as of 01:38, 9 March 2012

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}}