Template:BDPF article link/doc

From Wikisource
Jump to navigation Jump to search

Purpose[edit]

This template enables linking from Brewer's Dictionary of Phrase and Fable entries to other Brewer's Dictionary entries. This template links absolutely, so it can be used anywhere, including in the Page: namespace.

Usage[edit]

{{BDPF article link|name of the article}}

{{BDPF article link|display name|name of the article}}

{{BDPF article link|display name|name of the article|nosc=yes}}

{{BDPF article link|name of the article|nosc=yes}}

Examples[edit]

Simple[edit]

{{BDPF article link|Ballistics}} gives: Ballistics

Other features[edit]

Where the underlying link is different from the text, a second variable can be added to override the displayed text:

{{BDPF article link|Phiz|Browne, Hablôt Knight}} gives: Phiz

Where no small-caps is required, then that can be overridden:

{{BDPF article link|Phiz|Browne, Hablôt Knight|nosc=yes}} gives: Phiz

For q.v. links, there is a shortcut template {{BDPF qv}}:

{{BDPF qv|Foo}} gives: q.v.

Note[edit]

1) This template does not automatically provide links from lower-case forms of article names.

{{BDPF article link|wiz|nosc=yes}} gives: wiz,
which will not provide a link to an article titled “Wiz”. Instead, one must provide the capitalized form manually, as
{{BDPF article link|wiz|Wiz|nosc=yes}}.

2) Most articles in the encyclopædia do not have disambiguation pages, such that a template being used for "Wiz" will red-link even though there may exist several articles under dabbed titles, such as "Wiz (cheese)", "Wiz (cheez)", "Wiz of Oz", "Wiz, Bang, 1st Baronet of Lesser Darbyshire", &c.

3) Similarly, some q.v and see notices in the encyclopædia direct to names which do not exist as separate titles, but rather to subsections of larger articles.