Template:Creator/documentation: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
→‎Changing template content on Wikidata: tweak grammar / punctuation a bit
 
(26 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|1=1
|1=1
|1label-en=option
|1d=template parameter "workshop of", "circle of", "school of", "or follower", "or workshop", "and workshop", "attributed to", "after", "formerly attributed to", "follower of", "manner of", or "near" 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
|desc={{langSwitch
|en=Creator page template, intended for author/artist field of {{tl|Information}}, {{tl|Artwork}} and {{tl|Book}} templates
|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 « Creator », pour les champs auteur/artiste des modèles {{tl|Information}}, {{tl|Artwork}} et {{tl|Book}}
|desc-fr=Modèle pour les pages «&#160;Creator&#160;», 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 «&#160;Creator&#160;», 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
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
}}
{{langSwitch
|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 =
}}
}}
__NOTOC__<noinclude>


__NOTOC__<noinclude>
[[Category:Template documentation]]
[[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>JSON</templatedata> ./. {{TemplateBox}}
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.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
option1

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.

Lineoptional

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.