Jump to content

Template:Cite Google Maps/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
added word "Cite" to example template codes
fixed capitalization
Line 11: Line 11:


== Usage ==
== Usage ==
<code><nowiki>{{Cite Google maps|url= |title= |access-date=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
<code><nowiki>{{Cite Google Maps|url= |title= |access-date=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>


=== Parameters ===
=== Parameters ===
Line 26: Line 26:
=== 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}}"):
* <code><nowiki>{{Cite 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 |access-date= </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
* <code><nowiki>{{Cite 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 |access-date= </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
generates this:
generates this:
* {{Cite 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 |access-date= {{date}}}}
* {{Cite 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 |access-date= {{date}}}}


Using the optional "title" parameter:
Using the optional "title" parameter:
* <code><nowiki>{{Cite 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 |access-date= </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
* <code><nowiki>{{Cite 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 |access-date= </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
generates this:
generates this:
* {{Cite 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 |access-date= {{date}}}}
* {{Cite 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 |access-date= {{date}}}}


For Google Street View imagery:
For Google Street View imagery:

Revision as of 14:30, 7 June 2024

This template is used for referencing maps published by Google LLC through their Google Maps service.

This template can also be set to emulate Citation Style 2 (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

{{Cite Google Maps|url= |title= |access-date=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.
  • access-date – the full retrieval date.
  • SV – set to "yes" to change the website from Google Maps to Google Street View.
    • date – date of Street View photography; only required when |SV=yes.
  • link – set to "no" to unlink the publisher.
  • mode – set to "cs2" to use CS2 output (lower case only)
  • ref: for Harvard-style referencing, if necessary
    • letter: a letter to append to a date or year for Harvard-style referencing, if necessary

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"):

  • {{Cite 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 |access-date= 3 November 2024}}

generates this:

  • "Cite Google Maps" (Map). Google Maps. Retrieved 3 November 2024.

Using the optional "title" parameter:

  • {{Cite 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 |access-date= 3 November 2024}}

generates this:

For Google Street View imagery:

  • {{Cite Google Maps |url = https://goo.gl/maps/u5sTx |SV= yes |date= August 2014 |title = Adirondack Northway, Albany, New York |access-date = July 11, 2015}}

generates this:

See also