Template:PD-old-auto-1996/doc: Difference between revisions
More actions
No edit summary |
Fix language-code links to use Wikipedia interwiki prefixes |
||
| (7 intermediate revisions by 4 users not shown) | |||
| Line 3: | Line 3: | ||
|1d-en = Year of author's death. | |1d-en = Year of author's death. | ||
|1label = death year | |1label = death year | ||
|1aliases = | |1aliases = 1 | ||
|1type = number | |1type = number | ||
|1def = | |1def = | ||
| Line 9: | Line 9: | ||
|2 = country | |2 = country | ||
|2d-en = Home or source country (country of origin) of the work. Country name in English language or two letter [[ | |2d-en = Home or source country (country of origin) of the work. Country name in English language or two letter [[w:Country code|Country code]] according to [[w:ISO 3166-1 alpha-2|ISO 3166-1 alpha-2]]. Country is being displayed and is also used to look-up URAA date (using {{tl|URAA-date}}) | ||
|2label = source country | |2label = source country | ||
|2aliases = <!-- List of aliases, separated by / (a slash) --> | |2aliases = <!-- List of aliases, separated by / (a slash) --> | ||
| Line 25: | Line 25: | ||
|name= | |name= | ||
|desc=This is an enhanced version of [[Template:PD-1996]] to show how long ago authors died. Depending on the deathyear given, it chooses {{tl|PD-old- | |desc=This is an enhanced version of [[Template:PD-1996]] to show how long ago authors died. Depending on the deathyear given, it chooses {{tl|PD-old-80-1996}}, {{tl|PD-old-100-1996}} etc. If the date given is less than 50 years ago, {{tl|PD-1996}} is applied. | ||
|namespace=File | |namespace=File | ||
| Line 39: | Line 39: | ||
|i18n-desc=Only error messages are contained in this template. (They could be localised with LangSwitch or some other way...) | |i18n-desc=Only error messages are contained in this template. (They could be localised with LangSwitch or some other way...) | ||
|seealso= | |seealso= | ||
|setscats= | |setscats=[[:Category:PD Old auto: no death date]] if required "deathyear" is missing | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
|relieson={{tl|PD-old-X-1996}} | |relieson= | ||
* {{tl|Years since}} | |||
* {{tl|PD-old-X-1996}} | |||
* {{tl|PD-1996}} | |||
}} | }} | ||
| Line 50: | Line 53: | ||
[[Category:PD-old license tags| old-auto-1996]] | [[Category:PD-old license tags| old-auto-1996]] | ||
[[Category:PD US+source license tags| old-auto-1996]] | [[Category:PD US+source license tags| old-auto-1996]] | ||
[[Category:Primary license tags (flat list)]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 18:45, 12 August 2026
This is an enhanced version of Template:PD-1996 to show how long ago authors died. Depending on the deathyear given, it chooses {{PD-old-80-1996}}, {{PD-old-100-1996}} etc. If the date given is less than 50 years ago, {{PD-1996}} is applied.
The template automatically sets the following categories: Category:PD Old auto: no death date if required "deathyear" is missing
Usage
{{PD-old-auto-1996/doc |deathyear= |country= }}
{{PD-old-auto-1996|country=country|date=URAA date|reason=reason|deathyear=deathyear}}. If country is not given, it is not mentioned in the rendering of this template. date gives "January 1, 1996 for most countries" by default, and the reason defaults to the Note shown above. See Non-U.S. copyrights for a per-country list of URAA dates.
See e.g. Image:Spelterini Al Ashraf.jpg for example usage of this template.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
deathyear1 | death year | Year of author's death. | empty | required |
country | source country | Home or source country (country of origin) of the work. Country name in English language or two letter Country code according to ISO 3166-1 alpha-2. Country is being displayed and is also used to look-up URAA date (using {{URAA-date}}) | empty | optional |
reason | reason | Reason the image was in Public domain in the source country at the URAA date (January 1, 1996 for most countries). | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Relies on:
Example
{{PD-old-auto-1996/doc|country=fr|deathyear=1937}}
renders as:
The author died in 1937, so this work is in the public domain in its country of origin and other countries and areas where the copyright term is the author's life plus 80 years or fewer. This work is in the public domain in the United States because it meets three requirements:
For background information, see the explanations on Non-U.S. copyrights. Note: in addition to this statement, there must be a statement on this page explaining why the work was PD on the URAA date in its source country. Additionally, there must be verifiable information about previous publications of the work. | |
| This file has been identified as being free of known restrictions under copyright law, including all related and neighboring rights. | |
Localization
This template is not intended to be localized.
Only error messages are contained in this template. (They could be localised with LangSwitch or some other way...)