Difference between revisions of "Template:GND/doc"

From blackwiki
Jump to navigation Jump to search
imported>Matthiaspaul
(→‎Usage: Moved help text to sub-page)
imported>Matthiaspaul
(removed unnecessary stuff)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
==Usage==  
 
==Usage==  
This templates creates a link to [[Integrated Authority File]] (IAF) aka ''[[Gemeinsame Normdatei]]'' (GND) records in the [[Deutsche Nationalbibliothek]] (DNB) database. Since it only display the string "GND" followed by the linked number it can be used in free flow text as well as inside of the various {{tl|citation}} and {{tl|cite}} templates (via that template's {{para|id}} parameter).  
+
This templates creates a link to [[Integrated Authority File]] (IAF) aka ''[[Gemeinsame Normdatei]]'' (GND) records in the [[Deutsche Nationalbibliothek]] (DNB) database. Since it only displays the string "GND" followed by the linked number it can be used in free flow text as well as inside of the various {{tl|citation}} and {{tl|cite}} templates (via that template's {{para|id}} parameter).  
  
 
At present, the template just allows these codes to be given in some documented way and links to both the corresponding entry in the database as well as the Wikipedia GND article (in order to provide some explanation). It thereby helps to frame the code in some machine readable form and to standardize the appearance.
 
At present, the template just allows these codes to be given in some documented way and links to both the corresponding entry in the database as well as the Wikipedia GND article (in order to provide some explanation). It thereby helps to frame the code in some machine readable form and to standardize the appearance.
Line 47: Line 47:
  
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
</noinclude>
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
 
}}</includeonly>
 

Revision as of 20:56, 5 April 2016

Usage

This templates creates a link to Integrated Authority File (IAF) aka Gemeinsame Normdatei (GND) records in the Deutsche Nationalbibliothek (DNB) database. Since it only displays the string "GND" followed by the linked number it can be used in free flow text as well as inside of the various {{citation}} and {{cite}} templates (via that template's |id= parameter).

At present, the template just allows these codes to be given in some documented way and links to both the corresponding entry in the database as well as the Wikipedia GND article (in order to provide some explanation). It thereby helps to frame the code in some machine readable form and to standardize the appearance.

In the future the template could be expanded to make the given code available as meta-data or to provide some error checking.

Parameters

The first parameter should be the GND code (alternatively given as |gnd=).

  • Example 1:
{{GND|123456789}}
will result in
GND 123456789
  • Example 2:
{{GND|gnd=123456789}}
will result in
GND 123456789
  • Example 3 (up to 9 parameters - do not use |gnd= at the same time):
{{GND|123456789|987654321}}
will result in
GND 123456789, 987654321

See also