Difference between revisions of "Template:BNF"

From blackwiki
Jump to navigation Jump to search
imported>Matthiaspaul
(Added support for an optional 'leadout' parameter)
imported>Matthiaspaul
(deliberately going through (identifier) redirect for consistency with CS1 citation templates and to improve reverse lookup functionality)
Line 1: Line 1:
{{Catalog lookup link|{{{bnf|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|article-link=Bibliothèque nationale de France|article-name=BNF|link-prefix=http://catalogue.bnf.fr/ark:/12148/cb|link-postfix=/PUBLIC|list-leadout={{{leadout|}}}}}<noinclude>
+
{{Catalog lookup link|{{{bnf|{{{1|}}}}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|article-link=BNF (identifier)|article-name=BNF|link-prefix=http://catalogue.bnf.fr/ark:/12148/cb|link-postfix=/PUBLIC|list-leadout={{{leadout|}}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:11, 18 April 2020

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

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