Template:PD: Difference between revisions

From Powers Within
m (1 revision imported)
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<languages/>
</noinclude>{{#switch:<translate></translate>
</noinclude>{{#switch:
| =
| =
{{imbox
{{imbox
Line 12: Line 12:
       |{{int:Wm-license-pd-author-self-text}}
       |{{int:Wm-license-pd-author-self-text}}
       }}
       }}
     |<translate><!--T:3--> This file has been released into the '''[[w:public domain|public domain]]''' because:</translate> '''{{{1|{{{reason|{{{because|}}}}}}}}}'''
     |<!--T:3--> This file has been released into the '''[[w:public domain|public domain]]''' because: '''{{{1|{{{reason|{{{because|}}}}}}}}}'''
     }}
     }}
   |<translate><!--T:4--> This file has been released into the '''[[w:public domain|public domain]]''' by the [[w:Copyrights|copyright]] holder{{<tvar|1>#if:{{{2|{{{author|}}}}}}</>|&nbsp;(<tvar|author>{{{2|{{{author|}}}}}}</>)}}, its copyright has expired, or it is ineligible for copyright.</translate> <translate><!--T:5--> This applies worldwide.</translate>
   | <!--T:4--> This file has been released into the '''[[w:public domain|public domain]]''' by the [[w:Copyrights|copyright]] holder{{<tvar|1>#if:{{{2|{{{author|}}}}}}</>|&nbsp;(<tvar|author>{{{2|{{{author|}}}}}}</>)}}, its copyright has expired, or it is ineligible for copyright. <!--T:5--> This applies worldwide.
   }}''<span style="display:none;"><span class="licensetpl_short">PD</span><span class="licensetpl_long"><translate><!--T:6--> Public Domain</translate></span></span>
   }}''<span style="display:none;"><span class="licensetpl_short">PD</span><span class="licensetpl_long"> <!--T:6--> Public Domain </span></span>
<hr/>
<hr/>
<div style="font-size:smaller;">
<div style="font-size:smaller;">
<translate><!--T:7--> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]!</translate><br>
<!--T:7--> Please verify that the reason given above [[<tvar|commons>Commons:Special:MyLanguage/Commons:Licensing</>|is valid]]! <br>
{{#ifeq:{{{1|{{{reason|{{{because|}}}}}}}}}|self|<!-- it’s as specific as possible -->|'''<translate><!--T:8--> Note:</translate>''' <translate><!--T:9--> If there is a [[<tvar|1>Special:MyLanguage/Project:File copyright tags</>|specific licence tag]] for the reason supplied here, please use it.</translate>}}
{{#ifeq:{{{1|{{{reason|{{{because|}}}}}}}}}|self|<!-- it’s as specific as possible -->|''' <!--T:8--> Note: ''' <!--T:9--> If there is a [[<tvar|1>Special:MyLanguage/Project:File copyright tags</>|specific licence tag]] for the reason supplied here, please use it. }}
</div>
</div>
}}{{file other
}}{{file other
Line 31: Line 31:
<span class="licensetpl_attr_req">false</span>
<span class="licensetpl_attr_req">false</span>
</div>
</div>
| #default=
  {{#invoke:Template translation|renderTranslatedTemplate|template=Template:PD|noshift=1|uselang={{int:lang}}}}
}}<noinclude>
}}<noinclude>
{{Documentation|content=
{{Documentation|content=
Line 102: Line 100:


}}
}}
[[Category:License templates{{#translation:}}]]
[[Category:License templates{{}}]]
[[Category:File namespace templates{{#translation:}}]]
[[Category:File namespace templates{{}}]]
</noinclude>
</noinclude>

Revision as of 00:46, 23 April 2023

<languages/> {{#switch: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}} Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#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: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}}

  • {{PD|reason=Reason}}

{{#switch: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}}

  • {{PD|reason=self}}

{{#switch: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}}

  • {{PD|author=Author}}

{{#switch: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}}

  • {{PD|reason=Reason|author=Author}}

{{#switch: | = Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:Template|File
   | file
   | other
   }} 
 }}

| file | image =

| other | #default = }}

}}

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{{}}]] [[Category:File namespace templates{{}}]]