Jump to content

Template:Cite Google Maps/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
updte, ce
Added a copy-and-paste fill-in-the-blank template at the top, and rearranged page design.
Line 2: Line 2:
<!-- 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.

=== Usage ===
=== Usage ===
<code><nowiki>{{Google maps|url= |title= |accessdate=</nowiki>{{#time: j F Y}}<nowiki>}}</nowiki></code>
==== Normal ====
==== 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. "{{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%[email protected],%20-73.912580+to:+RT-308%[email protected],%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%[email protected],%20-73.912580+to:+RT-308%[email protected],%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%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096 | accessdate = {{date}}}}
* {{Google maps|url=http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096|accessdate={{date}}}}


==== 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%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096 | title = Driving directions to RT-308 | 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%[email protected],%20-73.912580+to:+RT-308%[email protected],%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%[email protected],%20-73.912580+to:+RT-308%[email protected],%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%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096 | title=Driving directions to RT-308|accessdate={{date}}}}

=== 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 ===
=== See also ===
*{{tl|Bing maps}}, the counterpart to this template for [[Bing Maps]]
*{{tl|Bing maps}}, the counterpart to this template for [[Bing Maps]]

Revision as of 21:54, 27 March 2013

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

Usage

{{Google maps|url= |title= |accessdate=16 September 2024}}

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. "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%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096|accessdate=16 September 2024}}

generates this:

  • "Cite Google Maps" (Map). Google Maps. Retrieved 16 September 2024.

Using the optional title parameter:

  • {{Google maps|url=http://maps.google.com/maps?hl=en&q=from:+E%20Market%20St/RT-308%[email protected],%20-73.912580+to:+RT-308%[email protected],%20-73.821096 | title = Driving directions to RT-308|accessdate=16 September 2024 }}

generates this:

See also