This page is protected against editing.

Template:Attribution only license

From Wikimedia Commons, the free media repository
(Redirected from Template:Attribution)
Jump to navigation Jump to search
© The copyright holder of this file allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.

Template documentationview · edit · history · purge ]

This license template is for media files which only require attribution.

The template automatically sets the following categories: Category:Attribution only license

Usage

{{Attribution only license |1= |2= |nolink= |text= }}

Or use the shorthand
{{Attribution|… parameters as described …}}

This template takes the copyright holder's username and/or real name as optional parameters. Use nolink=Name to insert a name without linking.

Template parameters

<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 license template is for media files which only require attribution.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
user name1

User name (including "User:")

Page nameoptional
full name2

Lineoptional
no linknolink attribution

Name not linked

Lineoptional
attribution texttext

Custom attribution text

Lineoptional

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

Relies on:
{{Copyrighted-Layout}}

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).

Examples

  • {{Attribution only license|User:Example}}
© The copyright holder of this file, User:Example, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution:
User:Example

  • {{Attribution only license|User talk:Example|User:Example}} to avoid a redlink for users without a user page
© The copyright holder of this file, User:Example, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution:
User:Example

  • {{Attribution only license|User:Example|Full name}}
© The copyright holder of this file, Full name, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution:
Full name

  • {{Attribution only license|nolink=Full name|text=Required attribution text: by Someuser, available from somewhere.}}
© The copyright holder of this file, Full name, allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted.
Attribution:
Required attribution text: by Someuser, available from somewhere.