Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.

Template:Round: Difference between revisions

From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
*>Neo
(Should've included this...)
*>Neo
m (???)
Line 1: Line 1:
  -moz-border-radius:{{#ifeq:{{{1}}}|{{void}}|15|{{{1}}}}}px;border-radius:{{#ifeq:{{{1}}}|{{void}}|15|{{{1}}}}}px; -webkit-border-radius:{{#ifeq:{{{1}}}|{{void}}|15|{{{1}}}}}px;khtml-border-radius:{{#ifeq:{{{1}}}|{{void}}|15|{{{1}}}}}px<noinclude>
  -moz-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px; -webkit-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;khtml-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px<noinclude>
{{doc}}
{{doc}}
[[category:Formatting Templates|R]]
[[category:Formatting Templates|R]]
</noinclude>
</noinclude>

Revision as of 15:16, 4 March 2010

-moz-border-radius:15px;border-radius:15px; -webkit-border-radius:15px;khtml-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.