Difference between revisions of "Template:Google maps/doc"

From blackwiki
Jump to navigation Jump to search
imported>I love the interweb!
(Added a copy-and-paste fill-in-the-blank template at the top, and rearranged page design.)
imported>Imzadi1979
(adding notes)
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|Google, Inc.]] through their [[Google Maps]] service.
+
This template is used for referencing maps published by [[Google|Google, Inc.]] through their [[Google Maps]] service, and this template is based on {{tl|cite map}} so it falls into the [[Help:Citation Style 1|Citation Style 1]] (CS1) series of templates.
 +
 
 +
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 ===
 
=== 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>

Revision as of 06:55, 25 December 2013

This template is used for referencing maps published by Google, Inc. through their Google Maps service, and this template is based on {{cite map}} so it falls into the Citation Style 1 (CS1) series of templates.

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=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.

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=21 January 2026}}

generates this:

  • Google (21 January 2026). "Google maps" (Map). Google Maps. Google. Retrieved 21 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=21 January 2026 }}

generates this:

See also