Template:Cite Google Maps: Difference between revisions
map date for regular google maps will always be the accessdate |
ope |
||
Line 3: | Line 3: | ||
{{Cite web |author= ((Google)) |author-link = {{#ifeq: {{{link}}}|no| | Google }} |date = {{{date}}}{{{letter|}}} |title = {{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}} |url = {{{url|}}} |website = {{#ifeq: {{{link}}}|no|Google Street View|[[Google Street View]]}} |publisher = Google |access-date = {{{access-date|{{{accessdate|}}}}}} |mode = {{{mode|}}} |ref = {{{ref|}}} }} |
{{Cite web |author= ((Google)) |author-link = {{#ifeq: {{{link}}}|no| | Google }} |date = {{{date}}}{{{letter|}}} |title = {{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}} |url = {{{url|}}} |website = {{#ifeq: {{{link}}}|no|Google Street View|[[Google Street View]]}} |publisher = Google |access-date = {{{access-date|{{{accessdate|}}}}}} |mode = {{{mode|}}} |ref = {{{ref|}}} }} |
||
|<!--standard cite map for regular Google Maps--> |
|<!--standard cite map for regular Google Maps--> |
||
{{Cite map |author= ((Google)) |author-link = {{#ifeq: {{{link}}}|no| | Google }} |date = |
{{Cite map |author= ((Google)) |author-link = {{#ifeq: {{{link}}}|no| | Google }} |date = {{{access-date|{{{accessdate|}}}}}}{{{letter|}}} |title = {{#if:{{{title|}}}|{{{title}}}|{{BASEPAGENAME}}}} |url = {{{url|}}} |website = {{#ifeq: {{{link}}}|no|Google Maps|[[Google Maps]]}} |publisher = Google |access-date = {{{access-date|{{{accessdate|}}}}}} |mode = {{{mode|}}} |ref = {{{ref|}}} }} }}<span class="error">{{#if:{{{url|}}}|| No URL entered.}}</span></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 17:31, 11 March 2023
This template is used on approximately 16,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a Citation Style 1 specific-source template based on {{Cite map}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template is used for referencing maps published by Google LLC through their Google Maps service.
The template accepts all parameters that {{cite map}} does, unless |SV=yes
, in which case it accepts all parameters that {{cite web}} does. This template can also be set to emulate Citation Style 2 (CS2) style, via |mode=cs2
.
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 any value to change the website from Google Maps to Google Street View.
- date – date of Street View photography or other map data
- 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 (requires
|date=
)
- letter: a letter to append to a date or year for Harvard-style referencing, if necessary (requires
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"):
{{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:
- Google (3 November 2024). "Cite Google Maps" (Map). Google Maps. Google. 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:
- Google (3 November 2024). "Driving directions to RT-308" (Map). Google Maps. Google. Retrieved 3 November 2024.
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:
- Google (August 2014). "Adirondack Northway, Albany, New York". Google Street View. Google. Retrieved July 11, 2015.
See also
- {{Bing maps}}, the counterpart to this template for Bing Maps
- {{Mapquest}}, the counterpart to this template for MapQuest
- {{Cite map}}, generic
TemplateData
TemplateData for Cite Google Maps
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
url | url | the URL for the Google Map | URL | required |
access-date | access-date | the full retrieval date
| Date | suggested |
title | title | Give a title for the map; otherwise, it will be the article name.
| String | optional |
Street View | SV | set to "yes" if this is a Street View
| String | optional |
Street View date | date | date of Street View photography; only required when citing a Street View
| Date | optional |
letter | letter | a letter to append to a date or year for Harvard-style referencing, if necessary | String | optional |
link | link | set to "no" to unlink the publisher | String | optional |