Jump to content

Template:OSMW: Difference between revisions

From OpenGeofiction
Created page with "<includeonly>20px|link= <span class="plainlinks">[https://wiki.openstreetmap.org/wiki/{{{1}}} {{{2}}}]</span></includeonly><noinclude> =Usage= <no..."
 
m usage
 
Line 1: Line 1:
<includeonly>[[File:OpenStreetMapW.svg|20px|link=]] <span class="plainlinks">[https://wiki.openstreetmap.org/wiki/{{{1}}} {{{2}}}]</span></includeonly><noinclude>
<includeonly>[[File:OpenStreetMapW.svg|20px|link=]] <span class="plainlinks">[https://wiki.openstreetmap.org/wiki/{{{1}}} {{{2}}}]</span></includeonly><noinclude>


=Usage=
== Usage ==
<nowiki>{{OSMW | page_name | custom text }}</nowiki>, where lat and long are the numbers as they appear in the URL of the OGF map.
<nowiki>{{OSMW | page_name | custom text }}</nowiki>


Example: <nowiki>{{OSMW|Key:leisure|Information about Key:Leisure}}</nowiki> generates {{OSMW|Key:leisure|Information about Key:Leisure}}.
Example: <nowiki>{{OSMW|Key:leisure|Information about Key:Leisure}}</nowiki> generates {{OSMW|Key:leisure|Information about Key:Leisure}}.


[[Category:Link templates]]</noinclude>
[[Category:Link templates]]</noinclude>

Latest revision as of 09:08, 28 March 2025


Usage

{{OSMW | page_name | custom text }}

Example: {{OSMW|Key:leisure|Information about Key:Leisure}} generates Information about Key:Leisure.