Template:Creator/doc
Uses Lua: |
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
Parameter | Description | Default | Status | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Wikidata | Wikidata | link to related Wikidata page(s). Enter the item q-code without enclosing brackets, eg.: |Wikidata=Q41406 . | empty | required | |||||||||||||||
Alternative names | Alternative names | All 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 | |||||||||||||||
Sortkey | Sortkey | Sortkey of the name | family name (P734) & given name (P735) | deprecated | |||||||||||||||
Birthdate | Birthdate | Date 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}} templates | date of birth (P569) | optional | |||||||||||||||
Deathdate | Deathdate | Date 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 | |||||||||||||||
Birthloc | Birth location | Birth location: usually a city name or wikidata q-code | place of birth (P19) | deprecated | |||||||||||||||
Deathloc | Death location | Death location: usually a city name or wikidata q-code | place of death (P20) | deprecated | |||||||||||||||
Workperiod | Work period | Time 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) | empty | optional | |||||||||||||||
Workloc | Work location | Location(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 | |||||||||||||||
Image | Image | Image 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 | |||||||||||||||
Homecat | Homecat | The 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 | |||||||||||||||
Nationality | Nationality | Home 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 | |||||||||||||||
Gender | Gender | Whether 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 | |||||||||||||||
Occupation | Occupation | English name of the profession. Multiple professions have to be separated by "/". For example "painter / photographer". See {{Occupation}} for supported values. | occupation (P106) | optional | |||||||||||||||
Description | Description | Additional description of the person, if needed. Possible uses, include listing relationships to other historical figures. Please use {{Kinship}} template. | empty | optional | |||||||||||||||
Linkback | Linkback | name of specialized Creator: page used to provide a link back to it. | Commons Creator page (P1472) | deprecated | |||||||||||||||
Wikisource | Wikisource | link 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 sitelink | deprecated | |||||||||||||||
Wikiquote | Wikiquote | link to related Wikiquote page(s). See Wikisource parameter for details, on how to use it. | Wikidata's Wikiquote sitelink | deprecated | |||||||||||||||
Lifespan | Lifespan | Usually 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. | empty | optional | |||||||||||||||
Type | Type | Allows tagging and categorizing of unusual creator templates:
| person | optional | |||||||||||||||
References | References | Links 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. | empty | optional | |||||||||||||||
Option | Option | Template {{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:
| empty | required |
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
Parameter | Description | Default | Status | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name | Name | Name 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.
Things to do:
Do not:
| empty | optional | |||||||||||||||
Alternative names | Alternative names | All 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.
| empty | optional | |||||||||||||||
Sortkey | Sortkey | Sortkey of the name
| empty | required | |||||||||||||||
Birthdate | Birthdate | Date of birth. Recommended format:
Not recommended format:
Wikidata:
| empty | optional | |||||||||||||||
Deathdate | Deathdate | Date 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.
| empty | optional | |||||||||||||||
Birthloc | Birth location | Birth location: usually a city name with a link to the location's page:
| empty | optional | |||||||||||||||
Deathloc | Death location | Death location. See Birthloc for details.
| empty | optional | |||||||||||||||
Workperiod | Work period | Time period when the creator was active. Use {{Other date}} if needed.
| empty | optional | |||||||||||||||
Workloc | Work location | Location(s) where the creator was active. See Birthloc for details.
| empty | optional | |||||||||||||||
Image | Image | Image 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.
| empty | optional | |||||||||||||||
Homecat | The 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:
| empty | required | ||||||||||||||||
Nationality | Home 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 "/".
| empty | optional | ||||||||||||||||
Gender | Whether the individual is male or female (set the parameter to male, female, m or f accordingly). Used as input to {{NationAndOccupation}}.
| empty | optional | ||||||||||||||||
Occupation | English 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.
| empty | optional | ||||||||||||||||
Description | Additional description of the person, if needed. Possible uses:
| empty | optional | ||||||||||||||||
Linkback | name 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.
| empty | required | ||||||||||||||||
Wikisource | link 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}}"
| empty | optional | ||||||||||||||||
Wikiquote | link to related Wikiquote page(s). See Wikisource parameter for details, on how to use it.
| empty | optional | ||||||||||||||||
Wikidata | link 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.
| empty | optional | ||||||||||||||||
Authority | Authority 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:
| empty | deprecated | ||||||||||||||||
Type | Allows tagging and categorizing of unusual creator templates:
| person | optional | ||||||||||||||||
ImgWidth | Image 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). | 100 | optional | ||||||||||||||||
References | Links 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. | empty | optional | ||||||||||||||||
Option | Template {{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:
| empty | required | ||||||||||||||||
Lifespan | Lifespan | Usually 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. | empty | optional |
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
- Commons:Creator
- {{Institution}} – similar template for institutions
- Creator from wikidata tool
- Template:Editnotices/Namespace/Creator – Preloaded text which will show up above edit window while editing pages in Creator: namespace.
- Template:Creator/preload – Page used to preload pages in Creator namespace.
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) | |||
---|---|---|---|
Description | French painter, printmaker, lithographer and drawer | ||
Date of birth/death | 19 January 1839 | 22 October 1906 | |
Location of birth/death | Aix-en-Provence | Aix-en-Provence | |
Work location | |||
Authority file |
|
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) | |||
---|---|---|---|
Alternative names | English: Viktor Mikhailovich Vasnetsov Deutsch: Wiktor Michailowitsch Wasnezow Русский: Виктор Михайлович Васнецов | ||
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 | |
Location of birth/death | Lop’jal in Vyatka Governorate | Moscow | |
Work location | |||
Authority file |
|
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:
- {{Works of authors who died more than 100 years ago}}
- {{Works of authors who died more than 70 years ago}}
- {{Works of authors who died less than 65 years ago}}
- {{Creator template no image}}
All of them are used for maintenance tasks. They are a little like real hidden categories.