Templat:Google maps
This template is used for referencing maps published by Google, Inc. through their Google Maps service.
Usage[sunting sumber]
{{Google maps|url= |title= |accessdate=6 April 2024}}
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=6 April 2024}}
generates this:
- Google Inc. Google Maps – Google maps (Peta). Kartografi oleh Google, Inc. 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. Diperolehi 6 April 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=6 April 2024 }}
generates this:
- Google Inc. Google Maps – Driving directions to RT-308 (Peta). Kartografi oleh Google, Inc. 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. Diperolehi 6 April 2024.
See also[sunting sumber]
- {{Bing maps}}, the counterpart to this template for Bing Maps
- {{Yahoo maps}}, the counterpart to this template for Yahoo Maps
- {{Cite map}}, generic
Pendokumenan di atas ditransklusikan daripada Templat:Google maps/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |