Template:Decrease/doc: Difference between revisions
Appearance
Content deleted Content added
(12 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> |
||
{{high-use|21563}} |
|||
Use {{[[Template:Decrease|decrease]]}} (or {{[[Template:Loss|loss]]}}) to indicate a decrease or loss. |
|||
{{Tfluc-common-doc}} |
|||
⚫ | |||
== See also == |
|||
* {{[[Template:Increase|increase]]}} (or {{[[Template:Gain|gain]]}}/{{[[Template:Profit|profit]]}}) to indicate an increase or profit. |
|||
* {{[[Template:Steady|steady]]}} to indicate no change or a steady profit. |
|||
* {{[[Template:IncreaseNegative|IncreaseNegative]]}} to indicate when an increase is actually bad. |
|||
* {{[[Template:DecreasePositive|DecreasePositive]]}} to indicate when a decrease is actually good. |
|||
⚫ | |||
<!-- ADD CATEGORIES BELOW THIS LINE --> |
<!-- ADD CATEGORIES BELOW THIS LINE --> |
||
[[Category: |
[[Category:Direction-related icon templates]] |
||
⚫ | |||
<!-- ADD INTERWIKIS BELOW THIS LINE --> |
|||
[[af:Sjabloon:Daal]] |
|||
[[be-x-old:Шаблён:Падзеньне]] |
|||
[[bg:Шаблон:Понижение]] |
|||
[[ca:Plantilla:Loss]] |
|||
[[cs:Šablona:Pokles]] |
|||
[[da:Skabelon:Fald]] |
|||
[[es:Plantilla:Decreciente]] |
|||
[[fa:الگو:زیان]] |
|||
[[fr:Modèle:Diminution]] |
|||
[[ko:틀:감소]] |
|||
[[ia:Patrono:Decrease]] |
|||
[[ja:Template:Decrease]] |
|||
[[jv:Cithakan:Decrease/doc]] |
|||
[[mk:Шаблон:Пад]] |
|||
[[no:Mal:Nedgang]] |
|||
[[pl:Szablon:Spadek]] |
|||
[[pt:Predefinição:Decrease]] |
|||
[[ro:Format:Scădere]] |
|||
[[ru:Шаблон:Падение]] |
|||
[[sl:Predloga:Upad]] |
|||
[[simple:Template:Decrease]] |
|||
[[sv:Mall:Minska]] |
|||
[[tr:Şablon:Azalış]] |
|||
[[uk:Шаблон:Зменшення]] |
|||
[[vep:Šablon:Decrease]] |
|||
[[zh:Template:Decrease]] |
|||
[[ta:வார்ப்புரு:நஷ்டம்]] |
|||
⚫ |
Latest revision as of 23:09, 24 April 2020
This is a documentation subpage for Template:Decrease. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 41,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
[edit]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
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. Examples of situations where the use of {{Increase}} is appropriate include:
To automatically display the appropriate symbol along with a value, use {{Fluctuation formatter}}.
- The quantity involved is an entity's rank according to a property where minimizing the quantity is desirable (e.g., a country's HDI rank), is always non-negative by definition and shows an encouraging improvement (e.g., an improvement in a country’s HDI rank).
- The quantity involved should be maximized (e.g., global literacy rate, annual revenue for a business, log probability for a likelihood function in maximum likelihood estimation), can take values from either the set of non-negative reals or the set of non-positive reals (but not both), and implies a favorable progression (e.g., an increased literacy rate, an increased revenue, a higher log probability).
- The quantity involved should be maximized (e.g., annual income for a business), may be positive, negative or zero in general, is currently a positive number (e.g., a profit, i.e., a positive annual income, justifying the green color) and informs a constructive shift (e.g., a profit which follows either a loss or a lower profit, justifying the up arrow).
- The quantity involved is an entity's rank according to a property where minimizing the quantity is desirable (e.g., a country's HDI rank), is always non-negative by definition and shows an undesirable shift (e.g., a worsening in a country’s HDI rank).
- The quantity involved should be maximized (e.g., global literacy rate, annual revenue or income for a business, log probability for a likelihood function in maximum likelihood estimation) and implies an unwanted deterioration (e.g., a reduction in literacy rate, a fall in revenue, a decrease in income—resulting from a reduced profit or an increased loss or a loss following a profit, a reduction in log probability).
- The quantity involved should be minimized (e.g., a country's net carbon emission), may be positive, negative or zero in general, is currently a positive number (e.g., a net positive emission which is undesirable, justifying the red color) and informs a promising enhancement (e.g., a reduction in net carbon emission, justifying the down arrow).
- The quantity involved should be minimized (e.g., road accidents, a country's net carbon emission), is not an entity's rank according to a property where minimizing the quantity is desirable, and shows an unfortunate worsening (e.g., a rise in road accidents, a rise in a country's net carbon emission).
- The quantity involved should be maximized (e.g., annual income for a business), may be positive, negative or zero in general, is currently a negative number (e.g., a loss, i.e., a negative income, justifying the red color) and implies an encouraging improvement (e.g., a reduction in loss, i.e., a rise in income, justifying the up arrow).
- The quantity involved should be minimized (e.g., road accidents), is not an entity's rank according to a property where minimizing the quantity is desirable, can take values from either the set of non-negative reals or the set of non-positive reals (but not both), and communicates a favorable progression (e.g., a reduction in road accidents).
- The quantity involved should be minimized (e.g., a country's net carbon emission), may be positive, negative or zero in general, is currently a negative number (e.g., a net negative emission, justifying the green color) and informs a desired enhancement (e.g., a reduction in net carbon emission, justifying the down arrow).
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 |
See also
[edit]