Template:DecreasePositive

From Hârn
Jump to navigation Jump to search

Positive decrease

Template documentation[view] [edit] [history] [purge]

Icons to show fluctuation[edit source]


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 {{Increase}} = {{Gain}} = {{Profit}} is a green up arrow. Decrease {{Decrease}} = {{Down}} = {{Loss}} is a red down arrow. Steady {{Steady}} = {{Nochange}} is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use Negative increase {{IncreaseNegative}} and Positive decrease {{DecreasePositive}} instead, which flip the colors. Where the quantity involved is neither color, use Neutral increase {{IncreaseNeutral}} and Neutral decrease {{DecreaseNeutral}}.
ParameterDescriptionTypeStatus
Tooltip text1
Changes the text displayed on hover.
Default
Defaults to something appropriate to the chosen template, such as "Increase".
Example
−5%
Stringoptional

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. Where the quantity involved is neither color, use {{IncreaseNeutral}} and {{DecreaseNeutral}}.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Tooltip text1

Changes the text displayed on hover.

Default
Defaults to something appropriate to the chosen template, such as "Increase".
Example
−5%
Stringoptional