Difference between revisions of "Template:CGNDB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Expand a bit)
imported>Plastikspork
(→‎Usage: + one)
Line 9: Line 9:
 
==Usage==
 
==Usage==
 
  <nowiki>{{</nowiki>CGNDB|''id''|''name''<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>CGNDB|''id''|''name''<nowiki>}}</nowiki>
 +
or
 +
<nowiki>{{</nowiki>Cite cgn|''id''|''name''<nowiki>}}</nowiki>
 
or
 
or
 
  <nowiki>{{</nowiki>CGNDB|id=''id''|name=''name''<nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>CGNDB|id=''id''|name=''name''<nowiki>}}</nowiki>

Revision as of 15:46, 13 May 2010

This template is a simplified frontend to {{Cite cgn}}

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 cgn|id|name}}

or

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

or

{{Cite cgn|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

  • {{gnis}} (United States)
  • {{BCGNIS}} (British Columbia)