Jump to content

Template:GeoGroup: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
infobox -> side box to support MediaWiki_talk:Common.css/to_do#Infoboxes, remove mapframe with very low use (maplink retained)
 
Line 1: Line 1:
{{side box
{| class="noprint infobox" id="GeoGroup" style="width: 23em; font-size: 88%; line-height: 1.5em"
|text=
|-
| {{yesno|{{#ifeq:{{NAMESPACE:{{{article|}}}}}|Category|no|{{{mapframe|}}}}}
'''{{yesno|{{#ifeq:{{NAMESPACE:{{{article|}}}}}|Category|no|{{{maplink|}}}}}
|yes={{maplink|frame=yes|plain=yes|frame-align=center|frame-width=290|type=named|from={{#if:{{{section|}}}|{{{article|}}}#{{{section|}}}|{{{article|}}}}}}}
}} '''{{yesno|{{#ifeq:{{NAMESPACE:{{{article|}}}}}|Category|no|{{{maplink|{{yesno-no|{{{mapframe|}}}|yes=no|no=yes}}}}}}}
|no=Map {{{text|{{#if:{{{section|}}}|this section's|all}} coordinates{{#if:{{{article|}}}| in "{{{article}}}"}}}}}
|no=Map {{{text|{{#if:{{{section|}}}|this section's|all}} coordinates{{#if:{{{article|}}}| in "{{{article}}}"}}}}}
|yes={{maplink
|yes={{maplink
Line 10: Line 8:
|text=Map {{{text|of {{#if:{{{section|}}}|this section's|all}} coordinates{{#if:{{{article|}}}| in "{{{article}}}"}}}}}
|text=Map {{{text|of {{#if:{{{section|}}}|this section's|all}} coordinates{{#if:{{{article|}}}| in "{{{article}}}"}}}}}
}}, or show
}}, or show
}} using:''' [https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=en&article={{urlencode:{{{articlee|{{{article|{{FULLPAGENAMEE}}}}}}}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}|&l={{urlencode:{{{level|}}}}}}} OpenStreetMap]
}} using''' [https://tools.wmflabs.org/osm4wiki/cgi-bin/wiki/wiki-osm.pl?project=en&article={{urlencode:{{{articlee|{{{article|{{FULLPAGENAMEE}}}}}}}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}|&l={{urlencode:{{{level|}}}}}}} OpenStreetMap]

|-
|<div class="mw-collapsible mw-collapsed" style="margin-top:-0.5em;margin-bottom:-0.5em;" data-expandtext="show links" data-collapsetext="{{int:hide}}">
<div class="mw-collapsible mw-collapsed" data-expandtext="show links" data-collapsetext="{{int:hide}}">
'''Download coordinates as:'''
'''Download coordinates as:'''
<div class="mw-collapsible-content" style="margin-top:-0.5em;margin-bottom:-0.5em;">
<div class="mw-collapsible-content">
* [https://tools.wmflabs.org/kmlexport?article={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}|&l={{urlencode:{{{level|}}}}}}} KML]
* [https://tools.wmflabs.org/kmlexport?article={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}|&l={{urlencode:{{{level|}}}}}}} KML]
* [https://geoexport.toolforge.org/gpx?coprimary=all&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (all coordinates)]
* [https://geoexport.toolforge.org/gpx?coprimary=all&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (all coordinates)]
* [https://geoexport.toolforge.org/gpx?coprimary=primary&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (primary coordinates)]
* [https://geoexport.toolforge.org/gpx?coprimary=primary&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (primary coordinates)]
* [https://geoexport.toolforge.org/gpx?coprimary=secondary&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (secondary coordinates)]
* [https://geoexport.toolforge.org/gpx?coprimary=secondary&titles={{#if:{{{article|}}}|{{urlencode:{{{articlee|{{{article}}}}}}}}|{{FULLPAGENAMEE}}}}{{#if:{{{section|}}}|&section={{urlencode:{{{section|}}}}}}}{{#if:{{{level|}}}&l={{urlencode:{{{level|}}}}}}} GPX (secondary coordinates)]

</div>
</div>
</div>
</div>
|}{{#if:{{NAMESPACE}}||[[Category:Lists of coordinates]] [[Category:Geographic coordinate lists]] [[Category:Articles with Geo]]}}<noinclude>
}}{{#if:{{NAMESPACE}}||[[Category:Lists of coordinates]] [[Category:Geographic coordinate lists]] [[Category:Articles with Geo]]}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Category links go on the /doc sub-page; language links go to Wikidata, thank you! -->
<!-- Category links go on the /doc sub-page; language links go to Wikidata, thank you! -->

Latest revision as of 22:58, 21 February 2024