Difference between revisions of "Template:PD"
Licence>Pppery (Add machine-readable licensing info) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 16:09, 4 February 2022
<languages/> {{#switch:<translate></translate> | =
Public domain | {{#if:
|{{#ifeq:|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain' because:</translate> ' }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:</>| (<tvar|author></>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:
|{{#ifeq:|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain' because: ' }} |This file has been released into the public domain by the copyright holder{{#if:| ()}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }} Lua error: Module:TNT:158: Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates.{{#if:==Usage==
To provide attribution use {{#if:{{safesubst:#switch:
|no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes
}}|Page Template:Nowrap/styles.css has no content.}}{{[[{{#if:|{{{SISTER}}}Template|Template}}:PD|PD]]{{#if:reason=|author=||reason=|author=}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}}.
Use the reason
parameter to specify why it is in the public domain and any limitations that should be noted. Set to self
to specify that the uploader released it into the public domain.
Use the author
parameter to specify the author who released it into the public domain.
Examples
- {{PD}}
{{#switch:<translate></translate> | =
Public domain | {{#if:
|{{#ifeq:|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain' because:</translate> ' }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:</>| (<tvar|author></>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:
|{{#ifeq:|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain' because: ' }} |This file has been released into the public domain by the copyright holder{{#if:| ()}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{PD|reason=Reason}}
{{#switch:<translate></translate> | =
Public domain | {{#if:Reason
|{{#ifeq:Reason|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain because:</translate> Reason }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:</>| (<tvar|author></>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:Reason
|{{#ifeq:Reason|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain because: Reason }} |This file has been released into the public domain by the copyright holder{{#if:| ()}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{PD|reason=self}}
{{#switch:<translate></translate> | =
Public domain | {{#if:self
|{{#ifeq:self|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain because:</translate> self }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:</>| (<tvar|author></>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:self
|{{#ifeq:self|self |{{#if: |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain because: self }} |This file has been released into the public domain by the copyright holder{{#if:| ()}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{PD|author=Author}}
{{#switch:<translate></translate> | =
Public domain | {{#if:
|{{#ifeq:|self |{{#if:Author |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain' because:</translate> ' }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:Author</>| (<tvar|author>Author</>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:
|{{#ifeq:|self |{{#if:Author |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain' because: ' }} |This file has been released into the public domain by the copyright holder{{#if:Author| (Author)}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
- {{PD|reason=Reason|author=Author}}
{{#switch:<translate></translate> | =
Public domain | {{#if:Reason
|{{#ifeq:Reason|self |{{#if:Author |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |<translate> This file has been released into the public domain because:</translate> Reason }} |<translate> This file has been released into the public domain by the copyright holder{{<tvar|1>#if:Author</>| (<tvar|author>Author</>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate> This applies worldwide.</translate> }} <translate> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate> |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
{{#switch:
| =
Public domain | {{#if:Reason
|{{#ifeq:Reason|self |{{#if:Author |⧼Wm-license-pd-author-with-author-text⧽ |⧼Wm-license-pd-author-self-text⧽ }} |This file has been released into the public domain because: Reason }} |This file has been released into the public domain by the copyright holder{{#if:Author| (Author)}}, its copyright has expired, or it is ineligible for copyright. This applies worldwide. }} Please verify that the reason given above is valid! |
{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|File | file | other }} }}
| file | image =
| other | #default = }}
| #default=
Lua error: expandTemplate: template loop detected.
}} }}
TemplateData
<templatedata> { "description": { "en": "This template is used to mark public domain files.", "de": "Diese Vorlage wird genutzt, um gemeinfreie Dateien zu markieren." }, "format": "inline", "params": { "reason": { "aliases": [ "1", "because" ], "label": { "en": "reason", "de": "Grund" }, "description": { "en": "Why this file is in the public domain; note any limitations if applicable. Set to “self” to specify that the uploader released it into the public domain." }, "example": "self", "type": "string", "suggested": true }, "author": { "aliases": [ "2" ], "label": { "en": "author", "de": "Urheber" }, "description": { "en": "The author of this file who released it into the public domain.", "de": "Der Urheber der Datei, wer sie freigegeben hat." }, "example": "John Doe", "type": "string" } } } </templatedata>| [[Category:Template documentation pages{{#translation:}}]] }} [[Category:License templates{{#translation:}}]] [[Category:File namespace templates{{#translation:}}]]