Template:Authority/link/doc
This is a documentation subpage for Template:Authority/link. It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit]To create citation type link (link) templates for "hosted works" (works composed of multiple smaller works, for example encyclopedias or anthologies), especially on Author: pages.
It can be used directly for a link using the parameters that you require or it can be used to create another/derivative template for further use.
Direct
[edit]{{authority/link
| title = Catholic Encyclopedia (1913)| title display = Catholic Encyclopedia
| link = Roger Brooke Taney
| year = 1913
| contributor = J. P. W. McNeal
| publisher = The Encyclopaedia Press
| location = New York
| editor = Charles G. Herbermann and others
}}
producing
- "Roger Brooke Taney," by J. P. W. McNeal in Catholic Encyclopedia, (ed.) by Charles G. Herbermann and others, New York: The Encyclopaedia Press (1913)
Derivative template
[edit]When using the template to create another template (eg. {{CE link}} as in the above example) it takes either
- hard values to be set, eg.
title = title text here
- parameters to be re-used, eg. if the work has article contributors then
contributor = {{{contributor|}}}
- values can be omitted, where not needed
{{authority/link
| title = Catholic Encyclopedia (1913)| title display = Catholic Encyclopedia
| link = {{{link|{{{1}}}}}}
| year = 1913
| contributor = {{{contributor|{{{author|}}}}}}
| publisher = The Encyclopaedia Press
| location = New York
| editor = Charles G. Herbermann and others
}}
Noting that the derivative template can have alternative names for its parameters (right hand side of equation) rather than use the default parameter name.
Examples of other citation templates using this format
See also
[edit]- {{article link}}: for articles in periodicals (e.g. newspapers, journals, magazines)
Templatedata
[edit]For creation of standard authority/work linking templates
Parameter | Description | Type | Status | |
---|---|---|---|---|
title of work | title | title of work
| String | required |
title display | title display | override display of title with a variation (piping wikitext) | String | optional |
target subpage of work | link 1 | target subpage of work, would usually be set as parameter for use in linking template
| String | required |
link display | link display | override text displayed for the article | String | optional |
author | author | author of work, no requirement for addition of namespace
| String | suggested |
author display | author display | to override the display of the author field
| String | optional |
illustrator | illustrator | where illustrator requires listing
| String | optional |
illustrator display | illustrator display | where required to override display of illustrator's name | String | optional |
location | location | location of publisher
| String | suggested |
publisher | publisher | publisher
| String | suggested |
year | year | year this edition published
| Number | suggested |
edition | edition | where an edition needs to be added to a link, and the citation
| String | optional |
volume | volume | volume of work, to display in citation | Number | optional |
contributor | contributor | display contributor of article in link display — raw text, may require formatting | String | optional |
editor | editor | editor(s) of work — raw text, may require formatting
| String | optional |
p | p | start page (or only page) of article | Number | optional |
pp | pp | end page of article | Number | optional |
comment | comment | terminating comment
| String | optional |
anchor | anchor | add anchor to link | String | optional |