Hair Dyes/slider

From Terraria Wiki
Jump to navigation Jump to search
Information.svg
This page is solely used for formatting purposes on Hair Dyes.


This page is used for formatting certain data in a standardized way on the base page, Hair Dyes.

Using JavaScript, it displays a {{color box}} with a slider that can be used to adjust the color in the box. The algorithm used to determine the color is based on the $id parameter (health • mana • time • speed). The text in front of the color box can be adjusted via $outputlabel, it defaults to Color:. The $defaultvalue parameter can be used to set the initial value of the slider (0100), the default is 100. The $format parameter determines the overall format of the slider. The strings $slider$ and $value$ in the parameter value are replaced by the slider and the value of the slider (which might be modified, depending on $id), respectively. The default format is Value: $slider$ $value$%.

This page will not display anything and will not take up any space if JavaScript is not enabled.