Template:Tfluc-common-doc
Jump to navigation
Jump to search
Icons to show fluctuation[edit source]
This templatedata is intended to be generic and apply to all the templates mentioned.
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
TemplateData for Tfluc-common-doc
This is one of a series of templates to display an increase or decrease arrow icon.
{{Increase}} = {{Gain}} = {{Profit}} is a green up arrow.
{{Decrease}} = {{Down}} = {{Loss}} is a red down arrow.
{{Steady}} = {{Nochange}} 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.
![Increase Increase](https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Increase2.svg/11px-Increase2.svg.png)
![Decrease Decrease](https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Decrease2.svg/11px-Decrease2.svg.png)
![Steady Steady](https://upload.wikimedia.org/wikipedia/commons/thumb/9/96/Steady2.svg/11px-Steady2.svg.png)
![Negative increase Negative increase](https://upload.wikimedia.org/wikipedia/commons/thumb/5/59/Increase_Negative.svg/11px-Increase_Negative.svg.png)
![Positive decrease Positive decrease](https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/Decrease_Positive.svg/11px-Decrease_Positive.svg.png)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tooltip text | 1 | Changes the text displayed on hover.
| String | optional |
Format: inline
Test of raw TemplateData output:
This is one of a series of templates to display an increase or decrease arrow icon. {{Increase}} = {{Gain}} = {{Profit}} is a green up arrow. {{Decrease}} = {{Down}} = {{Loss}} is a red down arrow. {{Steady}} = {{Nochange}} 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tooltip text | 1 | Changes the text displayed on hover.
| String | optional |