Difference between revisions of "Template:CGNDB/doc"
Jump to navigation
Jump to search
imported>Droll (added an example of improper use) |
imported>Vanisaac m (→Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
__NOTOC__ | __NOTOC__ | ||
| + | {{ombox | ||
| + | | type = content | ||
| + | | text = This template is deprecated. Editor should consider using '''{{tl|cite cgndb}}'''. | ||
| + | }} | ||
This template is a simplified frontend for [[Template:Cite cgndb]]. It does not require that the location ''name'' be defined. If the article ''name'' differs from the location ''name'' the template will '''not''' generate the desired output. | This template is a simplified frontend for [[Template:Cite cgndb]]. It does not require that the location ''name'' be defined. If the article ''name'' differs from the location ''name'' the template will '''not''' generate the desired output. | ||
| Line 11: | Line 15: | ||
== Examples == | == Examples == | ||
| − | < | + | <code><nowiki>{{CGNDB|id=KADTU|name=Mount Logan}}</nowiki></code> → {{CGNDB|id=KADTU|name=Mount Logan}} |
| − | < | + | <code><nowiki>{{CGNDB|KADTU|Mount Logan}}</nowiki></code> → {{CGNDB|KADTU|Mount Logan}} |
| − | < | + | <code><nowiki>{{CGNDB|KADTU}}</nowiki></code> → {{CGNDB|KADTU}} |
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES GO HERE --> | <!-- CATEGORIES GO HERE --> | ||
[[Category:Specific-source templates]] | [[Category:Specific-source templates]] | ||
| Line 23: | Line 27: | ||
<!-- INTERWIKIS GO HERE --> | <!-- INTERWIKIS GO HERE --> | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:46, 24 April 2020
| 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 deprecated. Editor should consider using {{cite cgndb}}. |
This template is a simplified frontend for Template:Cite cgndb. It does not require that the location name be defined. If the article name differs from the location name the template will not generate the desired output.
Usage
Examples
{{CGNDB|id=KADTU|name=Mount Logan}} → "Mount Logan". Geographical Names Data Base. Natural Resources Canada.
{{CGNDB|KADTU|Mount Logan}} → "Mount Logan". Geographical Names Data Base. Natural Resources Canada.
{{CGNDB|KADTU}} → "CGNDB/doc". Geographical Names Data Base. Natural Resources Canada.