Difference between revisions of "Template:JPNO/doc"

From blackwiki
Jump to navigation Jump to search
(document NDL bib id)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
This template generates a link for searching Japan's [[National Diet Library]] by the Japanese [[National Bibliography Number]] (全国書誌番号) or JPNO 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]].
+
This template generates one or more links for the Japanese {{nihongo4|[[National Bibliography Number]]|全国書誌番号}} or JPNO of publications. The {{nihongo4|Japanese National Bibliography|日本全国書誌}} is maintained by the {{nihongo4|[[National Diet Library]]|国立国会図書館}} of Japan. It takes up to nine parameters. It is intended as an alternative, when the book in question does not appear in the [[Online Computer Library Center]].
 +
 
 +
The template can also be used inside the {{para|id}} parameter of the various {{cite xxx}} citation templates.
  
 
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://id.ndl.go.jp/jpno/21005395
 
 
*Renders as: {{{{BASEPAGENAME}}|21005395}}
 
*Renders as: {{{{BASEPAGENAME}}|21005395}}
 +
*Links to: [//iss.ndl.go.jp/api/openurl?ndl_jpno=21005395&locale=en //iss.ndl.go.jp/api/openurl?ndl_jpno=21005395&locale=en] ([[Protocol-relative URL]]) — an [[OpenURL]] search result rather than directly linking to the item.
  
This redirects to http://iss.ndl.go.jp/api/openurl?ndl_jpno=21005395 — a search result rather than linking to the item directly.
+
Though [//id.ndl.go.jp/jpno/21005395 //id.ndl.go.jp/jpno/21005395] redirects to [//iss.ndl.go.jp/api/openurl?ndl_jpno=21005395 //iss.ndl.go.jp/api/openurl?ndl_jpno=21005395], the same search result, linking directly to the OpenURL API allows for also requesting the English UI.
  
Note: Unlike the NDL's bib ID (e.g., http://id.ndl.go.jp/bib/000008144816/eng) the JPNO is designed to be used outside of NDL (e.g., http://webcatplus.nii.ac.jp/webcatplus/details/book/nbn/21005395.html)
+
Note: Unlike the NDL's bib ID, e.g., [//id.ndl.go.jp/bib/000008144816/eng //id.ndl.go.jp/bib/000008144816/eng], the JPNO is designed to also be used outside of NDL, e.g., http://webcatplus.nii.ac.jp/webcatplus/details/book/nbn/21005395.html from Webcat Plus by the {{nihongo4|[[National Institute of Informatics]]|国立情報学研究所}}.
  
 
==See also==
 
==See also==
 +
{{Wikidata property |1=P2687}}
 +
*{{tl|URN}}
 
*{{tl|OCLC}}
 
*{{tl|OCLC}}
 +
*{{tl|NCID}}
 +
*{{tl|NAID}}
 +
*{{tl|NDLDC}}
 +
*{{tl|Catalog lookup link}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
 
[[Category:Book templates|NDL]]
 
[[Category:Book templates|NDL]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:57, 25 April 2020

This template generates one or more links for the Japanese Template:Nihongo4 or JPNO of publications. The Template:Nihongo4 is maintained by the Template:Nihongo4 of Japan. It takes up to nine parameters. It is intended as an alternative, when the book in question does not appear in the Online Computer Library Center.

The template can also be used inside the |id= parameter of the various {{cite xxx}} citation templates.

Example #1:

  • Usage: {{JPNO|21005395}}
  • Renders as: JPNO 21005395
  • Links to: //iss.ndl.go.jp/api/openurl?ndl_jpno=21005395&locale=en (Protocol-relative URL) — an OpenURL search result rather than directly linking to the item.

Though //id.ndl.go.jp/jpno/21005395 redirects to //iss.ndl.go.jp/api/openurl?ndl_jpno=21005395, the same search result, linking directly to the OpenURL API allows for also requesting the English UI.

Note: Unlike the NDL's bib ID, e.g., //id.ndl.go.jp/bib/000008144816/eng, the JPNO is designed to also be used outside of NDL, e.g., http://webcatplus.nii.ac.jp/webcatplus/details/book/nbn/21005395.html from Webcat Plus by the Template:Nihongo4.

See also

Template:Wikidata property