Permanently protected template

Template:Taginfo2: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
Content deleted Content added
Minh Nguyen (talk | contribs)
URL-encode keys and values
Minh Nguyen (talk | contribs)
Commented out newlines to fit inside a list item
Line 2: Line 2:
|{{taginfoAJAX_relation|{{{rtype}}}|width={{{width|11em}}}|url={{{url|https://taginfo.openstreetmap.org}}}}}
|{{taginfoAJAX_relation|{{{rtype}}}|width={{{width|11em}}}|url={{{url|https://taginfo.openstreetmap.org}}}}}
|{{taginfoAJAX|{{{1}}}|{{{2|}}}|width={{{width|11em}}}|footer={{{footer|yes}}}|tagLink={{{tagLink|yes}}}|percentage={{{percentage|yes}}}|countNodes={{{countNodes|yes}}}|countWays={{{countWays|yes}}}|countRelations={{{countRelations|yes}}}|countAll={{{countAll|yes}}}|url={{{url|https://taginfo.openstreetmap.org}}}}}
|{{taginfoAJAX|{{{1}}}|{{{2|}}}|width={{{width|11em}}}|footer={{{footer|yes}}}|tagLink={{{tagLink|yes}}}|percentage={{{percentage|yes}}}|countNodes={{{countNodes|yes}}}|countWays={{{countWays|yes}}}|countRelations={{{countRelations|yes}}}|countAll={{{countAll|yes}}}|url={{{url|https://taginfo.openstreetmap.org}}}}}
}}
}}<!--
--><div class="taginfo-fallback-link"><!--
<!-- Fallback in case there's no javascript -->
-->{{#if: {{{rtype|}}}
<div class="taginfo-fallback-link">
| <!-- Fallback in case there's no javascript -->[{{{url|https://taginfo.openstreetmap.org}}}/relations/?rtype={{urlencode:{{{rtype|}}}|query}} Learn more at '''tag'''Info]
{{#if: {{{rtype|}}}
| [{{{url|https://taginfo.openstreetmap.org}}}/relations/?rtype={{urlencode:{{{rtype|}}}|query}} Learn more at '''tag'''Info]
| {{int:taginfo-powered-by|{{#if: {{{2|}}}|{{{url|https://taginfo.openstreetmap.org}}}/tags/{{urlencode:{{{1}}}={{{2}}}|PATH}}
| {{int:taginfo-powered-by|{{#if: {{{2|}}}|{{{url|https://taginfo.openstreetmap.org}}}/tags/{{urlencode:{{{1}}}={{{2}}}|PATH}}
|{{{url|https://taginfo.openstreetmap.org}}}/keys/{{urlencode:{{{1}}}|PATH}}}}
|{{{url|https://taginfo.openstreetmap.org}}}/keys/{{urlencode:{{{1}}}|PATH}}}}
|tag'''info'''}}
|tag'''info'''}}
}}
}}<!--
</div><noinclude>
--></div><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 07:46, 20 November 2021