Template:Cite Google Maps/doc: Difference between revisions
Appearance
Content deleted Content added
Imzadi1979 (talk | contribs) new parameter went live |
Funandtrvl (talk | contribs) fx |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
|||
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. |
||
Line 7: | Line 8: | ||
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. |
||
== Usage == |
|||
<code><nowiki>{{Google maps|url= |title= |accessdate=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code> |
<code><nowiki>{{Google maps|url= |title= |accessdate=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code> |
||
=== Parameters === |
|||
* '''url''' – the URL for the map in question |
* '''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. |
* '''title''' – a "subtitle" for the map. The link text will appear as "<title>" if "title" is used; otherwise, it will be the page name. |
||
Line 15: | Line 17: | ||
* '''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 |
*'''mode''' – set to "cs2" to use [[Help:Citation Style 2|Citation Style 2]] output |
||
=== 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}}"): |
||
* <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> |
* <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> |
||
Line 25: | Line 28: | ||
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={{date}}}} |
* {{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}}}} |
||
== 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 |
*{{tl|Cite map}}, generic |
||
<includeonly> |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
||
<!-- Categories below this line, please; interwikis at Wikidata --> |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
[[Category:Citation Style 1 specific-source templates]] |
[[Category:Citation Style 1 specific-source templates]] |
||
[[Category:Google templates]] |
[[Category:Google templates]] |
||
[[Category:Specific-source templates]] |
[[Category:Specific-source templates]] |
||
⚫ | |||
[[es:Plantilla:Google maps]] |
|||
[[ja:Template:Google maps]] |
|||
[[tr:Şablon:Google maps]] |
|||
⚫ |
Revision as of 03:08, 6 August 2015
This is a documentation subpage for Template:Cite Google Maps. It may contain 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.
Usage
{{Google maps|url= |title= |accessdate=3 November 2024}}
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. "Cite Google Maps", which is taken from the template's full page title "Template:Cite 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=3 November 2024}}
generates this:
- "Cite Google Maps" (Map). Google Maps. Retrieved 3 November 2024.
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=3 November 2024 }}
generates this:
- "Driving directions to RT-308" (Map). Google Maps. Retrieved 3 November 2024.
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