Open main menu
Public domain This work has been released into the public domain by its author, {{{1}}}. This applies worldwide.

In some countries this may not be legally possible; if so:
{{{1}}} grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:PD-user/doc.

This template creates a license with a user link

The template automatically sets the following categories: Category:PD-user

Usage

{{PD-user |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1user nameUser name of the releaser, e.g. Multichill will display Multichill.
Examplerequired
2language codeTo refer to an account on one of the Wikipedias, write here the ISO 639-1 language code,
e.g. en or any other language.
emptyoptional
3display nameThe alternate display value to show for the linked username. This can be e.g. the real name.par. 1optional
or, instead of
these 3 params,
only parameter 1
an other
definition
of user name
  • either an item of the user namespace
    • can be the complete link to the user name of the releaser, e.g. [[User:Multichill]]​0or rather complex e.g. [[:en:User talk:Multichill | Multichill]]
    • can be specified by one of the user templates, e.g. {{U}}, {{Uc}}, {{Ud}}, {{Ut}}, {{Uw}},
    • or another method to specify a user to be linked as a user name or its substitution.
  • It may be an internal or external link, coded with single […] or double [[…]] brackets.

In addition, it is possible to suppress the linking, i.e. to display plain text:

  • when the first character of the value of parameter 1 is either &, <, [ or {
    the value is taken as-it-is; e.g "[" will it be when a link template has been transcluded,
    or "&" when the value starts with e.g. &shy; or &zwj;
  • it is always possible to switch on/off the link option of U, to avoid links temporarely,
see the description of the User link templates.
emptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

This template creates a license with a user link

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
user name1

User name of the releaser, e.g. <code>Multichill</code> will display [[:User:Multichill|Multichill]].<br>

Default
[[:User:Example|Example]]
Userrequired
language&nbsp;code2

To refer to an account on one of the Wikipedias, write here the [[:w:List of ISO 639-1 codes|ISO 639-1]] language code,<br>e.g. <code>en</code> or any other language.

Stringoptional
display name3

The alternate display value to show for the linked username. This can be e.g. the real name.

Default
par. 1
Stringoptional
an other<br>definition<br>of user name</code>or, ''instead'' of<br>these 3 params,<br>only parameter 1

* either ''an item of the user namespace''

    • can be the ''complete link'' to the user name of the releaser, e.g. [[User:Multichill]]&#8203;<span style="visibility:hidden; color:transparent;">0</span>or&nbsp;rather&nbsp;complex&nbsp;e.g.&nbsp;[[:en:User talk:Multichill | Multichill]]
    • can be specified by one of the user templates, e.g. &#123;&#123;[[:Template:U|U]]&#125;&#125;, &#123;&#123;[[:Template:Uc|Uc]]&#125;&#125;, &#123;&#123;[[:Template:Ud|Ud]]&#125;&#125;, &#123;&#123;[[:Template:Ut|Ut]]&#125;&#125;, &#123;&#123;[[:Template:Uw|Uw]]&#125;&#125;,
    • or another method to specify a ''user'' to be linked as a user name or its substitution.
  • It may be an internal or external link, coded with single […] or double [[…]] brackets.

In addition, it is possible to ''suppress the linking'', i.e. to display ''plain text'':

  • when the first character of the value of parameter 1 is either &#38;, &#60;, &#91; or &#123; <br>the value is taken as-it-is; e.g "&#91;" will it be when a link template has been transcluded, <br>or "&#38;" when the value starts with e.g. &amp;shy; or &amp;zwj;
  • it is always possible to switch on/off the link option of [[:Template:U|U]], to avoid links temporarely,
see the description of the [[Template:U/doc|User link templates]].

Useroptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section

Example

{{PD-user|Joshua Doubek|en}}

renders as:

Public domain This work has been released into the public domain by its author, . This applies worldwide.

In some countries this may not be legally possible; if so:
grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

See also

Localization

This template is localized by utilizing custom MediaWiki namespace messages.
https://commons.m.wikimedia.org/wiki/Template:PD-user
commons.m.wikimedia.org
crawl=CC-MAIN-2019-22
39833
application/http; msgtype=response
sha1:Z7WRYOJQ4HF2IASCYE2HSMQTDU7ZLAK6
<urn:uuid:eccb5e0f-a5d8-4424-b377-0e9ddf16addd>
2019-05-26T23:37:05Z
208.80.154.224
text/html
sha1:HHAJRGLFP2TW4FRW3CKZ4WDVHMC2VHLB
<urn:uuid:a16a37d4-7b64-4471-86de-c240f1f5652d>
https://commons.m.wikimedia.org/wiki/Template:PD-user
response
<urn:uuid:f8caec6c-a8a2-4722-a815-2f059b6791ab>
isPartOf: CC-MAIN-2019-22
publisher: Common Crawl
description: Wide crawl of the web for May 2019
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-233-105-41.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.1-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/