Template:Decrease: Difference between revisions
Jump to navigation
Jump to search
(adding size parameter, per Template_talk:Increase#Size_parameter) |
Richardpruen (talk | contribs) m (1 revision imported: Wikipedia article on Nicotine templates needed) |
||
(No difference)
|
Latest revision as of 17:56, 12 December 2020
This template is used on approximately 34,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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.
Decrease
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}}.
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.
| String | optional |
size | size | Changes the size of the icon. Use when adjacent to small/large text.
| Unknown | optional |