Difference between revisions of "Template:CGNDB"

From blackwiki
Jump to navigation Jump to search
imported>JPG-GR
(rm tfd)
imported>Droll
(added tracking CAT - no change in syntax or function)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{cite cgndb|id={{{1|{{{id}}}}}}|name={{{2|{{{name|{{PAGENAME}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>{{cite cgndb
 +
  | id = {{{1|{{{id}}}}}}
 +
  | name= {{{2|{{{name|{{{title|{{PAGENAME}}}}}}}}}}}
 +
}}<!--
 +
-->{{if both|{{is article}}|{{is empty|{{{2|{{{name|{{{title|}}}}}}}}} }}
 +
  | [[Category:Articles using Template:CGNDB without feature name]]}}<!--
 +
--></includeonly><noinclude>
 +
{{documentation}}
 +
<!--
 +
  PLEASE ADD CATEGORIES AND INTERWIKIS
 +
  TO THE /doc SUBPAGE, THANKS
 +
-->
 +
</noinclude>

Latest revision as of 23:54, 22 September 2010

Template documentation[view] [edit] [history] [purge]

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". Geographical Names Data Base. Natural Resources Canada.