3,554
edits
m (→Example) |
mNo edit summary |
||
Line 42: | Line 42: | ||
==Usage== | ==Usage== | ||
For basic usage, type: {{Desc|Optional| | For basic usage, type: {{Desc|Optional|Radius of Rounding}} | ||
{{Parameter| | {{Parameter|Radius of Rounding|The amount to round the corners, in terms of pixels in pure number (no letters). A higher number results in a more extreme curve.|Optional|20}} | ||
This code is intended to be placed in the coding for div tags or in tables. The code can format the div tag, a whole table, or an indiviual cell. The code is expected to be used as '''<nowiki>style="{{round}}"</nowiki>''', the "style" portion is not included in the template to allow for additional style modifications. | This code is intended to be placed in the coding for div tags or in tables. The code can format the div tag, a whole table, or an indiviual cell. The code is expected to be used as '''<nowiki>style="{{round}}"</nowiki>''', the "style" portion is not included in the template to allow for additional style modifications. | ||
The template can be used in a more complex manner with: {{desc|Optional|Type of Rounding| | ===Advanced Usage=== | ||
The template can be used in a more complex manner with: {{desc|Optional|Type of Rounding|Radius of Rounding}} | |||
With the available types being: | With the available types being: |