Template:Creator/doc: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
| Sortkey = Surname, Name |
| Sortkey = Surname, Name |
||
| Homecat = Name Surname |
| Homecat = Name Surname |
||
| Option = {{{Option|}} <!-- Do not modify --> |
|||
}} |
}} |
||
</pre> |
</pre> |
||
Line 83: | Line 84: | ||
|12stat=optional |
|12stat=optional |
||
|13=Option |
|13=Option |
||
|13d=Variable to be passed from creator page. Option equal "workshop of", "school of", "circle of" will add those phrases to the author's name in current language. |
|13d=Variable to be passed from creator page. Option equal "workshop of", "school of", "circle of", "Attributed to", "After", "formerly attributed to" and "follower of" will add those phrases to the author's name in current language. |
||
|13stat=optional |
|13stat=optional |
||
|namespace=Creator |
|namespace=Creator |
Revision as of 03:06, 12 October 2010
{{Creator}} creates an infobox to be customized on Creator: namespace pages and used on File and Category namespace pages.
- This template will categorize into Category: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.
Copy and paste section
When creating a new Creator page copy, paste and fill the text below into your new page:
{{Creator | Name = Name Surname | Alternative names = | Description = <!-- {{NationAndOccupation|m|xx|xxxx}} --> | Birthdate = | Birthloc = | Deathdate = | Deathloc = | Workperiod = | Workloc = | Image = | Sortkey = Surname, Name | Homecat = Name Surname | Option = {{{Option|}} <!-- Do not modify --> }}
As an alternative to copying and pasting, you may use the following box :
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.
Usage
{{Creator
|Name =
|Alternative names =
|Sortkey =
|Birthdate =
|Deathdate =
|Birthloc =
|Deathloc =
|Workperiod =
|Workloc =
|Image =
|Homecat =
|Description =
|Option =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
Name | Name of the creator in the Name Surname format (most of the time it should be the same as page name). Provide single most commonly used version of the name in English literature. Could use English Wikipedia as a guide to choose it. Template automatically tries to add links to Commons gallery if possible. If no gallery with that name exist try linking to one of Wikipedias if possible. Avoid using Language templates in this section. Use of {{LangSwitch}} is also possible and encouraged for names where original name did not use Latin alphabet. In case of the names like "Name Surname the Elder" or "Name Surname the Younger" use {{Name}} template with elder/younger options. | empty | required | |
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 | Name of the creator in Surname, Name format to be used for sorting creator templates. This parameter will be used only for sorting and is not going to be displayed. | empty | required | |
Birthdate | Date of birth:
| empty | optional | |
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: usually a city name with a link to the location's page:
| empty | optional | |
Deathloc | Death location. See Birthloc for datails. | empty | optional | |
Workperiod | Time period when the creator was active. | empty | optional | |
Workloc | Location(s) where the creator was active. See Birthloc for datails. | empty | optional | |
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 | Creator template home category - used to categorize the creator page without categorizing images using it. Creator pages should be categorized only using Homecat parameter only. Please do not add categories like [[Category:Name Surname]] since those would be added to all the files and categories using the template. | empty | required | |
Description | Short description of the person. For example: {{NationAndOccupation|m|GB|painter}} would give "British painter" and: {{NationAndOccupation|f|IT|photographer}} would give "Italian photographer". | empty | optional | |
Option | Variable to be passed from creator page. Option equal "workshop of", "school of", "circle of", "Attributed to", "After", "formerly attributed to" and "follower of" will add those phrases to the author's name in current language. | 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
See also
- Help:Creator
- {{No creator infobox}}
- MediaWiki:Editnotice-100 - Preloaded text which will show up above edit window while editing pages in Creator: namespace.
Localization
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Creator/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang
from en
(or whatever language you are translating) to the language code of your language.
Translation
To create a new language version of this template, create a new subpage of Template:Creator, cut and paste code below and translate terms on the right side of the equal signs which are not in {{{}}} parenthesis.
{{Creator/layout | Name = {{{Name}}} | Alternative names label = Alternative names | Alternative names = {{{Alternative names|}}} | Description label = Description | Description = {{{Description|}}} | Birth and deathdate label = Date of birth/death | Birthdate = {{{Birthdate|}}} | Deathdate = {{{Deathdate|}}} | Birth and deathloc label = Location of birth/death | Birthloc = {{{Birthloc|}}} | Deathloc = {{{Deathloc|}}} | Workperiod label = Work period | Workperiod = {{{Workperiod|}}} | Workloc label = Work location | Workloc = {{{Workloc|}}} | Image = {{{Image|}}} | lang = {{subst:SUBPAGENAME}} }}<noinclude> {{translated tag|infobox}} </noinclude>
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 | Description = {{NationAndOccupation|m|FR|painter}} | Sortkey = Cezanne, Paul | Name = [[Paul Cézanne]] | Alternative names = | Birthdate = 1839-01-19 | Birthloc = [[Aix-en-Provence]] | Deathdate = 1906-10-23 | Deathloc = [[Aix-en-Provence]] | Workperiod = | Workloc = {{Paris}}, [[Auvers-sur-Oise]], [[Aix-en-Provence]], {{city|Marseille}} | Image = Paul Cézanne 160.jpg | Homecat = Paul Cézanne }}
Creator:Viktor Vasnetsov, rendered as
Viktor Vasnetsov (1848–1926) | |||
---|---|---|---|
Alternative names | English: Viktor Mikhailovich Vasnetsov Deutsch: Wiktor Michailowitsch Wasnezow Русский: Виктор Михайлович Васнецов | ||
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 |
|
has source code:
{{Creator | Image = Wiktor Michajlowitsch Wassnezow 003.jpg | Sortkey = Vasnetsov, Viktor | Name = {{LangSwitch <!-- Need LangSwitch to show the name in the local language --> |de=[[:de:Wiktor Michailowitsch Wasnezow|Wiktor Michailowitsch Wasnezow]] |fr=[[:fr:Viktor Vasnetsov|Viktor Vasnetsov]] |mk=[[:mk:Виктор Михајлович Васнецов|Виктор Михајлович Васнецов]] |pt=[[:pt:Viktor Vasnetsov|Viktor Vasnetsov]] |ru=[[:ru:Васнецов, Виктор Михайлович|Виктор Михайлович Васнецов]] |uk=[[:uk:Васнецов Віктор Михайлович|Віктор Михайлович Васнецов]] |en=[[:en:Viktor Vasnetsov|Viktor Vasnetsov]] }} (1848-1926) <!-- Need to add lifetime period by hand --> | Alternative names = {{ru|Виктор Михайлович Васнецов}}{{de|Wiktor Michajlowitsch Wassnezow}}{{en|Viktor Mikhailovich Vasnetsov}} <!-- Few major name variant shown --> | Description = {{NationAndOccupation|m|RU|painter}} | Birthdate = {{other date|Julian|1848-05-15|1848-05-03}} <!-- Date using two calendars --> | Birthloc = {{RelativeLocation|{{LangSwitch|en=Lop’jal|mk=Лопјал|ru=Лопьял}}|in|{{city|Vyatka Province}}}} | Deathdate = 1926-06-23 | Deathloc = {{city|Moscow}} | Workperiod = | Workloc = {{city|Moscow}}, {{city|Kiev}} | Homecat = Wiktor Michajlowitsch Wassnezow }}
Note that a wrong date format can give strange results at the top:
{{Creator | Description = {{NationAndOccupation|m|FR|painter}} | Sortkey = Cezanne, Paul | Name = [[Paul Cézanne]] | Alternative names = | Birthdate = 1839+01+19 | Birthloc = [[Aix-en-Provence]] | Deathdate = 1906+10+23 | Deathloc = [[Aix-en-Provence]] | Workperiod = | Workloc = {{Paris}}, [[Auvers-sur-Oise]], [[Aix-en-Provence]], {{city|Marseille}} | Image = Paul Cézanne 160.jpg | Homecat = Paul Cézanne }}
gives
Paul Cézanne | |||
---|---|---|---|
Description | French painter | ||
Date of birth/death | 1839+01+19 | 1906+10+23 | |
Location of birth/death | Aix-en-Provence | Aix-en-Provence | |
Work location |