Difference between revisions of "Template:Google maps/doc"
Jump to navigation
Jump to search
imported>FrescoBot m (Bot: misplaced invisible LTR marks) |
imported>Funandtrvl (updte, ce) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | This template is used for referencing maps published by [[Google, Inc.]] through their [[Google Maps]] service. | + | This template is used for referencing maps published by [[Google|Google, Inc.]] through their [[Google Maps]] service. |
=== Usage === | === Usage === | ||
==== Normal ==== | ==== Normal ==== | ||
Normal usage with automatic inclusion of page title (i.e. "{{BASEPAGENAME}}", which is taken from the template's full page title "{{FULLPAGENAME}}"): | Normal usage with automatic inclusion of page title (i.e. "{{BASEPAGENAME}}", which is taken from the template's full page title "{{FULLPAGENAME}}"): | ||
| − | * <code><nowiki>{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | accessdate = | + | * <code><nowiki>{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | accessdate = </nowiki>{{#time: j F Y}}<nowiki> }}</nowiki></code> |
generates this: | generates this: | ||
| − | * {{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | accessdate = | + | * {{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | accessdate = {{date}}}} |
==== With optional title parameter ==== | ==== With optional title parameter ==== | ||
Using the optional '''title''' parameter: | Using the optional '''title''' parameter: | ||
| − | * <code><nowiki>{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | title = Driving directions to RT-308 | accessdate = | + | * <code><nowiki>{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | title = Driving directions to RT-308 | accessdate = </nowiki>{{#time: j F Y}}<nowiki> }}</nowiki></code> |
generates this: | generates this: | ||
| − | * {{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | title = Driving directions to RT-308 | accessdate = | + | * {{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | title = Driving directions to RT-308 | accessdate = {{date}}}} |
=== Parameters === | === Parameters === | ||
| Line 21: | Line 21: | ||
* '''accessdate''' – the full retrieval date. | * '''accessdate''' – the full retrieval date. | ||
* '''link''' – set to "no" to unlink the publisher. | * '''link''' – set to "no" to unlink the publisher. | ||
| + | |||
=== See also === | === See also === | ||
*{{tl|Bing maps}}, the counterpart to this template for [[Bing Maps]] | *{{tl|Bing maps}}, the counterpart to this template for [[Bing Maps]] | ||
*{{tl|Yahoo maps}}, the counterpart to this template for [[Yahoo Maps]] | *{{tl|Yahoo maps}}, the counterpart to this template for [[Yahoo Maps]] | ||
| − | * | + | *{{tl|Cite map}}, generic |
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | |||
| − | |||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
| + | [[Category:Google templates]] | ||
| + | [[Category:Specific-source templates]] | ||
[[es:Plantilla:Google maps]] | [[es:Plantilla:Google maps]] | ||
Revision as of 23:12, 5 August 2012
| This is a documentation subpage for Template:Google maps. It contains usage information, categories and other content that is not part of the original template page. |
This template is used for referencing maps published by Google, Inc. through their Google Maps service.
Usage
Normal
Normal usage with automatic inclusion of page title (i.e. "Google maps", which is taken from the template's full page title "Template:Google maps/doc"):
{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | accessdate = 21 January 2026 }}
generates this:
- Google (21 January 2026). "Google maps" (Map). Google Maps. Google. Retrieved 21 January 2026.
With optional title parameter
Using the optional title parameter:
{{Google maps | url = http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%20@41.926860,%20-73.912580+to:+RT-308%20@41.970313,%20-73.821096 | title = Driving directions to RT-308 | accessdate = 21 January 2026 }}
generates this:
- Google (21 January 2026). "Driving directions to RT-308" (Map). Google Maps. Google. Retrieved 21 January 2026.
Parameters
- url – the URL for the map in question
- title – use to append a subtitle onto the default URL title (will display as "Google Maps – {{{title}}}")
- accessdate – the full retrieval date.
- link – set to "no" to unlink the publisher.
See also
- {{Bing maps}}, the counterpart to this template for Bing Maps
- {{Yahoo maps}}, the counterpart to this template for Yahoo Maps
- {{Cite map}}, generic