Icons to show fluctuation
[edit]
This is one of a series of templates to display an increase or decrease arrow icon.
{{
Increase}} = {{
IncreasePositive}} = {{
Up}} = {{
Gain}} = {{
Profit}} is a green up arrow.
{{
Decrease}} = {{
DecreaseNegative}} = {{
Down}} = {{
Loss}} is a red down arrow.
{{
Steady}} = {{
Nochange}} = {{
Same}} is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use
{{
IncreaseNegative}} and
{{
DecreasePositive}} instead, which flip the colors. Where the quantity involved is neither color, use
{{
IncreaseNeutral}} and
{{
DecreaseNeutral}}.
To automatically display the appropriate symbol along with a value, use {{
Fluctuation formatter}}.
Parameter | Description | Type | Status |
Tooltip text | 1 | Changes the text displayed on hover. - Default
- Defaults to something appropriate to the chosen template, such as "Increase".
- Example
- −5%
| String | optional |
size | size | Changes the size of the icon. Use when adjacent to small/large text. - Default
- 11px
| Unknown | optional |
Format: inline
{
"params": {
"1": {
"label": "Tooltip text",
"description": "Changes the text displayed on hover.",
"example": "−5%",
"type": "string",
"default": "Defaults to something appropriate to the chosen template, such as \"Increase\"."
},
"size": {
"description": "Changes the size of the icon. Use when adjacent to small/large text.",
"type": "unknown",
"default": "11px"
}
},
"description": "This is one of a series of templates to display an increase or decrease arrow icon. {{Increase}} = {{IncreasePositive}} = {{Up}} = {{Gain}} = {{Profit}} is a green up arrow. \n {{Decrease}} = {{DecreaseNegative}} = {{Down}} = {{Loss}} is a red down arrow. \n {{Steady}} = {{Nochange}} = {{Same}} is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use {{IncreaseNegative}} and {{DecreasePositive}} instead, which flip the colors. Where the quantity involved is neither color, use {{IncreaseNeutral}} and {{DecreaseNeutral}}.<br/><br/>To automatically display the appropriate symbol along with a value, use {{Fluctuation formatter}}.",
"format": "inline"
}