Template talk:Example table with computations, with optional substitution

From Meta, a Wikimedia project coordination wiki

Jump to: navigation, search
An easier way of full recursive substitution is now available with Special:ExpandTemplates. This avoids cluttering the template code with {{{subst|}}} and subst={{{subst:|}}}.

{{Example table with computations, with optional substitution| date = July 2006 | arpop = 71891 | arar = 193 | nlpop = 16491461 | nlar = 41526 | napop = 221736 | naar = 960 }}

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

{{subst:Example table with computations, with optional substitution| date = July 2006 | subst=subst: | arpop = 71891 | arar = 393 | nlpop = 16491461 | nlar = 41526 | napop = 221736 | naar = 960 }}

gives:


component population
(July 2006 est.)
area
(km²)
pop. dens.
(per km²)
currency
Aruba 71,891 393 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