Revision 5962688 of "Template:Get Austria population" on simplewiki<!--
-===========================================
- Get_Austria_population: Count of residents
-===========================================
-->{{
#ifexpr: {{{key|901}}} > 0
|{{Metadata population AT-{{padleft:|1|{{{key|901}}} }}|{{{key|901}}} }}
|{{{defcount|-1}}}<!--
-->}}<!--endif {key} > 0
--><noinclude>
The '''Template:Get Austria population''' retrieves the population count of a location in [[Austria]] for key=nnnnn greater than zero, or else returns the number in the parameter defcount.
:: '''Usage:''' {{Get Austria population|key=901|defcount=45000}}
The population count is returned without commas, so the number can be used within a calculation expression. To add commas, then use {{formatnum:___}} around the template call.
The key=nnnn can be set by using <nowiki>{{Get Austria location code |name}}</nowiki>, where the ''name'' is the formal name of a city, town or district in the nation of [[Austria]].
==See also==
*[[Template:EWZ]] - Get population count
*[[Template:EWD]] - Get population as-of date
:(similar to [[German WP]] [[:de:Vorlage:EWZ]] & [[:de:Vorlage:EWD]])
[[Category:Wikipedia formatting and function templates]]
</noinclude>All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://simple.wikipedia.org/w/index.php?oldid=5962688.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|