Jump to content

Template:Cite RNB1823/doc

From Wikipedia, the free encyclopedia

This template is wrapper around {{cite encyclopedia}} 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

[edit]

Parameters that are filled in by this template

[edit]

Parameters that are filled in by this template:

first = John
last = Marshall
author-link = RJohn Marshall (biographer)
encyclopedia = Royal Naval Biography
location = London
publisher = Longman and company

Non-standard parameters

[edit]

Non-standard parameters:

part see the explanation see date, volume and part below
wstitle = RNB article name as it appears on Wikisource — the template adds in the rest of the link automatically
display = name — overrides the display to the screen of wstitle or title. This is sometimes desirable for example for hiding disambiguation extensions which do not appear in the original print version of he encyclopedia
short = x (or any other value) — it hides the display of editor-first, editor-last , editor-link, location, publisher this is typically used when this template appears in the External links section to remove clutter

Date, volume and part

[edit]

Date, volume and part: The Royal Naval Biography was not only a multi-volume publication some of the volumes were published in several parts over a number of years:

Year Volume Part 1 Part 2 Part 3 Part 4
1823 1 1 2
1824 2 1
1825 2 2
1827 sup 1
1828 sup 2
1829 sup 3
1830 sup 4
1831 3 1
1832 3 2
1833 4 1
1835 4 2

The date is set automatically by setting the parameters volume and part. For example:

if volume=1 and part=1 then date=1823
if volume=4 and part=2 then date=1834
if volume=sup and part=3 then date=1829
If no volume is set then date=1823–1835
if no part is set then date is set to the range dictated by volume. For example:
if volume=sup and part is not set then date = 1827–1830

However there are times when it is desirable to override the automatic date by setting it manually. For example within one Wikpedia article there could be two RNB articles by Marshal with the same volume and part parameters (eg volume=1 |part=1). They will both generate long references with a date of 1823. If the long references are to be accessed by short citations it will be necessary to set one of the references to have a different date, Eg date=1823b producing an output of Marshall, John (1823b)... (for more on this see Help:References and page numbers#Shortened footnotes)

Other considerations

[edit]

Other considerations:

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

Examples

[edit]

Only three variable are required to access the article on Wikisource and set the correct volume part[a] and date (page should also be set):

{{cite RNB1823 |wstitle=John Jervis, Earl of St Vincent |volume=1 |part=1 |pages=12–32}}
Marshall, John (1823). "John Jervis, Earl of St Vincent" . Royal Naval Biography. Vol. 1, part 1. London: Longman and company. pp. 12–32.
{{cite RNB1823 |wstitle=Aldham, George |volume=2 |part=2 |pages=911}}
Marshall, John (1825). "Aldham, George" . Royal Naval Biography. Vol. 2, part 2. London: Longman and company. p. 911.
{{cite RNB1823 |wstitle=Abdy, Anthony |volume=sup |part=2 |pages=720 |ref=none}}
Marshall, John (1828). "Abdy, Anthony" . Royal Naval Biography. Vol. sup, part 2. London: Longman and company. p. 720.

To change the title displayed:

{{cite RNB1823 |wstitle=John Jervis, Earl of St Vincent|volume=1 |part=1 |pages=12–32 |display=John, Earl of St Vincent}}
Marshall, John (1823). "John, Earl of St Vincent" . Royal Naval Biography. Vol. 1, part 1. London: Longman and company. pp. 12–32.

To shorten the display:

{{cite RNB1823 |wstitle=John Jervis, Earl of St Vincent|volume=1 |part=1 |pages=12–32 |short=x}}
"John Jervis, Earl of St Vincent" . Royal Naval Biography. Vol. 1, part 1. 1823. pp. 12–32.

To remove the icon from the display:

{{cite RNB1823 |wstitle=John Jervis, Earl of St Vincent|volume=1 |part=1 |pages=12–32 |short=x |noicon=x}}
"John Jervis, Earl of St Vincent". Royal Naval Biography. Vol. 1, part 1. 1823. pp. 12–32.

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):

{{cite RNB1823 |title=John, Earl of St Vincent |volume=1 |part=1 |pages=12–32 |url=https://archive.org/details/royalnavalbiopt101marsuoft/page/12/mode/1up}}
Public Domain Marshall, John (1823). "John, Earl of St Vincent". Royal Naval Biography. Vol. 1, part 1. London: Longman and company. pp. 12–32.

Maintenance categories

[edit]

See also

[edit]
  • {{RNB1823}} — takes the same parameters as this template but prepends an attribution string as required by plagiarism guideline if text is copied verbatim from the article in Royal Naval Biography (1823)
  • {{RNB1823 poster}} — display a Royal Naval Biography Wikisource article in a top box on the right (placed in the External links section)

Notes

[edit]
  1. ^ Currently the header of the Wikisource articles not not include volume and part. These can be found by clicking on a page number and exacting the information from the DJVU page name. For example