Difference between revisions of "Template:Roundy"

From Nookipedia, the Animal Crossing wiki
m (Protected "Template:Roundy": High traffic page ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
(moving documentation + adding category)
Tag: Replaced
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
border-radius: {{{1|20px}}}; -moz-border-radius: {{{1|20px}}}; -webkit-border-radius: {{{1|20px}}}; -khtml-border-radius: {{{1|20px}}}; -icab-border-radius: {{{1|20px}}}; -o-border-radius: {{{1|20px}}};<noinclude>
+
border-radius: {{{1|20px}}};<noinclude>{{Documentation}}[[Category:Formatting templates]]</noinclude>
 
 
'''If you update this template, make sure to make the necessary updates to all of the eight subtemplates: [[Template:roundytr|roundytr]], [[Template:roundytl|roundytl]], [[Template:roundybr|roundybr]], [[Template:roundybl|roundybl]], [[Template:roundytop|roundytop]], [[Template:roundybottom|roundybottom]], [[Template:roundyright|roundyright]], and [[Template:roundyleft|roundyleft]].'''
 
==Usage==
 
Used in tables to create rounded corners. Default is 20px.
 
 
 
*<code><nowiki>{{roundy|20px}}</nowiki></code>
 
Replace "20" with the amount of pixels to round all four corners by, including the px. Insert it in the '''style=" "''' section of a table.
 
 
 
There are also several variations of this template, working similarly.
 
*[[Template:Roundytr|Roundytr]] - Rounds just the top right corner
 
*[[Template:Roundytl|Roundytl]] - Rounds just the top left corner
 
*[[Template:Roundybr|Roundybr]] - Rounds just the bottom right corner
 
*[[Template:Roundybl|Roundybl]] - Rounds just the bottom left corner
 
*[[Template:Roundytop|Roundytop]] - Rounds both top corners
 
*[[Template:Roundybottom|Roundybottom]] - Rounds both bottom corners
 
*[[Template:Roundyleft|Roundyleft]] - Rounds both left corners
 
*[[Template:Roundyright|Roundyright]] - Rounds both right corners
 
 
 
The variations can be used together in various different ways and using different pixel amounts.
 
 
 
</noinclude>
 

Latest revision as of 11:48, November 22, 2022

border-radius: 20px;

Template documentation (view)


Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by just using the border-radius CSS properties directly and all instances of this template should be updated to the linked template instead.
Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by just using the border-radius CSS properties directly and all instances of this template should be updated to the linked template instead.

Template:Roundy

Usage

Used in tables to create rounded corners. Default is 20px.

  • {{roundy|20px}}

Replace "20" with the amount of pixels to round all four corners by, including the px. Insert it in the style=" " section of a table.

There are also several variations of this template, working similarly.

The variations can be used together in various different ways and using different pixel amounts. If you update this template, make sure to make the necessary updates to all of the eight subtemplates.