Difference between revisions of "Template:CGNDB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(tidied up a bit)
imported>Plastikspork
(update links)
Line 13: Line 13:
 
  <nowiki>{{</nowiki>CGNDB|''id''|''name''<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>CGNDB|''id''|''name''<nowiki>}}</nowiki>
 
or
 
or
  <nowiki>{{</nowiki>Cite cgn|''id''|''name''<nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki>Cite cgndb|''id''|''name''<nowiki>}}</nowiki>
 
or
 
or
 
  <nowiki>{{</nowiki>CGNDB|id=''id''|name=''name''<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>CGNDB|id=''id''|name=''name''<nowiki>}}</nowiki>
 
or
 
or
  <nowiki>{{</nowiki>Cite cgn|id=''id''|name=''name''<nowiki>}}</nowiki>
+
  <nowiki>{{</nowiki>Cite cgndb|id=''id''|name=''name''<nowiki>}}</nowiki>
 
where:
 
where:
 
*<code>''id''</code> is the five-digit alphanumeric unique identifier for the geographic feature, and
 
*<code>''id''</code> is the five-digit alphanumeric unique identifier for the geographic feature, and
Line 26: Line 26:
 
* {{tl|cite gnis}} (United States)
 
* {{tl|cite gnis}} (United States)
 
* {{tl|cite bcgnis}}
 
* {{tl|cite bcgnis}}
* {{tl|cite cgn}}
+
* {{tl|cite cgndb}}
  
 
<includeonly>
 
<includeonly>

Revision as of 23:25, 22 May 2010

Purpose

To provide a simple format to linking to information in the Geographical Names of Canada Data Base. This is specifically useful for linking information to either the "External links" or "References" sections of Wikipedia articles.

Usage

{{CGNDB|id|name}}

or

{{Cite cgndb|id|name}}

or

{{CGNDB|id=id|name=name}}

or

{{Cite cgndb|id=id|name=name}}

where:

  • id is the five-digit alphanumeric unique identifier for the geographic feature, and
  • name is the optional name to display (otherwise it will use the page name).

See also