साँचा:GR/doc
The template {{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 six different references that can be created by {{GR}}
for references in North America, and one that is used by locations in India. The six possible North American citations are as follows:
- "US Gazetteer files: 2000 and 1990". United States Census Bureau. 2005-05-03. अभिगमन तिथि 2008-01-31.
|date=
में तिथि प्राचल का मान जाँचें (मदद) - "American FactFinder". United States Census Bureau. अभिगमन तिथि 2008-01-31.
- "US Board on Geographic Names". United States Geological Survey. 2007-10-25. अभिगमन तिथि 2008-01-31.
|date=
में तिथि प्राचल का मान जाँचें (मदद) - "Geographic Names Information System". United States Geological Survey. अभिगमन तिथि 2008-01-31.
- "NGA GEOnet Names Server". National Geospatial-Intelligence Agency. 2008-01-30. अभिगमन तिथि 2008-01-31.
|date=
में तिथि प्राचल का मान जाँचें (मदद) - "Find a County". National Association of Counties. अभिगमन तिथि 2008-01-31.
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:
- "भारत की जनगणना २००१: २००१ की जनगणना के आँकड़े, महानगर, नगर और ग्राम सहित (अनंतिम)". भारतीय जनगणना आयोग. अभिगमन तिथि 2007-09-03.
{{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 ommitted by adding an "r" before the reference number. So while {{GR|1}}
produces [1], a properly-formatted citation, {{GR|r1}}
outputs ""US Gazetteer files: 2000 and 1990". United States Census Bureau. 2005-05-03. अभिगमन तिथि 2008-01-31. |date=
में तिथि प्राचल का मान जाँचें (मदद)", the complete citation inline. Note that this option is not available with the Indian reference: typing {{GR|rIndia}}
simply produces an error, and {{GR|India}}
does not include the <ref>
tags.
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.[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.[2]
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.[3] Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor.[4] 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. अभिगमन तिथि 2008-01-31. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat.[5] Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi."भारत की जनगणना २००१: २००१ की जनगणना के आँकड़े, महानगर, नगर और ग्राम सहित (अनंतिम)". भारतीय जनगणना आयोग. अभिगमन तिथि 2007-09-03. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci.[6] In hac habitasse platea dictumst.[7]
References produced
संपादित करें- ↑ अ आ "US Gazetteer files: 2000 and 1990". United States Census Bureau. 2005-05-03. अभिगमन तिथि 2008-01-31.
|date=
में तिथि प्राचल का मान जाँचें (मदद) - ↑ "American FactFinder". United States Census Bureau. अभिगमन तिथि 2008-01-31.
- ↑ "भारत की जनगणना २००१: २००१ की जनगणना के आँकड़े, महानगर, नगर और ग्राम सहित (अनंतिम)". भारतीय जनगणना आयोग. अभिगमन तिथि 2007-09-03.
- ↑
- ↑
- ↑ GR Error
- ↑ GR Error
सन्दर्भ त्रुटि: <references>
में "GR3" नाम के साथ परिभाषित <ref>
टैग उससे पहले के पाठ में प्रयुक्त नहीं है।
सन्दर्भ त्रुटि: <references>
टैग में परिभाषित <ref>
टैग का कोई नाम नहीं है।