ढाँचा:Geographic reference

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

This template {{geographic reference}} or its shortcut {{GR}} is used on a very large number of Wikipedia articles to provide citations for Geographic references, mainly for locations in North America.

Usage[सम्पादन गर्ने]

There are eight different references that can be created by {{GR}} for references in North America, and one that is used by locations in India. The eight possible North American citations are as follows:

{{GR|r1}}

{{GR|r2}}

{{GR|r3}}

{{GR|r4}}

{{GR|r5}}

{{GR|r6}}

  • "Find a County", National Association of Counties, अन्तिम पहुँच २०११-०६-०७ 

{{GR|r7}}

{{GR|r8}}

To use one of these citations, pass the number of the reference to the template as a parameter: {{GR|1}} produces the first citation, {{GR|4}} produces the fourth one, and so forth. To use the Indian reference, pass the name "India" to the template: {{GR|india}}, producing:

  1. "Census of India 2001: Data from the 2001 Census, including cities, villages and towns (Provisional)", Census Commission of India, मूलबाट २००४-०६-१६-मा सङ्ग्रहित, अन्तिम पहुँच २००८-११-०१ 

{{GR}} can be used either inside or outside <ref> tags. The default options, as shown above, are for use when the template is not enclosed in ref tags. The code for these options automatically includes the ref tags. If the ref tags are not required or desired, they can be omitted by adding an "r" before the reference number. So while {{GR|1}} produces [१], a properly-formatted citation, {{GR|r1}} outputs ""US Gazetteer files: 2010, 2000, and 1990", United States Census Bureau, २०११-०२-१२, अन्तिम पहुँच २०११-०४-२३ ", the complete citation inline. Note that this option is not available with the Indian reference: {{GR|India}} does not include the <ref> tags, and typing {{GR|rIndia}} simply produces an error.

Example[सम्पादन गर्ने]

Input

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.{{GR|1}} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref>{{GR|r2}}</ref> Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris.<ref>{{GR|india}}</ref> Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor.<ref>{{GR|3}}</ref> Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque.{{GR|r4}} Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat.<ref>{{GR|rIndia}}</ref> Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi.{{GR|india}} Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci.{{GR|7}} In hac habitasse platea dictumst.{{GR}}

Output

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.[१] Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[२]

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris.[३] Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor.[४] Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque."Geographic Names Information System", United States Geological Survey, अन्तिम पहुँच २००८-०१-३१  Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat.[५] Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi."Census of India 2001: Data from the 2001 Census, including cities, villages and towns (Provisional)", Census Commission of India, मूलबाट २००४-०६-१६-मा सङ्ग्रहित, अन्तिम पहुँच २००८-११-०१  Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci.[६] In hac habitasse platea dictumst.Geographic reference error: 1=

Parameters[सम्पादन गर्ने]

{{GR}} parameters
Parameter Mandatory or Optional Default Description
{1} Mandatory Undefined  
Parameter {1} values
Value Produces Code
India
or
india
"Census of India 2001: Data from the 2001 Census, including cities, villages and towns (Provisional)", Census Commission of India, मूलबाट २००४-०६-१६-मा सङ्ग्रहित, अन्तिम पहुँच २००८-११-०१  {{cite web|url=http://web.archive.org/web/20040616075334/www.censusindia.net/results/town.php?stad=A&state5=999%7Ctitle= Census of India 2001: Data from the 2001 Census, including cities, villages and towns. (Provisional)|accessdate=2007-09-03|work= |publisher= Census Commission of India}}
1 [१] <ref name="GR1">{{cite web|url=http://www.census.gov/geo/www/gazetteer/gazette.html%7Cpublisher=[[United States Census Bureau]]|accessdate=2011-04-23|date=[[2011-02-12]]|title=US Gazetteer files: 2010, 2000, and 1990}}</ref>
2 [७] <ref name="GR2">{{cite web|url=http://factfinder.census.gov%7Cpublisher=[[United States Census Bureau]]|accessdate=2008-01-31|title=American FactFinder}}</ref>
3 [८] <ref name="GR3">{{cite web|url=http://geonames.usgs.gov%7Caccessdate=2008-01-31%7Ctitle=US Board on Geographic Names|publisher=[[United States Geological Survey]]|date=[[2007-10-25]]}}</ref>
4 [९] <ref name="GR4">{{cite web|url=http://geonames.usgs.gov/pls/gnispublic%7Caccessdate=2008-01-31%7Ctitle=Geographic Names Information System|accessdate=2008-01-31|publisher=[[United States Geological Survey]]}}</ref>
5 [१०] <ref name="GR5">{{cite web|url=http://www.nima.mil/gns/html/index.html%7Caccessdate=2008-01-31%7Ctitle=NGA GEOnet Names Server|publisher=[[National Geospatial-Intelligence Agency]]|date=[[2008-01-30]]}}</ref>
6 [११] <ref name="GR6">{{cite web|url=http://www.naco.org/Counties/Pages/FindACounty.aspx |accessdate=2008-01-31|title=Find a County|publisher=National Association of Counties}}</ref>
7 [६] <ref name="GR7">{{cite web|url=http://zip4.usps.com/zip4/welcome.jsp |title=USPS - ZIP Code Lookup - Search By Address |accessdate=2010-07-07 |author=United States Postal Service |year=2010}}</ref>
8 [१२] <ref name="GR8">{{cite web|url=http://factfinder2.census.gov |publisher=[[United States Census Bureau]]|accessdate=2011-05-14|title=American FactFinder}}</ref>
r1 "US Gazetteer files: 2010, 2000, and 1990", United States Census Bureau, २०११-०२-१२, अन्तिम पहुँच २०११-०४-२३  {{cite web|url=http://www.census.gov/geo/www/gazetteer/gazette.html%7Cpublisher=[[United States Census Bureau]]|accessdate=2011-04-23|date=2011-02-12|title=US Gazetteer files: 2010, 2000, and 1990}}
r2 "American FactFinder", United States Census Bureau, अन्तिम पहुँच २००८-०१-३१  {{cite web|url=http://factfinder.census.gov%7Cpublisher=[[United States Census Bureau]]|accessdate=2008-01-31|title=American FactFinder}}
r3 "US Board on Geographic Names", United States Geological Survey, २००७-१०-२५, अन्तिम पहुँच २००८-०१-३१  {{cite web|url=http://geonames.usgs.gov%7Caccessdate=2008-01-31%7Ctitle=US Board on Geographic Names|publisher=[[United States Geological Survey]]|date=[[2007-10-25]]}}
r4 "Geographic Names Information System", United States Geological Survey, अन्तिम पहुँच २००८-०१-३१  {{cite web|url=http://geonames.usgs.gov/pls/gnispublic%7Caccessdate=2008-01-31%7Ctitle=Geographic Names Information System|accessdate=2008-01-31|publisher=[[United States Geological Survey]]}}
r5 "NGA GEOnet Names Server", National Geospatial-Intelligence Agency, २००८-०१-३०, अन्तिम पहुँच २००८-०१-३१  {{cite web|url=http://www.nima.mil/gns/html/index.html%7Caccessdate=2008-01-31%7Ctitle=NGA GEOnet Names Server|publisher=[[National Geospatial-Intelligence Agency]]|date=[[2008-01-30]]}}
r6 "Find a County", National Association of Counties, अन्तिम पहुँच २०११-०६-०७  {{cite web|url=http://www.naco.org/Counties/Pages/FindACounty.aspx |accessdate=2008-01-31|title=Find a County|publisher=National Association of Counties}}
r7 United States Postal Service (२०१०), "USPS - ZIP Code Lookup - Search By Address", अन्तिम पहुँच २०१०-०७-०७  {{cite web |url=http://zip4.usps.com/zip4/welcome.jsp |title=USPS - ZIP Code Lookup - Search By Address |accessdate=2010-07-07 |author=United States Postal Service |year=2010}}
r8 "American FactFinder", United States Census Bureau, अन्तिम पहुँच २०११-०५-१४  {{cite web|url=http://factfinder2.census.gov |publisher=[[United States Census Bureau]]|accessdate=2011-05-14|title=American FactFinder}}

References produced[सम्पादन गर्ने]

  1. १.० १.१ १.२ "US Gazetteer files: 2010, 2000, and 1990", United States Census Bureau, २०११-०२-१२, अन्तिम पहुँच २०११-०४-२३ 
  2. "American FactFinder", United States Census Bureau, अन्तिम पहुँच २००८-०१-३१ 
  3. "Census of India 2001: Data from the 2001 Census, including cities, villages and towns (Provisional)", Census Commission of India, मूलबाट २००४-०६-१६-मा सङ्ग्रहित, अन्तिम पहुँच २००८-११-०१ 
  4. Geographic reference error: 1=rIndia
  5. ६.० ६.१ United States Postal Service (२०१०), "USPS - ZIP Code Lookup - Search By Address", अन्तिम पहुँच २०१०-०७-०७ 
  6. "American FactFinder", United States Census Bureau, अन्तिम पहुँच २००८-०१-३१ 
  7. "US Board on Geographic Names", United States Geological Survey, २००७-१०-२५, अन्तिम पहुँच २००८-०१-३१ 
  8. "Geographic Names Information System", United States Geological Survey, अन्तिम पहुँच २००८-०१-३१ 
  9. "NGA GEOnet Names Server", National Geospatial-Intelligence Agency, २००८-०१-३०, अन्तिम पहुँच २००८-०१-३१ 
  10. "Find a County", National Association of Counties, अन्तिम पहुँच २०११-०६-०७ 
  11. "American FactFinder", United States Census Bureau, अन्तिम पहुँच २०११-०५-१४