Webb, Alfred (1878). "article name needed". A Compendium of Irish Biography. Dublin: M. H. Gill & son.
This is the template sandbox page for Template:Cite IrishBio (diff). See also the companion subpage for test cases. |
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
= Alfredlast
= Webbauthor-link
= Alfred Webbencyclopedia
= A Compendium of Irish Biographyyear
= 1878publisher
= M. H. Gill & sonlocation
= 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 automaticallydisplay
= name — overrides the display to the screen ofwstitle
ortitle
. This is sometimes desirable for example for hiding disambiguation extensions which do not appear in the original print version of he encyclopediashort
= x (or any other value) — it hides the display offirst, 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 parametertitle
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 whetherwstitle
is set.
Examples
editUsually only two variable are required to access the article on Wikisource:
{{Cite IrishBio|wstitle=Thomson, Charles |page=523}}
- Webb, Alfred (1878). . 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). . 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}}
- 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}}
- Webb, Alfred (1878). "Thomson, Charles". A Compendium of Irish Biography. Dublin: M. H. Gill & son. p. 523.