Template:Cite IrishBio/doc
| This is a documentation subpage for Template:Cite IrishBio. It may contain usage information, categories and other content that is not part of the original template page. |
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 ofwstitleortitle. 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, publisherthis is typically used when this template appears in the External links section to remove clutter
Other considerations:
- If
wstitleis not set then the standard parametertitlemust be set if neither are then a red warning is displayed - Unless
noiconis set an icon is displayed before first character displayed by the template. The icon displayed varies depending on whetherwstitleis set.
Examples
[edit source]Usually only two variable are required to access the article on Wikisource:
{{Cite IrishBio|wstitle=Thomson, Charles |page=523}}- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To change the title displayed:
{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |display=Charles THOMPSON}}- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To shorten the display:
{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |short=x}}- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
To remove the icon from the display:
{{Cite IrishBio|wstitle=Thomson, Charles |page=523 |noicon=x}}- Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
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}}
Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
Maintenance categories
[edit source]See also
[edit source]