Template:Population compare: Difference between revisions

Template page
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#ifeq:{{#expr:{{{2}}} > 0}}
{{#if:{{#expr:{{{1}}} => {{{2}}}}}
| 1
| <!-- THEN: -->  
| <!-- THEN: --> {{#ifeq:{{#expr:{{{1}}} >= {{{2}}}}}
{{#ifeq:{{{1}}}
| 1
| <!-- THEN: --> {{#ifeq:{{{1}}}
| {{{2}}}
| {{{2}}}
| ([[Image:Symbol Dash.svg|15px]])
| ([[Image:Symbol Steady Arrow.svg|13px|No population change.]])
| ([[Image:Symbol Up Arrow.svg|15px]] {{#expr:{{{1}}} - {{{2}}}}})
| ([[Image:Symbol Up Arrow.svg|13px|Population increase.]] {{formatnum:{{#expr:{{{1}}} - {{{2}}}}}}})
}}
}}
| <!-- ELSE: --> ([[Image:Symbol Down Arrow.svg|15px]] {{#expr:{{{2}}} - {{{1}}}}})
| <!-- ELSE: --> ([[Image:Symbol Down Arrow.svg|13px|Population decline.]] {{formatnum:{{#expr:{{{2}}} - {{{1}}}}}}})
}}
}}
</includeonly>
| <!-- ELSE: -->
}}</includeonly><noinclude>[[Category:Mathematical templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 15:13, 1 March 2007