Template:TagCount/testcases
Jump to navigation
Jump to search
| This is the template test cases page for the sandbox of Template:TagCount. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Examples:
{{TagCount|building}}produces (total count ofbuilding=*elements){{TagCount|building|detached}}produces (total count ofbuilding=detachedobjects){{TagCount|building|detached|node}}produces (total count ofbuilding=detachednodes){{TagCount|building|detached|way}}produces (total count ofbuilding=detachedways){{TagCount|building|detached|rel}}produces (total count ofbuilding=detachedrelations, presumably multipolygons)
{{TagCount|building||node}} produces (total count of building=* nodes, regardless of tag value)