Templat:Google maps

Daripada Wikipedia, ensiklopedia bebas.
Jump to navigation Jump to search
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

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

Usage[sunting sumber]

{{Google maps|url= |title= |accessdate=4 November 2019}}

Parameters[sunting sumber]

  • 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[sunting sumber]

Normal usage with automatic inclusion of page title (i.e. "Google maps", which is taken from the template's full page title "Templat:Google maps"):

  • {{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=4 November 2019}}

generates this:

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=4 November 2019 }}

generates this:

See also[sunting sumber]