Difference between revisions of "Template:BNF/doc"

From blackwiki
Jump to navigation Jump to search
imported>Knife-in-the-drawer
(Creating documentation)
 
imported>Howcheng
 
(8 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
This template generates:
 
This template generates:
  
* "BnF", which is an inline wikilink to the article "[[Bibliothèque nationale de France]]"
+
* "BNF", which is an inline wikilink to the article "[[Bibliothèque nationale de France]]"
  
 
followed by
 
followed by
  
* an inline, external link to an item in Bibliothèque nationale de France's catalog
+
* one or more inline, external links to items in Bibliothèque nationale de France's catalog
  
The template's required first parameter is the unique identifier of the item in the 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===
 
===Example===
  
:<nowiki>{{BnF|340639967}}</nowiki> generates {{BnF|340639967}}
+
:<nowiki>{{BNF|340639967}}</nowiki> generates {{BNF|340639967}}
  
:External link''':''' <nowiki>http://catalogue.bnf.fr/ark:/12148/cb340639967/PUBLIC</nowiki>
+
: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}}
  
<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