Difference between revisions of "Template:JPNO/doc"

From blackwiki
Jump to navigation Jump to search
(redir)
Line 5: Line 5:
 
Example #1:
 
Example #1:
 
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|21005395<nowiki>}}</nowiki></code>
 
*Usage: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|21005395<nowiki>}}</nowiki></code>
*Links to: http://iss.ndl.go.jp/api/openurl?ndl_jpno=21005395
+
*Links to: http://id.ndl.go.jp/jpno/21005395
 
*Renders as: {{{{BASEPAGENAME}}|21005395}}
 
*Renders as: {{{{BASEPAGENAME}}|21005395}}
  
The Japanese template uses the link http://id.ndl.go.jp/jpno/21005395 — this links to a search page rather than linking to the item directly.
+
This redirects to http://iss.ndl.go.jp/api/openurl?ndl_jpno=21005395 — a search result rather than linking to the item directly.
  
 
==See also==
 
==See also==

Revision as of 08:25, 3 February 2016

This template generates a link for searching Japan's National Diet Library by the Japanese National Bibliography Number (全国書誌番号) of a book. It takes a single parameter. It is only intended as an alternative, when the book in question does not appear in the Online Computer Library Center.

Example #1:

  • Usage: {{JPNO|21005395}}
  • Links to: http://id.ndl.go.jp/jpno/21005395
  • Renders as: JPNO 21005395

This redirects to http://iss.ndl.go.jp/api/openurl?ndl_jpno=21005395 — a search result rather than linking to the item directly.

See also