Template:Creator/documentation: Difference between revisions
m langSwitch rather than mld, because otherwise we get a "choose language" menu for just one sentence, and it is distracting |
→Changing template content on Wikidata: tweak grammar / punctuation a bit |
||
(47 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
{{TemplateBox |
{{TemplateBox |
||
|1=1 |
|1=1 |
||
|1label-en=option |
|||
|1d=template parameter "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. |
|||
|1label-de=Option |
|||
|1d-en=Additional phrase to add to the creator's name (in current language) which clarifies their sometimes indirect role. Possible phrases are: "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", "possibly", "probably", "presumably". Adding one of those keywords will add those phrases to the author's name in current language. |
|||
Keyword "autocategorize" will add categories when creator template is transcluded in the home-category. |
|||
|1d-de=Zusätzliche Phrase, der dem Namen des Creators (in der aktuellen Sprache) hinzugefügt wird, um die manchmal indirekte Beteiligung zu erklären. Mögliche Phrasen sind: "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", "possibly", "probably", "presumably". Wenn man eine dieser Phrasen hinzufügt, werden sie in der aktuellen Sprache an den Namen des Creators angehängt. |
|||
Die Phrase "autocategorize" fügt Kategorien hinzu, wenn die Creator-Vorlage in der Home-Kategorie eingebunden wird. |
|||
|1type=line |
|||
|1stat=optional- |
|1stat=optional- |
||
|name={{FULLPAGENAME}} |
|name={{FULLPAGENAME}} |
||
|desc-en=Creator page template, created by filling parameters of {{tl|Creator}}, is intended for author/artist field of {{tl|Information}}, {{tl|Artwork}}, {{tl|Art Photo}} and {{tl|Book}} templates |
|||
⚫ | |||
|en=Creator page template, intended for author/artist field of {{ |
|desc-td-en=<nowiki>Creator page template, created by filling parameters of {{Creator}}, is intended for author/artist field of {{Information}}, {{Artwork}}, {{Art Photo}} and {{Book}} templates</nowiki> |
||
|fr=Modèle pour les pages « |
|desc-fr=Modèle pour les pages « Creator », pour les champs auteur/artiste des modèles {{tl|Information}}, {{tl|Artwork}}, {{tl|Art Photo}} et {{tl|Book}} |
||
|desc-td-fr=<nowiki>Modèle pour les pages « Creator », pour les champs auteur/artiste des modèles {{Information}}, {{Artwork}}, {{Art Photo}} et {{Book}}</nowiki> |
|||
⚫ | |||
|desc-de=Diese Vorlage für die „Creator“-Seiten wird erstellt, indem man die Parameter von {{tl|Creator}} ausfüllt. Sie soll in den Feldern Autor/Urheber/Künstler/Übersetzer/Illustrator der Vorlagen {{tl|Information}}, {{tl|Artwork}}, {{tl|Art Photo}} und {{tl|Book}} verwendet werden. |
|||
|desc-td-de=<nowiki>Diese Vorlage für die „Creator“-Seiten wird erstellt, indem man die Parameter von {{Creator}} ausfüllt. Sie soll in den Feldern Autor/Urheber/Künstler/Übersetzer/Illustrator der Vorlagen {{Information}}, {{Artwork}}, {{Art Photo}} und {{Book}} verwendet werden.</nowiki> |
|||
|namespace=all |
|namespace=all |
||
|usergroup=all |
|usergroup=all |
||
|usage-notes= |
|usage-notes=for parameters see: {{tl|Creator}} |
||
|type= |
|type= |
||
|example= |
|example= |
||
Line 16: | Line 27: | ||
|i18n-desc= |
|i18n-desc= |
||
|seealso={{tl|Creator}} |
|seealso={{tl|Creator}} |
||
|setscats=[[:Category:Creator template maintenance]]; [[:Category:Bad use of creator template - option]] |
|||
|setscats= |
|||
|lines=one |
|lines=one |
||
|shorthand= |
|shorthand= |
||
|useTemplateData=only |
|||
⚫ | |||
⚫ | |||
|en= |
|||
== Changing template content on Wikidata == |
|||
If the template above shows the logo [[File:Notification-icon-Wikidata-logo.svg|30px]], then it is connected to Wikidata, and all the information displayed in the template which is not specified on Commons is specified on {{w|Wikidata}}. In order to modify it, please click the [[File:Notification-icon-Wikidata-logo.svg|30px]] logo in the template above and modify it there. See below for table of which {{w|Wikidata}} properties are used by [[Module:Creator]] to construct the infobox. |
|||
|de= |
|||
== Vorlageninhalte in Wikidata ändern == |
|||
Wenn die obige Vorlage das Logo [[File:Notification-icon-Wikidata-logo.svg|30px]] zeigt, dann ist sie mit Wikidata verbunden. Dann stammen alle Informationen, die in der Vorlage angezeigt werden und nicht von Commons kommen, von {{wd|Wikidata}}. Um diese Informationen zu ändern, klicke bitte in der obigen Vorlage auf das Logo [[File:Notification-icon-Wikidata-logo.svg|30px]] und ändere die Informationen dort. In der unten stehenden Tabelle werden die {{wd|Wikidata}}-Eigenschaften angezeigt, die vom [[Module:Creator]] verwendet werden, um die Infobox zu erzeugen. |
|||
}} |
|||
{{Creator/old |
|||
| Name = [[d:Help:Label|Item Label]] |
|||
| Alternative names = [[d:Help:Aliases|Aliases]], {{P|P742}}, {{P|P1477}}, {{P|P1782}}, {{P|P1787}} |
|||
| Nationality = |
|||
| Gender = |
|||
| Occupation = |
|||
| Description = Other properties used by Creator template: |
|||
* To construct ''Description'' field: |
|||
**{{P|27}}, {{P|172}} → nationality |
|||
**{{P|21}} → gender |
|||
**{{P|106}} → occupation |
|||
*Other fields |
|||
**{{P|734}}, {{P|735}} → sortkey |
|||
**{{P|18}} → image |
|||
**{{P|373}} → homecat |
|||
**{{P|1472}} → linkback |
|||
| Birthdate = {{P|569}} or {{P|1636}} |
|||
| Birthloc = {{P|19}} |
|||
| Deathdate = {{P|570}} or {{P|4602}} |
|||
| Deathloc = {{P|20}} |
|||
| Workperiod = {{P|2031}}, {{P|2032}}, {{P|1317}} |
|||
| Workloc = {{P|937}} |
|||
| Image = |
|||
| Sortkey = |
|||
| Homecat = |
|||
| Option = {{{1|}}} <!-- Do not modify --> |
|||
| Linkback = d:Property:P1472 |
|||
| Wikidata = |
|||
}} |
}} |
||
⚫ | |||
⚫ | |||
[[Category: |
[[Category:Multi-template documentation|{{PAGENAME}}]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 15:53, 8 March 2024
Creator page template, created by filling parameters of {{Creator}}, is intended for author/artist field of {{Information}}, {{Artwork}}, {{Art Photo}} and {{Book}} templates
The template automatically sets the following categories: Category:Creator template maintenance; Category:Bad use of creator template - option
Usage
{{Template:Creator/documentation}}
for parameters see: {{Creator}}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Creator page template, created by filling parameters of {{Creator}}, is intended for author/artist field of {{Information}}, {{Artwork}}, {{Art Photo}} and {{Book}} templates
Parameter | Description | Type | Status | |
---|---|---|---|---|
option | 1 | Additional phrase to add to the creator's name (in current language) which clarifies their sometimes indirect role. Possible phrases are: "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", "possibly", "probably", "presumably". Adding one of those keywords will add those phrases to the author's name in current language. Keyword "autocategorize" will add categories when creator template is transcluded in the home-category. | Line | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Changing template content on Wikidata
If the template above shows the logo , then it is connected to Wikidata, and all the information displayed in the template which is not specified on Commons is specified on Wikidata. In order to modify it, please click the logo in the template above and modify it there. See below for table of which Wikidata properties are used by Module:Creator to construct the infobox.
Item Label | |||
---|---|---|---|
Alternative names | Aliases, pseudonym (P742), birth name (P1477), courtesy name (P1782), art name (P1787) | ||
Description |
Other properties used by Creator template:
|
||
Date of birth/death | date of birth (P569) or date of baptism (P1636) | date of death (P570) or date of burial or cremation (P4602) | |
Location of birth/death | place of birth (P19) | place of death (P20) | |
Work period | work period (start) (P2031), work period (end) (P2032), floruit (P1317) | ||
Work location | work location (P937) |