Difference between revisions of "Template:Decrease"
Jump to navigation
Jump to search
en>Andy M. Wang (sandbox sync per edit request (simplification for adding title attribute)) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 21:16, 8 January 2019
This template is used on approximately 22,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
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 Decrease
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 |
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 |
The above documentation is transcluded from Template:Decrease/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. |