Template:Population compare: Difference between revisions

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

Latest revision as of 15:13, 1 March 2007