Template:Decrease

From NationStates Sports Wiki
Revision as of 11:58, 29 January 2008 by wikipedia>Denelson83 (Why not just use Unicode? Revert if you disagree)
Jump to navigation Jump to search

Icons to show fluctuation

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

TemplateData for Decrease

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. Increase&nbsp;<span class="nowrap">&#123;&#123;</span>Increase<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>IncreasePositive<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Up<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Gain<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Profit<span class="nowrap">&#125;&#125;</span> is a green up arrow. \n<span style="color: red; font-size: larger;">▼</span>&nbsp;<span class="nowrap">&#123;&#123;</span>Decrease<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>DecreaseNegative<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Down<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Loss<span class="nowrap">&#125;&#125;</span> is a red down arrow. \nSteady&nbsp;<span class="nowrap">&#123;&#123;</span>Steady<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Nochange<span class="nowrap">&#125;&#125;</span> = <span class="nowrap">&#123;&#123;</span>Same<span class="nowrap">&#125;&#125;</span> is a flat line for no change. Where the quantity involved should be minimized (e.g. road accidents), use Negative increase <span class="nowrap">&#123;&#123;</span>IncreaseNegative<span class="nowrap">&#125;&#125;</span> and Positive decrease <span class="nowrap">&#123;&#123;</span>DecreasePositive<span class="nowrap">&#125;&#125;</span> instead, which flip the colors. Where the quantity involved is neither color, use Neutral increase <span class="nowrap">&#123;&#123;</span>IncreaseNeutral<span class="nowrap">&#125;&#125;</span> and Neutral decrease <span class="nowrap">&#123;&#123;</span>DecreaseNeutral<span class="nowrap">&#125;&#125;</span>.<br/><br/>To automatically display the appropriate symbol along with a value, use <span class="nowrap">&#123;&#123;</span>Fluctuation formatter<span class="nowrap">&#125;&#125;</span>.",
	"format": "inline"
}

See also