Difference between revisions of "Template:CGNDB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(updated status)
imported>Vanisaac
m (→‎Examples: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 15: 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 27: 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.