Permanently protected template

Template:Authority/link

From Wikisource
Jump to navigation Jump to search

“[[{{{title}}}/{{{1}}}|{{{1}}}]],” in [[{{{title}}}]]


Documentation icon Template documentation[view] [edit] [history] [purge]


Usage

To create citation type link (link) templates for hosted works, 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

{{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

Derivative template

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


Templatedata

For creation of standard authority/work linking templates

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
title of worktitle

title of work

Default
empty
Example
The Maclise Portrait-Gallery
Auto value
empty
Stringrequired
title displaytitle display

override display of title with a variation (piping wikitext)

Default
empty
Example
empty
Auto value
empty
Stringoptional
target subpage of worklink1

target subpage of work, would usually be set as parameter for use in linking template

Default
{{{link|{{{1}}}}}}
Example
empty
Auto value
empty
Stringrequired
link displaylink display

override text displayed for the article

Default
empty
Example
empty
Auto value
empty
Stringoptional
authorauthor

author of work, no requirement for addition of namespace

Default
empty
Example
William Bates (1821-1884)
Auto value
empty
Stringsuggested
author displayauthor display

to override the display of the author field

Default
empty
Example
William Bates; where author link is "Author:William Bates (1821-1884), and need to display "William Bates"
Auto value
empty
Stringoptional
illustratorillustrator

where illustrator requires listing

Default
empty
Example
Daniel Maclise
Auto value
empty
Stringoptional
illustrator displayillustrator display

where required to override display of illustrator's name

Default
empty
Example
empty
Auto value
empty
Stringoptional
locationlocation

location of publisher

Default
empty
Example
London
Auto value
empty
Stringsuggested
publisherpublisher

publisher

Default
empty
Example
Chatto and Windus
Auto value
empty
Stringsuggested
yearyear

year this edition published

Default
empty
Example
1883
Auto value
empty
Datesuggested
editionedition

where an edition needs to be added to a link, and the citation

Default
empty
Example
see [[Template:Men of the Time link]]
Auto value
empty
Stringoptional
volumevolume

volume of work, to display in citation

Default
empty
Example
empty
Auto value
empty
Numberoptional
contributorcontributor

display contributor of article in link display — raw text, may require formatting

Default
empty
Example
empty
Auto value
empty
Stringoptional
editoreditor

editor(s) of work — raw text, may require formatting

Default
empty
Example
[[Author:Henry Wace|]] and [[Author:William C. Piercy|]]
Auto value
empty
Stringoptional
pp

start page (or only page) of article

Default
empty
Example
empty
Auto value
empty
Numberoptional
pppp

end page of article

Default
empty
Example
empty
Auto value
empty
Numberoptional
commentcomment

terminating comment

Default
empty
Example
in 9 vols.
Auto value
empty
Stringoptional