Jump to content

Template:Cite IrishBio/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.

Parameters that are filled in by this template:

first = Alfred
last = Webb
author-link = Alfred Webb
encyclopedia = A Compendium of Irish Biography
year = 1878
publisher = M. H. Gill & son
location = Dublin

There are some none standard parameters:

wstitle = CIB 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 first, last, link, location, publisher this is typically used when this template appears in the External links section to remove clutter

Other considerations:

If wstitle is not set then the standard parameter title must be set if neither are then a red warning is displayed
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]

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

{{Cite IrishBio|wstitle=Thomson, Charles |page=523}}
Webb, Alfred (1878). "Thomson, Charles" . A Compendium of Irish Biography. Dublin: M. H. Gill & son. p. 523.

To change the title displayed:

{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |display=Charles THOMPSON}}
Webb, Alfred (1878). "Charles THOMPSON" . A Compendium of Irish Biography. Dublin: M. H. Gill & son. p. 523.

To shorten the display:

{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |short=x}}
"Thomson, Charles" . A Compendium of Irish Biography. 1878. p. 523.

To remove the icon from the display:

{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |noicon=x}}
Webb, Alfred (1878). "Thomson, Charles". A Compendium of Irish Biography. Dublin: M. H. Gill & son. p. 523.

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 IrishBio|title=Thomson, Charles |page=523 |url=https://archive.org/details/compendiumofiris00webb_0/page/523/mode/1up}}
Public Domain Webb, Alfred (1878). "Thomson, Charles". A Compendium of Irish Biography. Dublin: M. H. Gill & son. p. 523.

Maintenance categories

[edit]

See also

[edit]