Template:DecreasePositive
Icons to show fluctuation
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.
TemplateData for DecreasePositive
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.
| ⧼templatedata-doc-param-name⧽ | ⧼templatedata-doc-param-desc⧽ | ⧼templatedata-doc-param-type⧽ | ⧼templatedata-doc-param-status⧽ | |
|---|---|---|---|---|
| Tooltip text | 1 | Changes the text displayed on hover.
| ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-optional⧽ |
Format: inline
Test of raw TemplateData output:
<templatedata>{"description":"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.","format":"inline",
"params":{ "1":{"type":"string","description":"Changes the text displayed on hover.","label":"Tooltip text","example":"−5%","default":"Defaults to something appropriate to the chosen template, such as \"Increase\"."} }
}</templatedata>| The above documentation is transcluded from Template:DecreasePositive/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |