Template:Creator/doc

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

Syntax #1: for people with pages on Wikidata

{{Creator}} creates an infobox to be customized on Creator: namespace pages and used on File and Category namespace pages. See Commons:Creator for guidelines on how to use Creator namespace. In majority of the cases people with Creator templates should be created for people who have pages on Wikidata. Then all the information about a person should be added to Wikidata, which creator template can easily fetch. If there are no data on Wikidata about a person then it's better that you create a new page there and fill it with related data.

The template automatically sets the following categories: Creator templates

This template will categorize categories transcluding it and matching "Homecat" field into Category:Creator template home categories.
This template will categorize some creator infobox pages it into sub-categories of Category:Creator template maintenance.

Usage

{{Creator |Wikidata= |Option= }}

When creating a new Creator page copy, you can click on "preload a creator template". You can also paste and fill the text below into your new page:

{{Creator
 | Wikidata = 
 | Option   = {{{1|}}} <!-- Do not modify -->
}}

Most of the fields used by the template can be looked up from Wikidata; however if the results are not satisfactory, one can use the following parameters to overwrite Wikidata values.

Template parameters

ParameterDescriptionDefaultStatus
WikidataWikidatalink to related Wikidata page(s). Enter the item q-code without enclosing brackets, eg.: |Wikidata=Q41406.emptyrequired
Alternative namesAlternative namesAll other variants of the name, pseudonyms, etc. Language variation could be added here too if the name in native language differs from English version. Use template {{Name}} to indicate that name is a birth, legal or pseudonym.Wikidata aliases, pseudonym (P742), birth name (P1477), courtesy name (P1782), art name (P1787)optional
SortkeySortkeySortkey of the namefamily name (P734) & given name (P735)deprecated
BirthdateBirthdateDate of birth of the creator. Should be set on Wikidata. Use this property in case wikidata does not work properly. Most likely you will use it with {{Other date}}, {{Complex date}} and {{Lifetime date}} templatesdate of birth (P569)optional
DeathdateDeathdateDate of death. See Birthdate for details. One can use CanScan2 to find all the files using creator templates of authors who died less than 70 years ago and incorrectly using {{PD-old}} license.date of death (P570)optional
BirthlocBirth locationBirth location: usually a city name or wikidata q-codeplace of birth (P19)deprecated
DeathlocDeath locationDeath location: usually a city name or wikidata q-codeplace of death (P20)deprecated
WorkperiodWork periodTime period when the creator was active. Use {{Other date}} if needed. Corresponds to work period (start) (P2031) and work period (end) (P2032) in Wikidata, but it is currently not filled based on Wikidata (as of May 2017)emptyoptional
WorklocWork locationLocation(s) where the creator was active. Corresponds to work location (P937) in Wikidata, but currently (May 2017) will not show more than one location.work location (P937)optional
ImageImageImage depicting the creator. Self-portraits are preferable. Not for artworks by the creators. One can use CatScan2 to find all the creator templates without images used within files which are in the Category:Self-portraits.image (P18)deprecated
HomecatHomecatThe Homecat parameter adds a category to the creator template, which will then be included in the list of articles in that category.Commons category (P373)deprecated
NationalityNationalityHome nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{Nationality}} and {{CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".
Currently (May 2017) dual nationality based on Wikidata is not supported.
country of citizenship (P27)optional
GenderGenderWhether the individual is male or female (set the parameter to male, female, m or f accordingly). Used as input to {{NationAndOccupation}}.sex or gender (P21)deprecated
OccupationOccupationEnglish name of the profession. Multiple professions have to be separated by "/". For example "painter / photographer". See {{Occupation}} for supported values.occupation (P106)optional
DescriptionDescriptionAdditional description of the person, if needed. Possible uses, include listing relationships to other historical figures. Please use {{Kinship}} template.emptyoptional
LinkbackLinkbackname of specialized Creator: page used to provide a link back to it.Commons Creator page (P1472)deprecated
WikisourceWikisourcelink to related Wikisource page(s), mostly useful for writers. Use "s:pl:Autor:Adam Mickiewicz" notation. eg.: |Wikisource=s:pl:Autor:Adam Mickiewicz.Wikidata's Wikisource sitelinkdeprecated
WikiquoteWikiquotelink to related Wikiquote page(s). See Wikisource parameter for details, on how to use it.Wikidata's Wikiquote sitelinkdeprecated
LifespanLifespanUsually On top of the template we have a name followed by a lifespan dates in parenthesis. Most of the time lifespan can be assembled automatically based on dates or birth and death, or parameters "birthyear" and "deathyear". But if nothing else works "Lifespan" can be used to add text which will be added after the name.emptyoptional
TypeTypeAllows tagging and categorizing of unusual creator templates:
ValueDescriptionCategory
commons userFor people directly contributing to Commons, aka Commons users. For templates of this type only minimal parameter validation will be performed.Category:User creator templates
corporationcompany or any other formally organized groupCategory:Corporate creator templates
groupgroup of individuals, but not a corporation. For instance an artistic school or a group of individuals that closely collaborated together in such a way that each individual's contribution is difficult to appreciate (e.g. Creator:Limbourg Brothers)Category:Group creator templates
persondefault type
  • No corresponding Wikidata property.
personoptional
ReferencesReferencesLinks and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be verifiable. In most of the cases people already have articles in Wikipedia or Wikisource (in English or other languages) linked to by links in "Name" and "Wikisource" fields. However on a rare occasion that such article does not exist, please use "Reference" parameter to add references and or links to pages where the information come from.emptyoptional
OptionOptionTemplate {{Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. Option parameter should always be set to |option = {{{1|}}} and is used to pass information from users of the custom templates to the {{Creator}} template code. For example if one calls {{Creator:Paul Cézanne|1234}}, the "1234" will be passed as argument option to the {{Creator}} template. Many options have specific meaning to the {{Creator}} template:
  • Phrases: "workshop of", "circle of", "school of", "studio of", "or follower", "or workshop", "and workshop", "attributed to", "after", "formerly attributed to", "follower of", "manner of", "namepiece", "near"[1], "possibly", "probably" and "presumably" will be translated to user's language and merged with author's name.
  • "collapse" will result in creator template being initially collapsed
  • "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
  • emptyrequired

    Additional information

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

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

    Syntax #2: for people without pages on Wikidata

    This syntax is mostly for backward compatibility to existing templates in Category:Creator templates without Wikidata link. Please use Syntax #1 when creating new templates.

    Usage

    {{Creator
     |Name              =
     |Alternative names =
     |Sortkey           =
     |Birthdate         =
     |Deathdate         =
     |Birthloc          =
     |Deathloc          =
     |Workperiod        =
     |Workloc           =
     |Image             =
     |Homecat           =
     |Nationality       =
     |Gender            =
     |Occupation        =
     |Linkback          =
     |Wikidata          =
     |Option            =
     |Lifespan          =
    }}

    When creating a new Creator page copy, you can click on "preload a creator template". You can also paste and fill the text below into your new page:

    {{Creator
     | Name              = NAME SURNAME
     | Alternative names = 
     | Nationality       = 
     | Gender            = <!-- male / female -->
     | Occupation        = 
     | Description       = 
     | Birthdate         = 
     | Birthloc          = 
     | Deathdate         = 
     | Deathloc          = 
     | Workperiod        = 
     | Workloc           = 
     | Image             = 
     | Sortkey           = <!-- SURNAME, NAME -->
     | Homecat           = {{subst:PAGENAME}}
     | Option            = {{{1|}}} <!-- Do not modify -->
     | Linkback          = {{subst:FULLPAGENAME}}
     | Wikidata          = 
    }}
    

    Below are some suggestions on how to fill the parameters. In general keep it short and use language independent terms if possible. Avoid translating of names and places and use links to Wikipedia or a gallery which will have translations or interwiki links to articles in other languages.

    Template parameters

    ParameterDescriptionDefaultStatus
    NameNameName of the creator in the "Name Surname" format which will be shown in the uncollapsed part of the template (most of the time name should be the same as page name).

    In August 2016 template changed and this field become optional when wikidata link is provided. With wikidata the name field can be build based on Wikidata label and sitelinks.

    Pre August 2016 instructions are still listed below

    Things to do:

    • Provide single most commonly used version of the name in English literature or use {{LangSwitch}} to provide language specific versions (see below). English Wikipedia can be used as a guide to choose name.
    • Provide links to Wikipedia articles and/or Commons galleries—this is important to avoid disambiguation problems and to allow users to easily find more information about the creator.
      • Template automatically tries to add links to Commons gallery if one exists. If no gallery with that name exists try linking to one or more Wikipedias instead.
      • Best solution is to use {{LangSwitch}} to show the name in user's own language and provide link to an article in user's wikipedia. This approach is especially encouraged for names where original name does not use Latin alphabet. See here for more info.
      • If there are no Wikipedia or Wikisource articles to link to, then the reference where the information comes from by providing a link in the "Description" field should be added.
    • In case of the names like "Name Surname the Elder" or "Name Surname the Younger" use {{Name}} template with elder/younger options.
    • Creator template tries to automatically add lifespan years after creator's name, based on "birthdate" and "deathdate" parameters if they are in ISO 8601 format. Lifespan years can be also provided using "birthyear" and "deathyear" parameters, but if those are not known, then one could add years or century when the creator was active directly following the name.

    Do not:

    • List multiple versions of the name here—place those in "Alternative names" section
    • Use Language templates—those can be used in "Alternative names" section if different versions are used in different languages
    • Use links to Wikisource articles—use "Wikisource" parameter instead
    emptyoptional
    Alternative namesAlternative namesAll other variants of the name, pseudonyms, etc. Language variation could be added here too if the name in native language differs from English version. Do not use it to provide interwiki links—place them in a gallery linked from Name or on a Wikipedia page. Use template {{Name}} to indicate that name is a birth, legal or pseudonym. emptyoptional
    SortkeySortkeySortkey of the name
    • Not sure yet how to do this with Wikidata.
    emptyrequired
    BirthdateBirthdateDate of birth. Recommended format:
    • Date in ISO 8601 format "YYYY-MM-DD", or "YYYY-MM", or "YYYY", e.g. "2006-01-15" for "15 January 2006". This allows automatic localisation of the displayed date, and also display of the lifespan period after the name.
    • In case the date is not known precisely please use {{Other date}} or {{Lifetime date}} templates.
    • For authors living in countries using Julian calendar, like 19th century Russian artists, please consider using dates in "{{other date|Julian|1863-02-17|1863-03-01}}" format to distinguish between dates in Julian and Gregorian calendar.

    Not recommended format:

    • Do not use Language templates in this section, like {{en|2006-01-15}}.
    • Use of {{Date}} is not encouraged, since we can not extract year from that string, use "Birthyear" parameter if you do.
    • {{Other date}} and {{Lifetime date}} templates can be nested to create more complicated phrases. Nesting with more than 2 levels often exceeds expansion depth limit and should be avoided.

    Wikidata:

    emptyoptional
    DeathdateDeathdateDate of death. See Birthdate for details. One can use CanScan2 to find all the files using creator templates of authors who died less than 70 years ago and incorrectly using {{PD-old}} license.
  • Corresponds to date of death (P570) in Wikidata
  • emptyoptional
    BirthlocBirth locationBirth location: usually a city name with a link to the location's page:
  • Template automatically places location inside {{city|city-name}} template which works as a lookup table connecting multiple spellings of cities to autotranslated city templates, its own translations or to the Commons galleries. If no suitable links are found then string is unchanged.
  • One can use Wikidata Q-codes
  • One can use one of autotranslated city templates (see Category:Multilingual tags: Locations). Those templates show the city name in the language of the viewer and provide links to the wikipedia pages in that language.
  • One can also use direct links to a gallery or Wikipedia article
  • Use {{RelativeLocation}} for relative locations, like "A near B".
  • Avoid using Language templates, like {{de|Paris}}, or {{LangSwitch}} template.
  • Avoid using {{LangSwitch}}. Add language variations to {{City}}.
  • Corresponds to place of birth (P19) in Wikidata
  • emptyoptional
    DeathlocDeath locationDeath location. See Birthloc for details.
  • Corresponds to place of death (P20) in Wikidata
  • emptyoptional
    WorkperiodWork periodTime period when the creator was active. Use {{Other date}} if needed.
  • Corresponds to work period (start) (P2031) and work period (end) (P2032) in Wikidata
  • emptyoptional
    WorklocWork locationLocation(s) where the creator was active. See Birthloc for details.
  • Corresponds to work location (P937) in Wikidata
  • emptyoptional
    ImageImageImage of the creator. Self-portraits are preferable. One can use CatScan2 to find all the creator templates without images used within files which are in the Category:Self-portraits.
  • Corresponds to image (P18) in Wikidata. Be careful, might contain a work by or an image of the author. Need to add some smart logic or better: Create a new more specific property.
  • emptyoptional
    HomecatThe Homecat parameter adds a category to the creator template, which will then be included in the list of articles in that category. Please do not add additional categories (like [[Category:Name Surname]]) to creator templates, since these will then be added to all the files and categories that use the template. Find pages with homecat issues:
  • Biographical categories transcluding {{Creator}} template which are not home categories: [1]
  • Corresponds to topic's main category (P910) on Wikidata
  • emptyrequired
    NationalityHome nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{Nationality}} and {{CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".
  • Corresponds to country of citizenship (P27) on Wikidata
  • emptyoptional
    GenderWhether the individual is male or female (set the parameter to male, female, m or f accordingly). Used as input to {{NationAndOccupation}}.
  • Corresponds to sex or gender (P21) on Wikidata
  • emptyoptional
    OccupationEnglish name of the profession. Multiple professions have to be separated by "/". For example "painter / photographer". See {{Occupation}} for supported values. Pages using unsupported values will be listed in Category:Pages using Occupation template with incorrect parameters.
  • Corresponds to occupation (P106) on Wikidata
  • emptyoptional
    DescriptionAdditional description of the person, if needed. Possible uses:
  • listing relationships to other historical figures. Please use {{Kinship}} template.
  • Corresponds to Wikidata item description.
  • emptyoptional
    Linkbackname of specialized Creator: page used to provide a link back to it. If provided, then an icon will be shown in the top line after the name. Clicking this icon will bring user to the proper Creator: page.
  • Internal, nothing on Wikidata. We could use Commons Creator page (P1472) for sanity checking.
  • emptyrequired
    Wikisourcelink to related Wikisource page(s), mostly useful for writers. Use "s:pl:Autor:Adam Mickiewicz" notation. eg.: |Wikisource=s:pl:Autor:Adam Mickiewicz. Please use {{LangSwitch}} if author was writing in several languages, for example "|Wikisource = {{LangSwitch|en=s:en:Author:Joseph Conrad|fr=s:fr:Auteur:Joseph_Conrad|pl=s:pl:Autor:Joseph Conrad}}"
  • Corresponds to Wikidata item description.
  • emptyoptional
    Wikiquotelink to related Wikiquote page(s). See Wikisource parameter for details, on how to use it.
  • Corresponds to Wikidata sitelink description.
  • emptyoptional
    Wikidatalink to related Wikidata page(s). Enter the item Identifier without enclosing brackets, eg.: |Wikidata=Q41406. Entering keyword "Create" will show arrow which will allow you to create a new Wikidata item and copy many of the properties to it.
  • That's the item where we're grabbing all the Wikidata information from
  • emptyoptional
    AuthorityAuthority control data displayed using a call to {{Authority control|...|bare=1}}. As of Spring 2016, recommended way of handling Authority control is to add it to wikidata and set Wikidata parameter, then the template is automatically displayed. Find pages with authority control issues:
  • Creator templates with {{Authority control}} template without "bare=1" option [2]
  • Creator home categories with {{Authority control}} added to both category and creator template[3]
  • Creator home categories with {{Authority control}} added to the category instead creator template [4]
  • All of above plus other issues[5]
  • Wikidata part is handled in the authority control template
  • emptydeprecated
    TypeAllows tagging and categorizing of unusual creator templates:
    ValueDescriptionCategory
    commons userFor people directly contributing to Commons, aka Commons users. For templates of this type only minimal parameter validation will be performed.Category:User creator templates
    corporationcompany or any other formally organized groupCategory:Corporate creator templates
    groupgroup of individuals, but not a corporation. For instance an artistic school or a group of individuals that closely collaborated together in such a way that each individual's contribution is difficult to appreciate (e.g. Creator:Limbourg Brothers)Category:Group creator templates
    persondefault type
    • No corresponding Wikidata property.
    personoptional
    ImgWidthImage width in pixels. Most templates do not need to use this parameter, but some exceptionally voluminous templates might look better with larger images (100<ImgWidth<150). Also templates with image and very little info could use smaller image (70<ImgWidth<100).100optional
    ReferencesLinks and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be verifiable. In most of the cases people already have articles in Wikipedia or Wikisource (in English or other languages) linked to by links in "Name" and "Wikisource" fields. However on a rare occasion that such article does not exist, please use "Reference" parameter to add references and or links to pages where the information come from.emptyoptional
    OptionTemplate {{Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. Option parameter should always be set to |option = {{{1|}}} and is used to pass information from users of the custom templates to the {{Creator}} template code. For example if one calls {{Creator:Paul Cézanne|1234}}, the "1234" will be passed as argument option to the {{Creator}} template. Many options have specific meaning to the {{Creator}} template:
  • Phrases: "workshop of", "circle of", "school of", "studio of", "or follower", "or workshop", "and workshop", "attributed to", "after", "formerly attributed to", "follower of", "manner of", "namepiece", "near"[1], "possibly", "probably" and "presumably" will be translated to user's language and merged with author's name.
  • "collapse" will result in creator template being initially collapsed
  • "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
  • emptyrequired
    LifespanLifespanUsually On top of the template we have a name followed by a lifespan dates in parenthesis. Most of the time lifespan can be asembled automatically based on dates or birth and death, or parameters "birthyear" and "deathyear". But if nothing else works "Lifespan" can be used to add text which will be added after the name.emptyoptional

    Additional information

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

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

    Relies on:
    Module:Creator, {{NationAndOccupation}}, Module:Authority control, Module:Name, Module:City, Module:ISOdate, Module:Wikidata label, Module:Wikidata

    See also

    Localization

    This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).

    Examples

    Creator:Paul Cézanne, rendered as

    Paul Cézanne  (1839–1906)  wikidata:Q35548 s:fr:Auteur:Paul Cézanne q:en:Paul Cézanne
     
    Paul Cézanne
    Description French painter, printmaker, lithographer and drawer
    Date of birth/death 19 January 1839 Edit this at Wikidata 22 October 1906 Edit this at Wikidata
    Location of birth/death Aix-en-Provence Edit this at Wikidata Aix-en-Provence Edit this at Wikidata
    Work location
    Authority file
    creator QS:P170,Q35548

    has source code:

    {{Creator
     | Workloc           = {{Paris}}, {{city|Auvers-sur-Oise}}, {{Aix-en-Provence}}, {{Marseille}}
     | Wikidata          = Q35548
     | Option            = {{{1|}}}
    }}

    Creator:Viktor Vasnetsov, rendered as

    Viktor Vasnetsov  (1848–1926)  wikidata:Q204138 s:ru:Виктор Михайлович Васнецов q:ru:Виктоp Михайлович Васнецов
     
    Viktor Vasnetsov
    Alternative names
    Description Russian-Soviet painter, architect, postage stamp designer, drawer, illustrator and scenographer
    Date of birth/death 15 May 1848 (3 May 1848 in Julian calendar) 23 July 1926 Edit this at Wikidata
    Location of birth/death Lop’jal in Vyatka Governorate Moscow Edit this at Wikidata
    Work location
    Authority file
    creator QS:P170,Q204138

    has source code:

    {{Creator
     | Wikidata          = Q204138
     | Alternative names = {{en|1=[[:en:Viktor Vasnetsov|Viktor Mikhailovich Vasnetsov]]}} {{de|1=[[:de:Wiktor Michailowitsch Wasnezow|Wiktor Michailowitsch Wasnezow]]}} {{ru|1=[[:ru:Васнецов, Виктор Михайлович|Виктор Михайлович Васнецов]]}}
     | Birthdate         = {{other date|Julian|1848-05-15|1848-05-03}}
     | Birthloc          = {{RelativeLocation|{{LangSwitch|en=Lop’jal|mk=Лопјал|ru=Лопьял|uk=Лоп'ял}}|in|{{city|Vyatka Province}}}}
     | Linkback          = Creator:Viktor Vasnetsov
     | Option            = {{{1|}}}
    }}

    Template Tags

    This template adds several template tags (empty templates which can be traced) to images meeting some criteria:

    All of them are used for maintenance tasks. They are a little like real hidden categories.


    1. a b The option near generates "Attributed to an artist near the"