Jump to content

Template:Jb/doc

From Toontown Rewritten Wiki

Description

Inserts an image of a jellybean of the given color and is intended to be used on pages about flowers and statues. The jellybean's color appears as text in a tooltip when a user hovers their cursor over it, which is helpful for users who are colorblind. The color is also the image's alt text for users who use screen readers.

This template has one parameter, in which the jellybean's color in full (e.g. {{jb|red}}) can be spelled out, or its first letter can be used (e.g. {{jb|r}}). By default, the image is 20 pixels wide, but its size can be changed using the second parameter (e.g. {{jb|red|15px}}).

RedGreenOrangeVioletBluePinkYellowCyanSilver

TemplateData

Template parameters

ParameterDescriptionTypeStatus
Color1

The color of the jellybean. Single letters (r, g, o, v, b, p, y, c, s) as a shorthand may be used instead of the full color name.

Suggested values
red green orange violet blue pink yellow cyan silver
Stringrequired
Size2

The display size of the jellybean image.

Default
20px
Stringsuggested


Cookies help us deliver our services. By using our services, you agree to our use of cookies.