Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 17:11, 31 August 2025 by MechsploWikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


{{#switch: | =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 {{#switch:<translate></translate>

| =

{{#switch:

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

| file | image =

| other | #default = }}

| #default=

 Lua error: expandTemplate: template loop detected.

}} }}

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

{{#switch:<translate></translate> | =

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

 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=

 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=

 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=

 Lua error: expandTemplate: template loop detected.

}}

TemplateData

This template is used to mark public domain files.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
reasonreason 1 because

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
Stringsuggested
authorauthor 2

The author of this file who released it into the public domain.

Example
John Doe
Stringoptional

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

{{#switch:<translate></translate> | =

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

 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=

 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=

 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=

 Lua error: expandTemplate: template loop detected.

}}

TemplateData

This template is used to mark public domain files.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
reasonreason 1 because

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
Stringsuggested
authorauthor 2

The author of this file who released it into the public domain.

Example
John Doe
Stringoptional

|

}}