Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Population compare: Difference between revisions

Template page
Shane (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#expr:{{{2}}} > 0}}
<includeonly><span class="flag">{{#ifeq:{{#expr:{{{2}}} > 0}}
| 1  
| 1  
| <!-- THEN: --> {{#ifeq:{{#expr:{{{1}}} >= {{{2}}}}}
| <!-- THEN: --> {{#ifeq:{{#expr:{{{1}}} >= {{{2}}}}}
Line 5: Line 5:
| <!-- THEN: --> {{#ifeq:{{{1}}}
| <!-- THEN: --> {{#ifeq:{{{1}}}
| {{{2}}}
| {{{2}}}
| ([[Image:Symbol Steady Arrow.svg|13px|No population change.]])
| ([[File:Symbol Steady Arrow.svg|13px|No population change.]])
| ([[Image:Symbol Up Arrow.svg|13px|Population increase.]] {{formatnum:{{#expr:{{{1}}} - {{{2}}}}}}})
| ([[File:Symbol Up Arrow.svg|13px|Population increase.]] {{formatnum:{{#expr:{{{1}}} - {{{2}}}}}}})
}}
}}
| <!-- ELSE: --> ([[Image:Symbol Down Arrow.svg|13px|Population decline.]] {{formatnum:{{#expr:{{{2}}} - {{{1}}}}}}})
| <!-- ELSE: --> ([[File:Symbol Down Arrow.svg|13px|Population decline.]] {{formatnum:{{#expr:{{{2}}} - {{{1}}}}}}})
}}
}}
| <!-- ELSE: -->
| <!-- ELSE: -->
}}</includeonly><noinclude>[[Category:Mathematical templates|{{PAGENAME}}]]</noinclude>
}}</span></includeonly><noinclude>[[Category:Mathematical templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:42, 21 June 2025