Template:Increase

From Anarchy Online Wiki [AOWiki]

Increase

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

{{#ifeq:increase |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Template:Increase
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

<templatestyles src="Template:Ombox/styles.css" />

Icons to show fluctuation

These templates show icons to indicate increase or decrease, such as ranking in a list or company profit.

An optional first argument alters the tooltip comment. For example, {{Decrease{{#ifeq:-5%|-5%| |-5% }}{{#ifeq:x|| |{{{3}}} }}{{#ifeq:x|| |{{{4}}} }}{{#ifeq:x|| |{{{5}}} }}{{#ifeq:x|| |{{{6}}} }}{{#ifeq:x|| |{{{7}}} }}{{#ifeq:x|| |{{{8}}} }}{{#ifeq:x|| |{{{9}}} }}}} produces -5%.

In cases where a symbol is needed to represent an increase that is "bad" or a decrease that is "good", such as a rise or fall in road accident fatalities, the following should be used:


{{#ifeq:Increase|sandbox | |}}

{{#if:|

[[Category:Template documentation pages{{#translation:}}]] }}