Template:Cite NBD1849/doc

This template is wrapper around it can use all the parameters that cite encyclopedia can use, but as documented below some of them are filled in automatically and there are also some additional parameters. As can be seen below in the example section using this template saves the editor time (as many of the parameters are filled in automatically) and as those parameters are not displayed in edit mode it reduces clutter editors see when editing which is particularly useful if the full citation appears in an inline citation within a ref...tag pair.

Usage
Parameters that are filled in by this template:
 * = William R.
 * = O'Byrne
 * = William Richard O'Byrne
 * = 1849
 * = A Naval Biographical Dictionary
 * = London
 * = John Murray

There are some none standard parameters:
 * = NBD article name as it appears on Wikisource — the template adds in the rest of the link automatically
 * = name — overrides the display to the screen of  or  . This is sometimes desirable for example for hiding disambiguation extensions which do not appear in the original print version of he encyclopedia
 * = x (or any other value) — it hides the display of    this is typically used when this template appears in the External links section to remove clutter

Other considerations:
 * If  is not set then the standard parameter   must be set if neither are then a red warning printed
 * Unless  is set an icon is displayed before first character displayed by the template. The icon displayed varies depending on whether   is set.

Examples
Usually only two variable are required to access the article on Wikisource:

To change the title displayed:

To shorten the display:

To remove the icon from the display:

It may be that an article has yet to be ported to Wikisouce article space and a url is required (the url parameter is ignored if wstitle is set):

Maintenance categories

 * Category:Wikipedia articles incorporating a citation from A Naval Biographical Dictionary (1849)
 * Category:Wikipedia articles incorporating a citation from A NBD (1849) with no article parameter
 * Category:Wikipedia articles incorporating a citation from A NBD (1849) without Wikisource reference
 * Category:Wikipedia articles incorporating a citation from A NBD (1849) with Wikisource reference