Jump to content

Template:DecreasePositive/doc

Kufuma Wikipedia

Icons to show fluctuation

[kulemba source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for DecreasePositive

fatal JSON error: mw.text.jsonDecode: Syntax error

{
	"params": {
		"1": {
			"label": "Tooltip text",
			"description": "Changes the text displayed on hover.",
			"example": "−5%",
			"type": "string",
			"default": "Defaults to something appropriate to the chosen template, such as \"Increase\"."
		},
		"size": {
			"description": "Changes the size of the icon. Use when adjacent to small/large text.",
			"type": "unknown",
			"default": "11px"
		}
	},
	"description": "This is one of a series of templates to display an increase or decrease arrow icon. <span title="Increase">Increase</span>&nbsp;&#123;&#123;Increase&#125;&#125; = &#123;&#123;IncreasePositive&#125;&#125; = &#123;&#123;Up&#125;&#125; = &#123;&#123;Gain&#125;&#125; = &#123;&#123;Profit&#125;&#125; is a green up arrow. \nDecrease&nbsp;&#123;&#123;Decrease&#125;&#125; = &#123;&#123;DecreaseNegative&#125;&#125; = &#123;&#123;Down&#125;&#125; = &#123;&#123;Loss&#125;&#125; is a red down arrow. \nSteady&nbsp;&#123;&#123;Steady&#125;&#125; = &#123;&#123;Nochange&#125;&#125; = &#123;&#123;Same&#125;&#125; is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use Negative increase &#123;&#123;IncreaseNegative&#125;&#125; and Positive decrease &#123;&#123;DecreasePositive&#125;&#125; instead, which flip the colors. Where the quantity involved is neither color, use Neutral increase &#123;&#123;IncreaseNeutral&#125;&#125; and Neutral decrease &#123;&#123;DecreaseNeutral&#125;&#125;.<br/><br/>To automatically display the appropriate symbol along with a value, use &#123;&#123;Fluctuation formatter&#125;&#125;.",
	"format": "inline"
}

See also

[kulemba source]