Difference between revisions of "Template:BNF/doc"

From blackwiki
Jump to navigation Jump to search
imported>Howcheng
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
 +
==Usage==
 +
This template generates:
 +
 +
* "BNF", which is an inline wikilink to the article "[[Bibliothèque nationale de France]]"
 +
 +
followed by
 +
 +
* one or more inline, external links to items in Bibliothèque nationale de France's catalog
 +
 +
The template's required parameter are the unique identifiers of the items in the catalog. In the examples below, use the '''<u>bold underlined</u>''' portion of the URL as the identifier.
 +
 +
* <code><nowiki>https://catalogue.bnf.fr/ark:/12148/cb</nowiki>'''<u>340639967</u>'''.public</code>
 +
* <code><nowiki>https://catalogue.bnf.fr/ark:/12148/cb</nowiki>'''<u>11895648d</u>'''.public</code>
 +
 +
===Example===
 +
 +
:<nowiki>{{BNF|340639967}}</nowiki> generates {{BNF|340639967}}
 +
 +
:External link''':''' <nowiki>https://catalogue.bnf.fr/ark:/12148/cb340639967.public</nowiki>
 +
 
==See also==
 
==See also==
*{{tl|ARK-BNF}}, generates an inline, external link to <nowiki>http://gallica.bnf.fr</nowiki>
+
*{{tl|ARK-BNF}}, generates an inline, external link to <nowiki>https://gallica.bnf.fr</nowiki>
 
*{{tl|Catalog lookup link}}
 
*{{tl|Catalog lookup link}}
  
<includeonly>
+
<includeonly>{{sandbox other|1=<!-- keep sandbox out of categories -->|2=
 
<!-- Categories go here: -->
 
<!-- Categories go here: -->
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 18:58, 29 October 2020

Usage

This template generates:

followed by

  • one or more inline, external links to items in Bibliothèque nationale de France's catalog

The template's required parameter are the unique identifiers of the items in the catalog. In the examples below, use the bold underlined portion of the URL as the identifier.

  • https://catalogue.bnf.fr/ark:/12148/cb340639967.public
  • https://catalogue.bnf.fr/ark:/12148/cb11895648d.public

Example

{{BNF|340639967}} generates BNF 340639967
External link: https://catalogue.bnf.fr/ark:/12148/cb340639967.public

See also