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
mNo edit summary
Line 1: Line 1:
  border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;-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;-icab-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;<noinclude>
  border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;-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;-icab-border-radius:{{#ifeq:{{{1|}}}|{{void}}|15|{{{1|}}}}}px;<noinclude>
{{doc}}
{{doc}}
[[category:Formatting templates|R]]
[[Category:CSS templates|R]]
</noinclude>
</noinclude>

Revision as of 07:59, 1 January 2021

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