Difference between revisions of "Template:Google maps/doc"
Jump to navigation
Jump to search
imported>Debresser m (English is best served with 2 sentences in this case.) |
imported>Imzadi1979 (new parameter went live) |
||
| Line 3: | Line 3: | ||
This template is used for referencing maps published by [[Google|Google, Inc.]] through their [[Google Maps]] service. | This template is used for referencing maps published by [[Google|Google, Inc.]] through their [[Google Maps]] service. | ||
| − | This template is based on {{Tl|Cite map}} so it falls into the [[Help:Citation Style 1|Citation Style 1]] (CS1) series of templates. | + | This template is based on {{Tl|Cite map}} so it falls into the [[Help:Citation Style 1|Citation Style 1]] (CS1) series of templates, although it can be set to emulate CS2 style. |
Note that unlike paper maps, Google offers dynamic sizing at variable scales. Major citation style guides omit a map scale in that situation so this template does not render any scale output. | Note that unlike paper maps, Google offers dynamic sizing at variable scales. Major citation style guides omit a map scale in that situation so this template does not render any scale output. | ||
| Line 14: | Line 14: | ||
* '''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. | ||
| − | + | *'''mode''' – set to "cs2" to use [[Help:Citation Style 2|Citation Style 2]] output | |
==== Examples ==== | ==== Examples ==== | ||
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}}"): | ||
Revision as of 16:33, 21 March 2015
| 40px | 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.
This template is based on {{Cite map}} so it falls into the Citation Style 1 (CS1) series of templates, although it can be set to emulate CS2 style.
Note that unlike paper maps, Google offers dynamic sizing at variable scales. Major citation style guides omit a map scale in that situation so this template does not render any scale output.
Contents
Usage
{{Google maps|url= |title= |accessdate=20 January 2026}}
Parameters
- url – the URL for the map in question
- title – a "subtitle" for the map. The link text will appear as "<title>" if "title" is used; otherwise, it will be the page name.
- accessdate – the full retrieval date.
- link – set to "no" to unlink the publisher.
- mode – set to "cs2" to use Citation Style 2 output
Examples
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=20 January 2026}}
generates this:
- Google (20 January 2026). "Google maps" (Map). Google Maps. Google. Retrieved 20 January 2026.
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=20 January 2026 }}
generates this:
- Google (20 January 2026). "Driving directions to RT-308" (Map). Google Maps. Google. Retrieved 20 January 2026.
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