Open main menu

Difference between revisions of "Template:Tfluc-common-doc"

 
m (1 revision imported)
 

Latest revision as of 22:41, 22 December 2019

Icons to show fluctuation

This templatedata is intended to be generic and apply to all the templates mentioned.

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Tfluc-common-doc in articles based on its TemplateData.

TemplateData for Tfluc-common-doc

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.
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.

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