本Wiki中译名以官方Wiki中文语言包为准

染发剂/slider

来自Terraria Wiki
跳到导航 跳到搜索
Information.svg
此页面只在染发剂上用于格式化目的。


此页面在基础页面染发剂上用于以一种标准的方式格式化特定数据。

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.