سانچہ:Cs1 wrapper


This template is used for referencing maps published by Google, Inc. through their گوگل نقشہ جات service.

This template can also be set to emulate CS2 style.

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=2 اپریل 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.
  • accessdate – the full retrieval date.
  • link – set to "no" to unlink the publisher.
  • mode – set to "cs2" to use Citation Style 2 output

Examples ترمیم

Normal usage with automatic inclusion of page title (i.e. "گوگل نقشہ جات", which is taken from the template's full page title "سانچہ:گوگل نقشہ جات/دستاویز"):

  • {{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=2 اپریل 2024}}

generates this:

  • لوا خطا ماڈیول:Citation/CS1/Utilities میں 38 سطر پر: bad argument #1 to 'ipairs' (table expected, got nil)۔

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=2 اپریل 2024 }}

generates this:

  • لوا خطا ماڈیول:Citation/CS1/Utilities میں 38 سطر پر: bad argument #1 to 'ipairs' (table expected, got nil)۔

See also ترمیم