<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://geofiction.lima-city.ch/index.php?action=history&amp;feed=atom&amp;title=Template%3AOGF_count</id>
	<title>Template:OGF count - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://geofiction.lima-city.ch/index.php?action=history&amp;feed=atom&amp;title=Template%3AOGF_count"/>
	<link rel="alternate" type="text/html" href="https://geofiction.lima-city.ch/index.php?title=Template:OGF_count&amp;action=history"/>
	<updated>2026-05-04T19:02:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://geofiction.lima-city.ch/index.php?title=Template:OGF_count&amp;diff=64&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;&lt;!-- Please DO NOT EDIT! Please contact User:Mstr for any edits! --&gt;&lt;includeonly&gt;{{#expr: {{OGF_count_sub | count = {{{count|}}} | type = node | area = {{{area|}}} | search1 =...&quot;</title>
		<link rel="alternate" type="text/html" href="https://geofiction.lima-city.ch/index.php?title=Template:OGF_count&amp;diff=64&amp;oldid=prev"/>
		<updated>2021-10-22T16:14:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;!-- Please DO NOT EDIT! Please contact User:Mstr for any edits! --&amp;gt;&amp;lt;includeonly&amp;gt;{{#expr: {{OGF_count_sub | count = {{{count|}}} | type = node | area = {{{area|}}} | search1 =...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Please DO NOT EDIT! Please contact User:Mstr for any edits! --&amp;gt;&amp;lt;includeonly&amp;gt;{{#expr: {{OGF_count_sub | count = {{{count|}}} | type = node | area = {{{area|}}} | search1 = {{{search1|}}} | search2 = {{{search2|}}} }} + {{OGF_count_sub | count = {{{count|}}} | type = way | area = {{{area|}}} | search1 = {{{search1|}}} | search2 = {{{search2|}}} }} + {{OGF_count_sub | count = {{{count|}}} | type = relation | area = {{{area|}}} | search1 = {{{search1|}}} | search2 = {{{search2|}}} }} }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|To '''calculate a reasonable number of inhabitants''' in a town, city or country might be a difficult task. To legitimate a large number of inhabitants and to circumvent aforementioned difficulties the population can be counted based on mapping.&lt;br /&gt;
&lt;br /&gt;
It is quite easy to do so:&amp;lt;br&amp;gt;&lt;br /&gt;
:1. Add the [[Main_Page|OpenGeofiction]]-specific tag &amp;quot;ogf_count:residents=...&amp;quot; with a reasonable number (each number is allowed) to each residential building/block of buildings.&lt;br /&gt;
:2. Use the &amp;quot;OGF count&amp;quot;-template with &amp;quot;count=residents&amp;quot; to request the population.&lt;br /&gt;
:3. Additionally, you can add &amp;quot;area=...&amp;quot; to request the population in a specific area and &amp;quot;search1=...&amp;quot; and &amp;quot;search2=...&amp;quot; to refine the request to key/value combinations.&lt;br /&gt;
:4. Enjoy!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;pre&amp;gt;{{OGF_count &lt;br /&gt;
| count   = name of counter {residents, employees, gross value added, passengers, ...}&lt;br /&gt;
| area    = area where to search&lt;br /&gt;
| search1 = search for additional tag with key/value&lt;br /&gt;
| search2 = search for additional tag with key/value&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
=Examples=&lt;br /&gt;
&amp;lt;pre&amp;gt;{{OGF_count | count = residents | area = MER}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{OGF_count | count = residents | area = MER}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{OGF_count | count = residents | area = MER | search1 = building/yes}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{OGF_count | count = residents | area = MER | search1 = building/yes}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{OGF_count | count = residents | area = MER | search1 = building/yes | search2 = name/2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{OGF_count | count = residents | area = MER | search1 = building/yes | search2 = name/2}}&lt;br /&gt;
&lt;br /&gt;
=Test=&lt;br /&gt;
&lt;br /&gt;
{{OGF_count}}&lt;br /&gt;
&lt;br /&gt;
{{OGF_count | count = residents}}&lt;br /&gt;
&lt;br /&gt;
{{OGF_count | count = residents | area = MER}}&lt;br /&gt;
&lt;br /&gt;
{{OGF_count | count = residents | area = Lichtemberg}}--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates User:MStr]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>