Template:PD: Difference between revisions

From Laserwiki
Jump to navigation Jump to search
(use uselang)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
| text      = ''{{#if:{{{1|{{{reason|{{{because|}}}}}}}}}
| text      = ''{{#if:{{{1|{{{reason|{{{because|}}}}}}}}}
   |{{#ifeq:{{{1|{{{reason|{{{because|}}}}}}}}}|self
   |{{#ifeq:{{{1|{{{reason|{{{because|}}}}}}}}}|self
     |<translate><!--T:1--> This file has been released into the '''[[w:public domain|public domain]]''' by the user who uploaded it{{<tvar|1>#if:{{{2|{{{author|}}}}}}</>|&nbsp;(<tvar|author>{{{2|{{{author|}}}}}}</>)}}.</translate> <translate><!--T:2--> This applies worldwide.</translate>
     |{{#if:{{{2|{{{author|}}} }}}
     |<translate><!--T:3--> This file has been released into the '''[[w:public domain|public domain]]''' because:</translate> '''{{{1|{{{reason|{{{because|}}}}}}}}}'''
      |{{int:Wm-license-pd-author-with-author-text|{{{2|{{{author|}}} }}} }}
      |{{int:Wm-license-pd-author-self-text}}
      }}
     |<translate><!--T:3--> This file has been released into the public domain because:</translate> '''{{{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>
   |<translate><!--T:4--> This file has been released into the 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>
   }}''<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"><translate><!--T:6--> Public Domain</translate></span></span>
<hr />
<hr />
Line 22: Line 25:
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:PD|noshift=1|uselang={{int:lang}}}}
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:PD|noshift=1|uselang={{int:lang}}}}
}}<noinclude>
}}<noinclude>
{{ {{TNTN|Documentation}} |content=
{{Documentation|content=


==Usage==
==Usage==

Latest revision as of 00:39, 20 September 2020

<languages/>

Template documentation

Usage

To provide attribution use {{PD|reason=|author=}}.

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}}
  • {{PD|reason=Reason}}
  • {{PD|reason=self}}
  • {{PD|author=Author}}
  • {{PD|reason=Reason|author=Author}}

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:}}]]