Difference between revisions of "Template:CGNDB/doc"

From blackwiki
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 ==
  
<tt><nowiki>{{CGNDB|id=KADTU|name=Mount Logan}}</nowiki> → {{CGNDB|id=KADTU|name=Mount Logan}}
+
<code><nowiki>{{CGNDB|id=KADTU|name=Mount Logan}}</nowiki></code> → {{CGNDB|id=KADTU|name=Mount Logan}}
  
<tt><nowiki>{{CGNDB|KADTU|Mount Logan}}</nowiki> → {{CGNDB|KADTU|Mount Logan}}
+
<code><nowiki>{{CGNDB|KADTU|Mount Logan}}</nowiki></code> → {{CGNDB|KADTU|Mount Logan}}
  
<tt><nowiki>{{CGNDB|KADTU}}</nowiki> → {{CGNDB|KADTU}}
+
<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 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

See Template:Cite cgndb

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.