Editing Template:Userbox-r/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 42: | Line 42: | ||
}} | }} | ||
</pre> | </pre> | ||
* Text size is assumed to be in points | * Text size is assumed to be in [[Point (typography)|points]] | ||
* If border-c is not specified, id-c will be used | * If border-c is not specified, id-c will be used | ||
* All parameters are optional | * All parameters are optional | ||
Line 58: | Line 58: | ||
<!-- explain what this template's parameters do -- if no params, delete the definition --> | <!-- explain what this template's parameters do -- if no params, delete the definition --> | ||
=== Example === | === Example === | ||
{| | {| | ||
Line 111: | Line 110: | ||
}}</pre> || {{userbox-r|id=foo logo|id-s=14|id-lh=1.1em|id-c=#ffffee|info=''We have specified values to lessen the distance in between text lines & padding space in between cell content and its border.''|info-c=#ffeeff|info-s=8|info-p=1pt|info-lh=1.05em|border-c=#aaffaa|border-s=1}} | }}</pre> || {{userbox-r|id=foo logo|id-s=14|id-lh=1.1em|id-c=#ffffee|info=''We have specified values to lessen the distance in between text lines & padding space in between cell content and its border.''|info-c=#ffeeff|info-s=8|info-p=1pt|info-lh=1.05em|border-c=#aaffaa|border-s=1}} | ||
|- | |- | ||
| colspan="2"| Below example is for advanced users, showing how we can specify other Cascading Style Sheets properties, for example, "''font-family''", to change the font, which are not existing inside the template already. At below, right side shows two userboxes; top one is displayed without the "''font-family''" parameter, but the bottom userbox is displayed by using the below codes, with the help of "''info-op''" parameter. | | colspan="2"| Below example is for advanced users, showing how we can specify other [[Cascading Style Sheets|CSS]] properties, for example, "''font-family''", to change the font, which are not existing inside the template already. At below, right side shows two userboxes; top one is displayed without the "''font-family''" parameter, but the bottom userbox is displayed by using the below codes, with the help of "''info-op''" parameter. | ||
|- | |- | ||
| <pre>{{userbox-r | | <pre>{{userbox-r | ||
Line 154: | Line 153: | ||
[[Category:User namespace templates|Userbox-r]] | [[Category:User namespace templates|Userbox-r]] | ||
</includeonly | </includeonly> |