Difference between revisions of "Template:GND"

From blackwiki
Jump to navigation Jump to search
imported>Matthiaspaul
(Changed back to template, as this serves a different purpose than the other template. This template will display just "GND" followed by the link (so it can be used in citations etc.), whereas the other template returns a verbose message.)
imported>Matthiaspaul
(Moving documentation to sub-page)
Line 1: Line 1:
 
{{#if:{{{gnd|{{{1|}}}}}}|[[Gemeinsame Normdatei|GND]]&nbsp;[http://d-nb.info/gnd/{{{gnd|{{{1|}}}}}} {{{gnd|{{{1|}}}}}}]{{#if:{{{2|}}}|, [http://d-nb.info/gnd/{{{2|}}} {{{2|}}}]{{#if:{{{3|}}}|, [http://d-nb.info/gnd/{{{3|}}} {{{3|}}}]{{#if:{{{4|}}}|, [http://d-nb.info/gnd/{{{4|}}} {{{4|}}}]{{#if:{{{5|}}}|, [http://d-nb.info/gnd/{{{5|}}} {{{5|}}}]{{#if:{{{6|}}}|, [http://d-nb.info/gnd/{{{6|}}} {{{6|}}}]{{#if:{{{7|}}}|, [http://d-nb.info/gnd/{{{7|}}} {{{7|}}}]{{#if:{{{8|}}}|, [http://d-nb.info/gnd/{{{8|}}} {{{8|}}}]{{#if:{{{9|}}}|, [http://d-nb.info/gnd/{{{9|}}} {{{9|}}}]}}}}}}}}}}}}}}}}}}<noinclude>
 
{{#if:{{{gnd|{{{1|}}}}}}|[[Gemeinsame Normdatei|GND]]&nbsp;[http://d-nb.info/gnd/{{{gnd|{{{1|}}}}}} {{{gnd|{{{1|}}}}}}]{{#if:{{{2|}}}|, [http://d-nb.info/gnd/{{{2|}}} {{{2|}}}]{{#if:{{{3|}}}|, [http://d-nb.info/gnd/{{{3|}}} {{{3|}}}]{{#if:{{{4|}}}|, [http://d-nb.info/gnd/{{{4|}}} {{{4|}}}]{{#if:{{{5|}}}|, [http://d-nb.info/gnd/{{{5|}}} {{{5|}}}]{{#if:{{{6|}}}|, [http://d-nb.info/gnd/{{{6|}}} {{{6|}}}]{{#if:{{{7|}}}|, [http://d-nb.info/gnd/{{{7|}}} {{{7|}}}]{{#if:{{{8|}}}|, [http://d-nb.info/gnd/{{{8|}}} {{{8|}}}]{{#if:{{{9|}}}|, [http://d-nb.info/gnd/{{{9|}}} {{{9|}}}]}}}}}}}}}}}}}}}}}}<noinclude>
==Usage==
+
{{Documentation}}
This template frames links to [[Integrated Authority File]] (IAF) aka ''[[Gemeinsame Normdatei]]'' (GND) database entries in the [[Deutsche Nationalbibliothek]] (DNB). 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.
 
 
 
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 {{para|gnd}}).
 
 
 
*Example 1:
 
 
 
:<nowiki>
 
{{GND|123456789}}
 
</nowiki> 
 
 
 
:will result in
 
 
 
:{{GND|123456789}}
 
 
 
*Example 2:
 
 
 
:<nowiki>
 
{{GND|gnd=123456789}}
 
</nowiki> 
 
 
 
:will result in
 
 
 
:{{GND|gnd=123456789}}
 
 
 
*Example 3 (up to 9 parameters - do not use {{para|gnd}} at the same time):
 
 
 
:<nowiki>
 
{{GND|123456789|987654321}}
 
</nowiki> 
 
 
 
:will result in
 
 
 
:{{GND|123456789|987654321}}
 
 
 
==See also==
 
*{{tl|German National Library portal}} (similar purpose, but more verbose)
 
*{{tl|DNB-IDN}} (wider scope)
 
*{{tl|URN}}
 
 
 
[[Category:Catalog lookup templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 20:44, 5 April 2016

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

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

Template:Wikidata property