A Wiki in the Desert
Log in

Template:Citrus

From A Wiki in the Desert
Revision as of 19:55, 16 August 2019 by Brad (talk | contribs) (Fixed numbers wrapping on short bars)

Creates a table with Color, Sweet, Size and Length, where the bar will show the fill level

Usage:

  • {{Citrus|Value of Color|Value of Sweet|Value of Size|Value of Length}}
  • {{Citrus|Value of Color|Value of Sweet|Value of Size|Value of Length|Color of Color (optional)|Color of Sweet (optional)|Color of Size (optional)|Color of Value (optional)}}

Value should be between 0 and 1000.
Color needs to be a Hex Value (where no value is specified, #7777FF is used)

Example: {{Citrus|200|400|600|800|#FF0000}} produces:

Color:
  200
Sweet:
  400
Size:
  600
Length:
  800