Difference between revisions of "Template:CGNDB/doc"
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 is a documentation subpage for Template:CGNDB. It contains usage information, categories and other content that is not part of the original template page. |
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:
idis the five-digit alphanumeric unique identifier for the geographic feature, andnameis the optional name to display (otherwise it will use the page name).
See also