Template:Increase
(Redirected from Template:Gain)
Jump to navigation
Jump to search
This template is used on approximately 29,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 Increase
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:Increase/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. |