Template:PD-two

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This work is in the public domain in its source country for the following reason:
Public domain

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 70 years or fewer.


This file has been identified as being free of known restrictions under copyright law, including all related and neighboring rights.
This work is in the public domain in the United States for the following reason:
Public domain
This work is in the public domain in the United States because it was published (or registered with the U.S. Copyright Office) before January 1, 1929.
This file has been identified as being free of known restrictions under copyright law, including all related and neighboring rights.

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:PD-two/doc.

This template can be used when a non-US work is in the public domain in both the source country and the US, as is required by Commons:Licensing. (For US works, {{PD-old-auto-expired}} does a similar job for some common situations.)

Usage

{{PD-two |1= |2= }}

Template parameters

ParameterDescriptionDefaultStatus
1source country licenseThe license to use for the source country, like PD-old, PD-anon-70, or PD-Canada.PD-oldoptional
2US licenseThe license to use for the United States, like PD-US-expired, PD-US-no notice, or PD-US-not renewed.PD-US-expiredoptional
deathyearyear of the author's deathIf a license such as {{PD-old-auto}} is used, then this parameter can be used to pass the year of the author's death to that template.emptyoptional
publicationyear of publicationIf a license such as {{PD-anon-auto-1996}} is used, then this parameter can be used to pass the year of the publication of the work to that template.emptyoptional
<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.


Wikipedia's help about TemplateDataCommons-specific information

This template can be used when a non-US work is in the public domain in both the source country and the US, as is required by https://commons.wikimedia.org/wiki/Commons:Licensing. (For US works, {{PD-old-auto-expired}} does a similar job for some common situations.)

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
source country license1

The license to use for the source country, like PD-old, PD-anon-70, or PD-Canada.

Default
PD-old
Templateoptional
US license2

The license to use for the United States, like PD-US-expired, PD-US-no notice, or PD-US-not renewed.

Default
PD-US-expired
Templateoptional
year of the author's deathdeathyear

If a license such as “PD-old-auto” is used, then this parameter can be used to pass the year of the author's death to that template.

Unknownoptional
year of publicationpublication

If a license such as “PD-anon-auto-1996” is used, then this parameter can be used to pass the year of the publication of the work to that template.

Unknownoptional

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

Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

See also

Localization

العربية  беларуская (тарашкевіца)  dansk  Deutsch  English  español  suomi  français  magyar  日本語  македонски  മലയാളം  Nederlands  português  português do Brasil  中文

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:PD-two/layout.