Template:Creator/doc: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
 
(18 intermediate revisions by 13 users not shown)
Line 3: Line 3:
{{TemplateBox
{{TemplateBox
|name=Creator
|name=Creator
|useTemplateData=1
|desc=
|desc=
<nowiki>{{Creator}}</nowiki> 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. Than 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.
<nowiki>{{Creator}}</nowiki> 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.
|desc-td=<nowiki>{{Creator}}</nowiki> 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.
|desc-td=<nowiki>{{Creator}}</nowiki> 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 the Creator namespace.


|setscats={{C|Creator templates}} <br>
|setscats={{C|Creator templates}}<br />
:''This template will categorize categories transcluding it and matching "Homecat" field into [[:Category:Creator template home categories]].''<br>
:''This template will categorize categories transcluding it and matching "Homecat" field into [[:Category:Creator template home categories]].''<br />
:''This template will categorize some creator infobox pages it into sub-categories of [[:Category:Creator template maintenance]].''
:''This template will categorize some creator infobox pages it into sub-categories of [[:Category:Creator template maintenance]].''


Line 15: Line 14:
<pre>
<pre>
{{Creator
{{Creator
| Wikidata =
| Wikidata =
| Option = {{{1|}}} <!-- Do not modify -->
| Option = {{{1|}}} <!-- Do not modify -->
}}
}}
</pre>
</pre>


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.
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.
|1=Wikidata
|1=Wikidata
|1label-en = Wikidata
|1label-en = Wikidata
|1d-en = link to related Wikidata page(s). Enter the item q-code without enclosing brackets, eg.: <tt><nowiki>|Wikidata=Q41406</nowiki></tt>.
|1d-en = link to related Wikidata page(s). Enter the item q-code without enclosing brackets, eg.: <code><nowiki>|Wikidata=Q41406</nowiki></code>.
|1type = string
|1type = string
|1def=
|1def=
Line 33: Line 32:
|2type = string
|2type = string
|2d-en = All other variants of the name, [[w:Pseudonym|pseudonyms]], etc. Language variation could be added here too if the name in native language differs from English version. Use template {{tl|Name}} to indicate that name is a birth, legal or pseudonym.
|2d-en = All other variants of the name, [[w:Pseudonym|pseudonyms]], etc. Language variation could be added here too if the name in native language differs from English version. Use template {{tl|Name}} to indicate that name is a birth, legal or pseudonym.
|2def-en = Wikidata aliases
|2def-en = [[d:Help:Aliases|Wikidata aliases]], {{P|P742}}, {{P|P1477}}, {{P|P1782}}, {{P|P1787}}
|2stat=optional-
|2stat=optional-


Line 83: Line 82:
|10label-fr = Période de travail
|10label-fr = Période de travail
|10type = string
|10type = string
|10d-en=Time period when the creator was active. Use {{tl|Other date}} if needed. Corresponds to [[:d:Property:P2031]] and [[:d:Property:P2032]] in Wikidata, but it is currently not filled based on Wikidata (as of May 2017)
|10d-en=Time period when the creator was active. Use {{tl|Other date}} if needed. Corresponds to {{P|P2031}} and {{P|P2032}} in Wikidata, but it is currently not filled based on Wikidata (as of May 2017)
|10d-td-en=Time period when the creator was active.
|10d-td-en=Time period when the creator was active.
|10stat=optional-
|10stat=optional-
Line 91: Line 90:
|11label-fr = Lieu de travail
|11label-fr = Lieu de travail
|11type = string
|11type = string
|11d-en=Location(s) where the creator was active. Corresponds to [[:d:Property:P937|work location (P937)]] in Wikidata, but currently (May 2017) will not show more than one location.
|11d-en=Location(s) where the creator was active. Corresponds to {{P|P937}} in Wikidata, but currently (May 2017) will not show more than one location.
|11def={{P|P937}}
|11def={{P|P937}}
|11stat=optional-
|11stat=optional-
Line 106: Line 105:
|13=Homecat
|13=Homecat
|13label-en = Homecat
|13label-en = Homecat
|13d=The Homecat parameter adds a category to the creator template, which will then be included in the list of articles in that category.
|13d=The Homecat parameter adds a category to the creator template, which will then be included in the list of articles in that category.
|13def={{P|P373}}
|13def={{P|P373}}
|13stat=deprecated
|13stat=deprecated
Line 112: Line 111:
|14=Nationality
|14=Nationality
|14label-en = Nationality
|14label-en = Nationality
|14d-en=Home nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{tl|Nationality}} and {{tl|CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".
|14d-en=Home nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{tl|Nationality}} and {{tl|CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".<br /> Currently (May 2017) dual nationality based on Wikidata is not supported.
<br/> Currently (May 2017) dual nationality based on Wikidata is not supported.
|14def={{P|P27}}
|14def={{P|P27}}
|14stat=optional-
|14stat=optional-
Line 119: Line 117:
|15=Gender
|15=Gender
|15label-en = Gender
|15label-en = Gender
|15d-en=Whether the individual is male or female (set the parameter to ''male'', ''female'', ''m'' or ''f'' accordingly). Used as input to {{tlx|NationAndOccupation}}.
|15d-en=Whether the individual is male or female (set the parameter to ''male'', ''female'', ''m'' or ''f'' accordingly). Used as input to {{tlx|NationAndOccupation}}.
|15def={{P|P21}}
|15def={{P|P21}}
|15stat=deprecated
|15stat=deprecated
Line 136: Line 134:
|18=Linkback
|18=Linkback
|18label-en=Linkback
|18label-en=Linkback
|18d=name of [[:Category:Creator templates|specialized Creator: page]] used to provide a link back to it.
|18d=name of [[:Category:Creator templates|specialized Creator: page]] used to provide a link back to it.
|18def={{P|1472}}
|18def={{P|1472}}
|18stat=deprecated
|18stat=deprecated
Line 142: Line 140:
|19=Wikisource
|19=Wikisource
|19label-en=Wikisource
|19label-en=Wikisource
|19d=link to related Wikisource page(s), mostly useful for writers. Use "[[s:pl:Autor:Adam Mickiewicz]]" notation. eg.: <tt><nowiki>|Wikisource=s:pl:Autor:Adam Mickiewicz</nowiki></tt>.
|19d=link to related Wikisource page(s), mostly useful for writers. Use "[[s:pl:Autor:Adam Mickiewicz]]" notation. eg.: <code><nowiki>|Wikisource=s:pl:Autor:Adam Mickiewicz</nowiki></code>.
|19def=Wikidata's Wikisource sitelink
|19def=Wikidata's Wikisource sitelink
|19stat=deprecated
|19stat=deprecated
Line 154: Line 152:
|21=Lifespan
|21=Lifespan
|21label-en=Lifespan
|21label-en=Lifespan
|21d=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.
|21d=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.
|21def=
|21def=
|21stat=optional-
|21stat=optional-
Line 160: Line 158:
|23=Type
|23=Type
|23label-en=Type
|23label-en=Type
|23d=Allows tagging and categorizing of unusual creator templates:
|23d=Allows tagging and categorizing of unusual creator templates:
<table border>
<table border>
<tr><th>Value</th><th>Description</th><th>Category</th></tr>
<tr><th>Value</th><th>Description</th><th>Category</th></tr>
<tr><td>commons user</td><td>For people directly contributing to Commons, aka Commons [[:Category:Users|users]]. For templates of this type only minimal parameter validation will be performed.</td><td>[[:Category:User creator templates]]</td></tr>
<tr><td>commons user</td><td>For people directly contributing to Commons, aka Commons [[:Category:Users|users]]. For templates of this type only minimal parameter validation will be performed.</td><td>[[:Category:User creator templates]]</td></tr>
<tr><td>corporation</td><td>company or any other formally organized group</td><td>[[:Category:Corporate creator templates]]</td></tr>
<tr><td>corporation</td><td>company or any other formally organized group</td><td>[[:Category:Corporate creator templates]]</td></tr>
<tr><td>group</td><td>group 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]])</td><td>[[:Category:Group creator templates]]</td></tr>
<tr><td>group</td><td>group 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]])</td><td>[[:Category:Group creator templates]]</td></tr>
<tr><td>person</td><td>default type</td><td></td></tr>
<tr><td>person</td><td>default type</td><td></td></tr>
</table>
</table>
Line 174: Line 172:
|26=References
|26=References
|26label-en=References
|26label-en=References
|26d=Links and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be [[:en:Wikipedia:Verifiability|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.
|26d=Links and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be [[w:en:Verifiability|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.
|26def=
|26def=
|26stat=optional-
|26stat=optional-
Line 181: Line 179:
|27label-en=Option
|27label-en=Option
|27d-en=Template {{tl|Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. ''Option'' parameter should always be set to <code><nowiki>|option = {{{1|}}}</nowiki></code> and is used to pass information from users of the custom templates to the {{tl|Creator}} template code. For example if one calls <nowiki>{{</nowiki>[[Creator:Paul Cézanne]]<nowiki>|1234}}</nowiki>, the "1234" will be passed as argument ''option'' to the {{tl|Creator}} template. Many ''options'' have specific meaning to the {{tl|Creator}} template:
|27d-en=Template {{tl|Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. ''Option'' parameter should always be set to <code><nowiki>|option = {{{1|}}}</nowiki></code> and is used to pass information from users of the custom templates to the {{tl|Creator}} template code. For example if one calls <nowiki>{{</nowiki>[[Creator:Paul Cézanne]]<nowiki>|1234}}</nowiki>, the "1234" will be passed as argument ''option'' to the {{tl|Creator}} template. Many ''options'' have specific meaning to the {{tl|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", and "near"<ref name="infonear">The option ''near'' generates "'''Attributed to an artist near the'''"</ref>. will be translated to user's language and merged with author's name.
* 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"<ref name="infonear">The option ''near'' generates "'''Attributed to an artist near the'''"</ref>, "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
* "collapse" will result in creator template being initially collapsed
* "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
* "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
Line 199: Line 197:
{{TemplateBox
{{TemplateBox
|name=Creator
|name=Creator
|desc=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.
|useTemplateData=1
|desc=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.
|setscats=
|setscats=
|usage-notes=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:
|usage-notes=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:
Line 209: Line 206:
| Nationality =
| Nationality =
| Gender = <!-- male / female -->
| Gender = <!-- male / female -->
| Occupation =
| Occupation =
| Description =
| Description =
| Birthdate =
| Birthdate =
Line 218: Line 215:
| Workloc =
| Workloc =
| Image =
| Image =
| Sortkey = SURNAME, NAME
| Sortkey = <!-- SURNAME, NAME -->
| Homecat = {{subst:PAGENAME}}
| Homecat = {{subst:PAGENAME}}
| Option = {{{1|}}} <!-- Do not modify -->
| Option = {{{1|}}} <!-- Do not modify -->
Line 231: Line 228:
|1label-fr = Nom
|1label-fr = Nom
|1type = string
|1type = string
|1d-en= 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).
|1d-en= 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. '''
'''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. '''


Line 237: Line 234:
'''Things to do''':
'''Things to do''':
* Provide single most commonly used version of the name in English literature or use {{tl|LangSwitch}} to provide language specific versions (see below). English Wikipedia can be used as a guide to choose name.
* Provide single most commonly used version of the name in English literature or use {{tl|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.
* 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.
**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 {{tl|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 [[Help:Creating multilingual tags with interwiki links|here]] for more info.
**Best solution is to use {{tl|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 [[Help:Creating multilingual tags with interwiki links|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.
**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 {{tl|Name}} template with ''elder/younger'' options.
* In case of the names like "Name Surname the Elder" or "Name Surname the Younger" use {{tl|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 [[:en:ISO 8601|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.
* Creator template tries to automatically add lifespan years after creator's name, based on "birthdate" and "deathdate" parameters if they are in [[:en:ISO 8601|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''':
'''Do not''':
* List multiple versions of the name here - place those in "Alternative names" section
* List multiple versions of the name here—place those in "Alternative names" section
* Use [[:Category:Language templates|Language templates]] - those can be used in "Alternative names" section if different versions are used in different languages
* Use [[:Category:Language templates|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
* Use links to Wikisource articles—use "Wikisource" parameter instead
|1stat=optional
|1stat=optional
|1d-td-en=Name of the creator in the "Name Surname" format
|1d-td-en=Name of the creator in the "Name Surname" format
Line 256: Line 253:
|2type = string
|2type = string


|2d=All other variants of the name, [[w:Pseudonym|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 {{tl|Name}} to indicate that name is a birth, legal or pseudonym.
|2d=All other variants of the name, [[w:Pseudonym|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 {{tl|Name}} to indicate that name is a birth, legal or pseudonym.

*Corresponds to the Wikidata aliases.
*Corresponds to the [[d:Help:Aliases|Wikidata aliases]], {{P|P742}}, {{P|P1477}}, {{P|P1782}} and {{P|P1787}}.
|2stat=optional
|2stat=optional


Line 265: Line 263:
|3type = string
|3type = string
|3d-en= Sortkey of the name
|3d-en= Sortkey of the name

*Not sure yet how to do this with Wikidata.
*Not sure yet how to do this with Wikidata.
|3stat=required
|3stat=required
Line 274: Line 273:


|4d-en=Date of birth. '''Recommended format''':
|4d-en=Date of birth. '''Recommended format''':

* Date in [[:en:ISO 8601|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.
* Date in [[:en:ISO 8601|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 {{tl|Other date}} or {{tl|Lifetime date}} templates.
* In case the date is not known precisely please use {{tl|Other date}} or {{tl|Lifetime date}} templates.
* For authors living in countries using [[w:Old Style and New Style dates|Julian calendar]], like 19th century Russian artists, please consider using dates in "''{{tlx|other date|Julian|1863-02-17|1863-03-01}}''" format to distinguish between dates in Julian and [[w:Gregorian calendar|Gregorian calendar]].
* For authors living in countries using [[w:Old Style and New Style dates|Julian calendar]], like 19th century Russian artists, please consider using dates in "''{{tlx|other date|Julian|1863-02-17|1863-03-01}}''" format to distinguish between dates in Julian and [[w:Gregorian calendar|Gregorian calendar]].


'''Not recommended format''':
'''Not recommended format''':
* Do not use [[:Category:Language templates|Language templates]] in this section, like <nowiki>{{en|2006-01-15}}</nowiki>.
* Do not use [[:Category:Language templates|Language templates]] in this section, like <nowiki>{{en|2006-01-15}}</nowiki>.
* Use of {{tl|date}} is not encouraged, since we can not extract year from that string, use "Birthyear" parameter if you do.
* Use of {{tl|date}} is not encouraged, since we can not extract year from that string, use "Birthyear" parameter if you do.
*{{tl|Other date}} and {{tl|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.
*{{tl|Other date}} and {{tl|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''':
'''Wikidata''':
* Corresponds to [[:d:Property:P569|date of birth (P569)]] in Wikidata
* Corresponds to {{P|P569}} in Wikidata
|4d-td-en=Birthdate of the artist, preferably in the ISO YYYY-MM-DD format
|4d-td-en=Birthdate of the artist, preferably in the ISO YYYY-MM-DD format
|4stat=optional
|4stat=optional
Line 293: Line 293:
|6type = string
|6type = string
|6d-en=Date of death. See '''Birthdate''' for details. <small>One can use [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&templates_yes=Works+of+authors+who+died+less+than+65+years+ago%0D%0APD-old CanScan2] to find all the files using creator templates of authors who died less than 70 years ago and incorrectly using {{tl|PD-old}} license.</small>
|6d-en=Date of death. See '''Birthdate''' for details. <small>One can use [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&templates_yes=Works+of+authors+who+died+less+than+65+years+ago%0D%0APD-old CanScan2] to find all the files using creator templates of authors who died less than 70 years ago and incorrectly using {{tl|PD-old}} license.</small>
* Corresponds to [[:d:Property:P570|date of death (P570)]] in Wikidata
* Corresponds to {{P|P570}} in Wikidata
|6stat=optional
|6stat=optional


Line 305: Line 305:
* 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 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
* One can also use direct links to a gallery or Wikipedia article
* Use {{tl|RelativeLocation}} for relative locations, like "A near B".
* Use {{tl|RelativeLocation}} for relative locations, like "A near B".
* Avoid using [[:Category:Language templates|Language templates]], like <nowiki>{{de|Paris}}</nowiki>, or {{tl|LangSwitch}} template.
* Avoid using [[:Category:Language templates|Language templates]], like <nowiki>{{de|Paris}}</nowiki>, or {{tl|LangSwitch}} template.
* Avoid using {{tl|LangSwitch}}. Add language variations to {{tl|city}}.
* Avoid using {{tl|LangSwitch}}. Add language variations to {{tl|city}}.
* Corresponds to [[:d:Property:P19|place of birth (P19)]] in Wikidata
* Corresponds to {{P|P19}} in Wikidata
|8d-td-en=Birth location: usually a city name with a link to the location's page
|8d-td-en=Birth location: usually a city name with a link to the location's page
|8stat=optional
|8stat=optional
Line 318: Line 318:


|9d-en=Death location. See '''Birthloc''' for details.
|9d-en=Death location. See '''Birthloc''' for details.
* Corresponds to [[:d:Property:P20|place of death (P20)]] in Wikidata
* Corresponds to {{P|P20}} in Wikidata
|9stat=optional
|9stat=optional


Line 326: Line 326:
|10type = string
|10type = string
|10d-en=Time period when the creator was active. Use {{tl|Other date}} if needed.
|10d-en=Time period when the creator was active. Use {{tl|Other date}} if needed.
* Corresponds to [[:d:Property:P2031]] and [[:d:Property:P2032]] in Wikidata
* Corresponds to {{P|2031}} and {{P|2032}} in Wikidata
|10d-td-en=Time period when the creator was active.
|10d-td-en=Time period when the creator was active.
|10stat=optional
|10stat=optional
Line 335: Line 335:
|11type = string
|11type = string
|11d-en=Location(s) where the creator was active. See '''Birthloc''' for details.
|11d-en=Location(s) where the creator was active. See '''Birthloc''' for details.
* Corresponds to [[:d:Property:P937|work location (P937)]] in Wikidata
* Corresponds to {{P|P937}} in Wikidata
|11stat=optional
|11stat=optional


Line 343: Line 343:
|12type = wiki-file-name
|12type = wiki-file-name
|12d-en=Image of the creator. Self-portraits are preferable. <small>One can use [http://tools.wmflabs.org/catscan3/catscan2.php?language=commons&project=wikimedia&depth=4&categories=Self-portraits&negcats=Not+a+self-portrait&ns%5B6%5D=1&templates_yes=Creator+template+no+image&templates_no=Creator+template%3A+ignore+this+selfportrait&doit=1 CatScan2] to find all the creator templates without images used within files which are in the [[:Category:Self-portraits]].</small>
|12d-en=Image of the creator. Self-portraits are preferable. <small>One can use [http://tools.wmflabs.org/catscan3/catscan2.php?language=commons&project=wikimedia&depth=4&categories=Self-portraits&negcats=Not+a+self-portrait&ns%5B6%5D=1&templates_yes=Creator+template+no+image&templates_no=Creator+template%3A+ignore+this+selfportrait&doit=1 CatScan2] to find all the creator templates without images used within files which are in the [[:Category:Self-portraits]].</small>
* Corresponds to [[:d:Property:P18|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.
* Corresponds to {{P|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.
|12d-td-en=Image of the creator. Self-portraits are preferable.
|12d-td-en=Image of the creator. Self-portraits are preferable.
|12stat=optional
|12stat=optional


|13=Homecat
|13=Homecat
|13d=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 <nowiki>[[Category:Name Surname]]</nowiki>) to creator templates, since these will then be added to all the files and categories that use the template. <small>Find pages with homecat issues:
|13d=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 <nowiki>[[Category:Name Surname]]</nowiki>) to creator templates, since these will then be added to all the files and categories that use the template. <small>Find pages with homecat issues:</small>
*Biographical categories transcluding {{tl|Creator}} template which are not home categories: [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&categories=people_by_name&negcats=Creator_template_home_categories&ns%5b14%5d=1&templates_yes=Creator]</small>
*<small>Biographical categories transcluding {{tl|Creator}} template which are not home categories: [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&categories=people_by_name&negcats=Creator_template_home_categories&ns%5b14%5d=1&templates_yes=Creator]</small>
* Corresponds to [[:d:Propery:P910|P910 (topic's main category)]] on Wikidata
* Corresponds to {{P|P910}} on Wikidata
|13stat=required
|13stat=required


Line 356: Line 356:
|14d={{LangSwitch
|14d={{LangSwitch
|en=Home nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{tl|Nationality}} and {{tl|CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".
|en=Home nation of the person that determines nationality; not necessarily the same as country of birth, place of residence nor place of death. See {{tl|Nationality}} and {{tl|CountryAdjective}} for supported values. Dual nationalities are allowed, separate nationalities with "/".
|de=Heimatland der Person. Siehe {{tl|Nationality}} und {{tl|CountryAdjective}} für eine Liste der unterstützten Werte. Doppelte Nennungen sind erlaubt, trenne die Nationalitäten mit "/".
|de=Heimatland der Person. Siehe {{tl|Nationality}} und {{tl|CountryAdjective}} für eine Liste der unterstützten Werte. Doppelte Nennungen sind erlaubt, trenne die Nationalitäten mit "/".
|it=Nazionalità della persona. Vedi {{tl|Nationality}} e {{tl|CountryAdjective}} per i valori ammessi
|it=Nazionalità della persona. Vedi {{tl|Nationality}} e {{tl|CountryAdjective}} per i valori ammessi
}}
}}
* Corresponds to [[:d:Propery:P27|country of citizenship (P27)]] on Wikidata
* Corresponds to {{P|P27}} on Wikidata
|14def=
|14def=
|14stat=optional
|14stat=optional
Line 365: Line 365:
|15=Gender
|15=Gender
|15d={{LangSwitch
|15d={{LangSwitch
|en=Whether the individual is male or female (set the parameter to ''male'', ''female'', ''m'' or ''f'' accordingly). Used as input to {{tlx|NationAndOccupation}}.
|en=Whether the individual is male or female (set the parameter to ''male'', ''female'', ''m'' or ''f'' accordingly). Used as input to {{tlx|NationAndOccupation}}.
|de=Das Geschlecht der Person: ''f'' oder ''female'' bei einer Frau und ''m'' oder ''male'' bei einem Mann.
|de=Das Geschlecht der Person: ''f'' oder ''female'' bei einer Frau und ''m'' oder ''male'' bei einem Mann.
|it=Sesso della persona: ''f'' per una donna e ''m'' per un uomo
|it=Sesso della persona: ''f'' per una donna e ''m'' per un uomo
}}
}}
* Corresponds to [[:d:Propery:P21|sex or gender (P21)]] on Wikidata
* Corresponds to {{P|P21}} on Wikidata
|15def=
|15def=
|15stat=optional
|15stat=optional
Line 379: Line 379:
|it=Nome inglese della [[:it:professione|professione]]. Vedi {{tl|Occupation}} per i valori supportati. Pagine che usano valori non supportati verranno indicate nella [[:Category:Pages using Occupation template with incorrect parameters]].
|it=Nome inglese della [[:it:professione|professione]]. Vedi {{tl|Occupation}} per i valori supportati. Pagine che usano valori non supportati verranno indicate nella [[:Category:Pages using Occupation template with incorrect parameters]].
}}
}}
* Corresponds to [[:d:Propery:P106|occupation (P106)]] on Wikidata
* Corresponds to {{P|P106}} on Wikidata
|16def=
|16def=
|16stat=optional
|16stat=optional
Line 390: Line 390:


|18=Linkback
|18=Linkback
|18d=name of [[:Category:Creator templates|specialized Creator: page]] used to provide a link back to it. If provided, then an icon [[File:Icons-mini-icon link.gif]] will be shown in the top line after the name. Clicking this icon will bring user to the proper Creator: page.
|18d=name of [[:Category:Creator templates|specialized Creator: page]] used to provide a link back to it. If provided, then an icon [[File:Blue pencil.svg|15px]] 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 [[:d:Property:P1472|Commons Creator page (P1472)]] for sanity checking.
* Internal, nothing on Wikidata. We could use {{P|P1472}} for sanity checking.
|18def=
|18def=
|18stat=required
|18stat=required


|19=Wikisource
|19=Wikisource
|19d=link to related Wikisource page(s), mostly useful for writers. Use "[[s:pl:Autor:Adam Mickiewicz]]" notation. eg.: <tt><nowiki>|Wikisource=s:pl:Autor:Adam Mickiewicz</nowiki></tt>. Please use {{tl|LangSwitch}} if author was writing in several languages, for example <tt><nowiki>"|Wikisource = {{LangSwitch|en=s:en:Author:Joseph Conrad|fr=s:fr:Auteur:Joseph_Conrad|pl=s:pl:Autor:Joseph Conrad}}"</nowiki></tt>
|19d=link to related Wikisource page(s), mostly useful for writers. Use "[[s:pl:Autor:Adam Mickiewicz]]" notation. eg.: <code><nowiki>|Wikisource=s:pl:Autor:Adam Mickiewicz</nowiki></code>. Please use {{tl|LangSwitch}} if author was writing in several languages, for example <code><nowiki>"|Wikisource = {{LangSwitch|en=s:en:Author:Joseph Conrad|fr=s:fr:Auteur:Joseph_Conrad|pl=s:pl:Autor:Joseph Conrad}}"</nowiki></code>
* Corresponds to Wikidata item description.
* Corresponds to Wikidata item description.
|19def=
|19def=
Line 408: Line 408:


|21=Wikidata
|21=Wikidata
|21d=link to related Wikidata page(s). Enter the item Identifier without enclosing brackets, eg.: <tt><nowiki>|Wikidata=Q41406</nowiki></tt>. Entering keyword "Create" will show [[File:Commons to Wikidata QuickStatements.svg|20px]] arrow which will allow you to create a new Wikidata item and copy many of the properties to it.
|21d=link to related Wikidata page(s). Enter the item Identifier without enclosing brackets, eg.: <code><nowiki>|Wikidata=Q41406</nowiki></code>. Entering keyword "Create" will show [[File:Commons to Wikidata QuickStatements.svg|20px]] 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
* That's the item where we're grabbing all the Wikidata information from
|21def=
|21def=
Line 414: Line 414:


|22=Authority
|22=Authority
|22d=[[:en:Authority control|Authority control]] data displayed using a call to {{tlx|Authority control|2=...|3=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. <small>Find pages with authority control issues:
|22d=[[:en:Authority control|Authority control]] data displayed using a call to {{tlx|Authority control|2=...|3=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. <small>Find pages with authority control issues:</small>
*Creator templates with {{tl|Authority control}} template without "bare=1" option [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b100%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]
*<small>Creator templates with {{tl|Authority control}} template without "bare=1" option [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b100%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]</small>
*Creator home categories with {{tl|Authority control}} added to both category and creator template[http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1=1&templates_yes=Authority+control+tag%3A+bare%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]
*<small>Creator home categories with {{tl|Authority control}} added to both category and creator template[http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1=1&templates_yes=Authority+control+tag%3A+bare%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]</small>
*Creator home categories with {{tl|Authority control}} added to the category instead creator template [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]
*<small>Creator home categories with {{tl|Authority control}} added to the category instead creator template [http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]</small>
*All of above plus other issues[http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1&ns%5b100%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]</small>
*<small>All of above plus other issues[http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&depth=1&ns%5b14%5d=1&ns%5b100%5d=1&templates_yes=Creator%0D%0AAuthority+control+tag%3A+stand-alone&doit=1]</small>
* Wikidata part is handled in the authority control template
* Wikidata part is handled in the authority control template
|22def=
|22def=
|22stat=deprecated
|22stat=deprecated


|23=Type
|23=Type
|23d=Allows tagging and categorizing of unusual creator templates:
|23d=Allows tagging and categorizing of unusual creator templates:
<table border>
<table border>
<tr><th>Value</th><th>Description</th><th>Category</th></tr>
<tr><th>Value</th><th>Description</th><th>Category</th></tr>
<tr><td>commons user</td><td>For people directly contributing to Commons, aka Commons [[:Category:Users|users]]. For templates of this type only minimal parameter validation will be performed.</td><td>[[:Category:User creator templates]]</td></tr>
<tr><td>commons user</td><td>For people directly contributing to Commons, aka Commons [[:Category:Users|users]]. For templates of this type only minimal parameter validation will be performed.</td><td>[[:Category:User creator templates]]</td></tr>
<tr><td>corporation</td><td>company or any other formally organized group</td><td>[[:Category:Corporate creator templates]]</td></tr>
<tr><td>corporation</td><td>company or any other formally organized group</td><td>[[:Category:Corporate creator templates]]</td></tr>
<tr><td>group</td><td>group 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]])</td><td>[[:Category:Group creator templates]]</td></tr>
<tr><td>group</td><td>group 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]])</td><td>[[:Category:Group creator templates]]</td></tr>
<tr><td>person</td><td>default type</td><td></td></tr>
<tr><td>person</td><td>default type</td><td></td></tr>
</table>
</table>
* No corrosponding Wikidata property.
* No corresponding Wikidata property.
|23def=person
|23def=person
|23stat=optional-
|23stat=optional-


|25=ImgWidth
|25=ImgWidth
|25d=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).
|25d=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).
|25def=100
|25def=100
|25stat=optional-
|25stat=optional-


|26=References
|26=References
|26d=Links and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be [[:en:Wikipedia:Verifiability|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.
|26d=Links and other references used for creators without Wikipedia articles. Just as in Wikipedia all the data in this template should be [[w:en:Verifiability|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.
|26def=
|26def=
|26stat=optional-
|26stat=optional-
Line 448: Line 448:
|27=Option
|27=Option
|27d=Template {{tl|Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. ''Option'' parameter should always be set to <code><nowiki>|option = {{{1|}}}</nowiki></code> and is used to pass information from users of the custom templates to the {{tl|Creator}} template code. For example if one calls <nowiki>{{</nowiki>[[Creator:Paul Cézanne]]<nowiki>|1234}}</nowiki>, the "1234" will be passed as argument ''option'' to the {{tl|Creator}} template. Many ''options'' have specific meaning to the {{tl|Creator}} template:
|27d=Template {{tl|Creator}} is mostly used to create custom templates in "Creator" namespace specific to a single person. ''Option'' parameter should always be set to <code><nowiki>|option = {{{1|}}}</nowiki></code> and is used to pass information from users of the custom templates to the {{tl|Creator}} template code. For example if one calls <nowiki>{{</nowiki>[[Creator:Paul Cézanne]]<nowiki>|1234}}</nowiki>, the "1234" will be passed as argument ''option'' to the {{tl|Creator}} template. Many ''options'' have specific meaning to the {{tl|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", and "near"<ref name="infonear">The option ''near'' generates "'''Attributed to an artist near the'''"</ref>. will be translated to user's language and merged with author's name.
* 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"<ref name="infonear">The option ''near'' generates "'''Attributed to an artist near the'''"</ref>, "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
* "collapse" will result in creator template being initially collapsed
* "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
* "autocategorize" will result in creator template adding automatically generated parent categories to home-categories.
Line 455: Line 455:
|28=Lifespan
|28=Lifespan
|28label-en=Lifespan
|28label-en=Lifespan
|28d=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.
|28d=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.
|28def=
|28def=
|28stat=optional
|28stat=optional
Line 463: Line 463:
|type=marker
|type=marker
|example=
|example=
|i18n-method=mediawiki-msg
|i18n-method=mediawiki-msg
|i18n-desc=
|i18n-desc=
|seealso=
|seealso=
*[[Commons:Creator]]
*[[Commons:Creator]]
*{{tl|Institution}} - similar template for institutions
*{{tl|Institution}} similar template for institutions
*[https://tools.wmflabs.org/wikidata-todo/creator_from_wikidata.php Creator from wikidata] tool
*[https://tools.wmflabs.org/wikidata-todo/creator_from_wikidata.php Creator from wikidata] tool
*[[Template:Editnotices/Namespace/Creator]] - Preloaded text which will show up above edit window while editing pages in Creator: namespace.
*[[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.
*[[Template:Creator/preload]] Page used to preload pages in Creator namespace.
|print=infobox
|print=infobox
|shorthand=
|shorthand=
Line 493: Line 493:
= Template Tags =
= Template Tags =
This template adds several template tags (empty templates which can be traced) to images meeting some criteria:
This template adds several template tags (empty templates which can be traced) to images meeting some criteria:
*{{tl|Works of authors who died more than 100 years ago}}
*{{tl|Works of authors who died more than 100 years ago}}
*{{tl|Works of authors who died more than 70 years ago}}
*{{tl|Works of authors who died more than 70 years ago}}
*{{tl|Works of authors who died less than 65 years ago}}
*{{tl|Works of authors who died less than 65 years ago}}
*{{tl|Creator template no image}}
*{{tl|Creator template no image}}
All of them are used for maintenance tasks. They are a little like real hidden categories.
All of them are used for maintenance tasks. They are a little like real hidden categories.
----
----
<references />
<references />

Latest revision as of 19:13, 15 December 2023

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 Aix-en-Provence
    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 and postage stamp designer
    Date of birth/death 15 May 1848 (3 May 1848 in Julian calendar) 23 June 1926
    Location of birth/death Lop’jal in Vyatka Governorate Moscow
    Work location
    Authority file
    creator QS:P170,Q204138

    has source code:

    {{Creator
     | 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}}}}
     | Deathdate         = 1926-06-23
     | Workloc           = {{Moscow}}, {{Kiev}}
     | Linkback          = Creator:Viktor Vasnetsov
     | Wikidata          = Q204138
     | 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"