Template:Example table with computations

component population
({{{date}}} est.)
area
(km²)
pop. dens.
(per km²)
currency
Aruba {{{arpop}}} {{{arar}}} {{formatnum:{{#expr:{{{arpop}}}/{{{arar}}}round0}}}} Aruban Florin
Netherlands {{{nlpop}}} {{{nlar}}} {{formatnum:{{#expr:{{{nlpop}}}/{{{nlar}}}round0}}}} euro
Netherlands Antilles {{{napop}}} {{{naar}}} {{formatnum:{{#expr:{{{napop}}}/{{{naar}}}round0}}}} Netherlands Antilles Gulden
total {{formatnum:{{#expr: {{{arpop}}}+{{{nlpop}}}+{{{napop}}}}}}} {{formatnum:{{#expr:{{{arar}}}+{{{nlar}}}+{{{naar}}}}}}} {{formatnum:{{ #expr: ( {{{arpop}}}+{{{nlpop}}}+{{{napop}}} ) / ( {{{arar}}}+{{{nlar}}}+{{{naar}}} ) round 0}}}}

{| class="wikitable"

!component !! population<br>({{{date}}} est.) !! area<br>(km²) !! pop. dens.<br>(per km²) !! currency |-- align="right" |align="left" | [[Aruba]] || {{formatnum:{{{arpop}}}}} || {{formatnum:{{{arar}}}}} || {{Example table with computations/1|ar|pop={{{arpop|}}}|ar={{{arar|}}}}} || [[Aruban Florin]] |-- align="right" |align="left" | [[Netherlands]] || {{formatnum:{{{nlpop}}}}} || {{formatnum:{{{nlar}}}}} || {{Example table with computations/1|nl|pop={{{nlpop|}}}|ar={{{nlar|}}}}} ||[[euro]] |-- align="right" |align="left" | [[Netherlands Antilles]] || {{formatnum:{{{napop}}}}} || {{formatnum:{{{naar}}}}} || {{Example table with computations/1|na|pop={{{napop|}}}|ar={{{naar|}}}}} || [[Netherlands Antilles Gulden]] |-- align="right" |align="left" | total || {{#if:{{{arpop|}}}|{{formatnum:{{#expr: {{{arpop}}}+{{{nlpop}}}+{{{napop}}}}}}}|<code><nowiki>{{formatnum:{{#expr: {{{arpop}}}+{{{nlpop}}}+{{{napop}}}}}}}</nowiki></code>}} || {{#if:{{{arar|}}}| {{formatnum:{{#expr:{{{arar}}}+{{{nlar}}}+{{{naar}}}}}}}|<code><nowiki>{{formatnum:{{#expr:{{{arar}}}+{{{nlar}}}+{{{naar}}}}}}}</nowiki></code>}} || {{#if:{{{arpop|}}}|{{formatnum:{{ #expr: ( {{{arpop}}}+{{{nlpop}}}+{{{napop}}} ) / ( {{{arar}}}+{{{nlar}}}+{{{naar}}} ) round 0}}}} |<code><nowiki>{{formatnum:{{ #expr: ( {{{arpop}}}+{{{nlpop}}}+{{{napop}}} ) / ( {{{arar}}}+{{{nlar}}}+{{{naar}}} ) round 0}}}}</nowiki></code>}} ||

|}<noinclude>{{msgnw:{{PAGENAME}}}}{{doc}}</noinclude>

Template documentation


component population
(July 2006 est.)
area
(km²)
pop. dens.
(per km²)
currency
Aruba 71,891 193 372 Aruban Florin
Netherlands 16,491,461 41,526 397 euro
Netherlands Antilles 221,736 960 231 Netherlands Antilles Gulden
total 16,785,088 42,679 393

Applying subst gives:


component population
(July 2006 est.)
area
(km²)
pop. dens.
(per km²)
currency
Aruba 71,891 193 372 Aruban Florin
Netherlands 16,491,461 41,526 397 euro
Netherlands Antilles 221,736 960 231 Netherlands Antilles Gulden
total 16,785,088 42,679 393