Difference between revisions of "Template:PD"

From Anarchaserver
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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

{{#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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

{{#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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

{{#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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

{{#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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

{{#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> | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:

| =

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