Template:Agent/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

This template provides a wrapper around Creator templates which can also be used to describe the role the creator played in creating this media (e.g. writer, painter, illustrator, publisher, etc.)

Usage

{{Agent |role= |creator= |note= |years= }}

This template should be used wherever Creator templates are used, such as in the “author” field of {{Information}}.

Template parameters

ParameterDescriptionDefaultStatus
roleRole of the creator in creating the media file. One of: creator, publisher, photographer, artist, illustrator, author, writer, painter, engraver, lithographer, editor.creatorrequired
creatorThe name of the creator. If a Creator template exists for that name, this template will insert that template here. Otherwise, it will provide a link allowing a creator template to be easily created.emptyrequired
noteA short note to be added after the role. This can be used to add additional information, such as if this role is disputed.emptyoptional
yearsThe years in which this creator was active. This makes it easy to disambiguate between creators with the same name. Note that this field will be completely ignored if a creator is provided.emptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Examples

{{Agent|role=publisher |creator=William Curtis}}

renders as:

Publisher:
William Curtis  (1746–1799)  wikidata:Q460867 s:en:Author:William Curtis
 
William Curtis
Alternative names
Curtis; W. Curtis
Description English botanist, lepidopterist, bryologist, mycologist and pharmacist
Date of birth/death 11 January 1746 Edit this at Wikidata 7 July 1799 Edit this at Wikidata
Location of birth/death Alton Royal Borough of Kensington and Chelsea
Authority file
creator QS:P170,Q460867

{{Agent|role=counter |creator=Count Count}}

renders as:

counter:
Count Count (create creator page)

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)