Template talk:Creator

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Info non-talk.svg Template:Creator has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.
Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them.

Statistics (Please do not archive)[edit]

Date Number of Creator templates Number of Files using Creator template
6430 281k
7488 321k
8698 379k
10,285 452k
15,441 872k
24,783 1457k

Graph based on quarry:query/25334

Only says "birth" even if also death-info[edit]

The following:

 | Name              = Fortuné Méaulle
 | Birthdate         = 1844-04-11
 | Birthloc          = Angers
 | Deathyear         = 1901
 | Deathloc          = 

displays as:

Fortuné Méaulle (1844–1901) Link back to Creator infobox template

Less precise birth date ≠ mismatch[edit]

Creator:Johann Weikhard von Valvasor has as local birth date "May 1641", Wikidata has "28 May 1641", still it is sorted into Category:Creator templates with Wikidata link: mismatching birthdate. Thanks in advance for any improvements! --Marsupium (talk) 15:44, 6 October 2018 (UTC)

Missing localized description[edit]

https://commons.wikimedia.org/w/index.php?title=Creator:Anders_Beer_Wilse&uselang=nb has description=norsk photographer (an untranslated occupation), while for example https://commons.wikimedia.org/w/index.php?title=Creator:Anders_Beer_Wilse&uselang=nn has the correct description=norsk fotograf. Where do I translate the word “photographer” into “fotograf” for Norsk Bokmål? Regards, Kjetil_r 18:59, 3 November 2018 (UTC)

Kjetil_r, The localization of nationalities is done through [[Module:]] and it happens in 2 places:
  • for inputs provided through the template the occupation is translated through {{Occupation}}, with Wikidata as fallback
  • for inputs provided through the Wikidata item the occupation is translated through entries on Wikidata, like photographer (Q33231)
but {{NationAndOccupation|wikidata=Q144339|lang=nb}} gets the right answer "norsk fotograf". So it must be a bug in Module:Creator. --Jarekt (talk) 14:57, 5 November 2018 (UTC)

NARA ID displayed twice[edit]

The US National Archives Identifier ID (d:Q29896325) displays twice in the Creator template with two different abbreviations: see for instance Creator:Ansel Adams and Creator:Jack Kightlinger with duplicate values and external links for "NAID" and "NARA". --Animalparty (talk) 07:23, 14 February 2019 (UTC)


As currently implemented, the page Creator:John Doe created with this template is automatically categorized into Category:John Doe. In some cases this is incorrect (for example, see Category:Alexander Binder). Instead, the Creator page should belong to the category identified by the "Commons category" property of the Wikidata item. --R'n'B (talk) 22:00, 26 February 2019 (UTC)

This can be circumvented by adding |Homecat = Alexander Binder (photographer) to Creator:Alexander Binder. --Animalparty (talk) 01:01, 27 February 2019 (UTC)

Calculate how many years ago the creator died and what copyright restrictions apply and display in the creator template.[edit]

Have the template calculate and display "Lars Persson died 82 years ago. Their works are in the public domain in their country of origin and other countries and areas where the copyright term is the author's life plus 70 years or less."

— Preceding unsigned comment added by Richard Arthur Norton (1958- ) (talk • contribs) 12:58, 15 March 2019‎ (UTC)
This is not necessary as this can be done directly using the data from Wikidata. Example for {{PD-old-auto}} for Sarah Purser whose wikidata entry is Sarah Purser (Q7422719) where date of death (P570) delivers . This can be combined to the following construct
{{PD-old-auto |deathyear={{Str left|{{Ymd|1={{Data|item=Q7422719|property=P570|displayformat=raw}}}}|4}}}}
where {{Data}} fetches a property for a Wikidata entry, displayformat=raw suppresses the conversion to a human-readable format, {{Ymd}} converts it to the standard format YYYY-MM-DD, and {{Str left}} picks the first four characters, i.e. YYYY. There is no need to burden the {{Creator}} template with this as nowadays all these templates fetch the data from Wikidata whenever possible. --AFBorchert (talk) 17:29, 15 March 2019 (UTC)