Template:Credit line/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 38: | Line 38: | ||
|Author=John Doe | |Author=John Doe | ||
|Date=2008-06-09 | |Date=2008-06-09 | ||
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GDFL}} | |other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GDFL}} | ||
}}</nowiki> | }}</nowiki> | ||
will produce: | will produce: | ||
| Line 47: | Line 47: | ||
|Author=John Doe | |Author=John Doe | ||
|Date=2008-06-09 | |Date=2008-06-09 | ||
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-3.0 & GDFL}} | |other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GDFL}} | ||
}} | }} | ||
Revision as of 20:17, 11 September 2009
Template adds Credit line field to {{Information}} template used with most images, which stores credit line or attribution text, that author wishes to be used by reusers, as is required for files using Creative Commons CC-BY and CC-BY-SA licenses.
Usage
{{Credit line |Author= |Other= |License= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
Author | Author's name portion of the Credit line. Could be pseudonym or Commons username | empty | optional | |
Other | Other parts of the Credit line separated by "/". They can include:
| empty | optional | |
License | License portion of the Credit line. | empty | required | |
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:
Has to be placed as a value of other_fields field of {{Information}} template
See also
Example
{{Information
|Description=description
|Source={{own}}
|Author=John Doe
|Date=2008-06-09
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GDFL}}
}}
will produce:
| Description | description |
| Date | |
| Source | Own work |
| Author | John Doe |
| Attribution (required by the license) | © John Doe / Wikimedia Commons / |