Template:RBX

From Lunarpedia
Revision as of 06:39, 5 August 2017 by Strangelv (talk | contribs) (updating; replacing sample text; a better choice probably exists; hope this fixes it)
Jump to: navigation, search


CSS styling template. Place inside a style attribute.

Settings

  • border: border color
  • legacy: background color for non-CSS3 browsers
  • topcolor: color at the top of the background gradient
  • botcolor: color at the bottom of the background gradient
  • radius: radius of corners
  • webkit: radius of corners for browsers that respond to -webkit-border-radius

Examples

Defaults

L5
in
'95

<DIV style="width: 25em; text-align:center; {{RBX}}">
'''L5<BR/>in<BR/>'95'''
</DIV>

Customized

L5
in
'95

<DIV style="width: 25em; text-align:center; {{RBXNS | border=#FF007F | legacy=#DFDFDF | topcolor=#BF7F17 | botcolor=#177FBF | radius=2em | webkit=0}}">
'''L5<BR/>in<BR/>'95'''
</DIV>