Template:Attribution only license
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. | |
|
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= }}
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
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.
Wikipedia's help about TemplateData • Commons-specific information
This license template is for media files which only require attribution.
Parameter | Description | Type | Status | |
---|---|---|---|---|
user name | 1 | User name (including "User:") | Page name | optional |
full name | 2 | Line | optional | |
no link | nolink attribution | Name not linked | Line | optional |
attribution text | text | Custom attribution text | Line | optional |
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.
|