Template:Taginfo entry/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

Example:

{{Taginfo entry|building}} {{Taginfo entry|building|detached}}

You can also choose statistics for a specific region

{{Taginfo entry|building|region=ru}} {{Taginfo entry|building|detached|region=ru}}

It is also possible to make a convenient sorting by the number of uses

Tag Count
building=apartments
building=residential
building=house
building=detached
building=farm_auxiliary
building=garage
building=hut
building=industrial
building=shed
building=yes
{|class="wikitable sortable"
!Tag
!data-sort-type="number"|Count
|-
|{{Tag|building|apartments}}{{Taginfo entry|building|apartments}}
|-
//Rows
|-
|{{Tag|building|yes}}{{Taginfo entry|building|yes}}
|}

Just a simple way to make a cell in table with a counter.

See also