Template:Credit line/doc: Difference between revisions
More actions
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=Author | |1=Author | ||
|1d | |1d-en=Author's name portion of the ''Credit line''. Could be pseudonym or Commons username | ||
|1d-fr=Section du nom de l’auteur dans le texte d’attribution. Peut être un pseudonyme ou un nom d’utilisateur Commons | |||
|fr=Section du nom de l’auteur dans le texte d’attribution. Peut être un pseudonyme ou un nom d’utilisateur Commons | |||
|1def= | |1def= | ||
|1stat=optional | |1stat=optional | ||
|2=Other | |2=Other | ||
|2d | |2d-en=Other parts of the ''Credit line'' separated by "/". They can include: | ||
*Attribution Parties, like ''Wikimedia Commons'' or sponsor institute | *Attribution Parties, like ''Wikimedia Commons'' or sponsor institute | ||
*[[w:Uniform Resource Identifier|URI]], like web address | *[[w:Uniform Resource Identifier|URI]], like web address | ||
*Title of the work | *Title of the work | ||
<nowiki>Other=WC</nowiki> will provide link to ''Wikimedia Commons'' | <br/> Several shortcuts are defined: | ||
|fr=Autres sections du texte d’attribution, séparés par « / ». Ils peuvent inclure : | *<nowiki>Other=WC</nowiki> will provide link to ''Wikimedia Commons'' | ||
*<nowiki>Other=TITLE</nowiki> will provide filename as a work ''title'' | |||
*<nowiki>Other=WC/TITLE</nowiki> will provide link to ''Wikimedia Commons'' and the filename as a work ''title'' | |||
|2d-fr=Autres sections du texte d’attribution, séparés par « / ». Ils peuvent inclure : | |||
*''Attribution parties'', comme ''Wikimedia Common'' ou un organisme soutien ; | *''Attribution parties'', comme ''Wikimedia Common'' ou un organisme soutien ; | ||
*une [[:fr:URI|URI]], comme une adresse web ; | *une [[:fr:URI|URI]], comme une adresse web ; | ||
*le titre de l’œuvre. | *le titre de l’œuvre. | ||
<br/> Several shortcuts are defined: | |||
*<nowiki>Other=WC</nowiki> will provide link to ''Wikimedia Commons'' | |||
*<nowiki>Other=TITLE</nowiki> will provide filename as a work ''title'' | |||
*<nowiki>Other=WC/TITLE</nowiki> will provide link to ''Wikimedia Commons'' and the filename as a work ''title'' | |||
|2def= | |2def= | ||
|2stat=optional | |2stat=optional | ||
|3=License | |3=License | ||
|3d | |3d-en=License portion of the ''Credit line''. Required for CC-BY-SA and GFDL licenses but optional for rare {{tl|Attribution}} or CC-BY licenses. Use word 'skip' to omit license section. License should have a name of the license and link to the license. Several shortcuts were defined to more popular licenses (see table below) | ||
|fr=La section du texte d’attribution concernant la licence. Requis pour les licences CC-BY-SA et GFDL, optionnel mais rare pour les licence CC-BY. Utiliser le mot « skip » pour omettre cette section. | |3d-fr=La section du texte d’attribution concernant la licence. Requis pour les licences CC-BY-SA et GFDL, optionnel mais rare pour les licence CC-BY. Utiliser le mot « skip » pour omettre cette section. | ||
|3def= | |3def= | ||
| Line 65: | Line 68: | ||
|[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0] & [[w:GFDL|GFDL]] | |[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0] & [[w:GFDL|GFDL]] | ||
|- | |- | ||
|CC-BY-SA- | |CC-BY-SA-4.0 | ||
|[http://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0] | |||
|- | |||
|CC-BY-SA-3.0 | |||
|[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0] | |[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0] | ||
|- | |- | ||
|CC-BY-SA-3.0 (DE) | |CC-BY-SA-3.0 (DE) | ||
|[http://creativecommons.org/licenses/by-sa/3.0/de/deed.en CC-BY-SA-3.0 (DE)] | |[http://creativecommons.org/licenses/by-sa/3.0/de/deed.en CC-BY-SA-3.0 (DE)] | ||
|- | |||
|CC-BY-4.0 | |||
|[http://creativecommons.org/licenses/by/4.0/ CC-BY-4.0] | |||
|- | |- | ||
|CC-BY-3.0 | |CC-BY-3.0 | ||
Revision as of 13:24, 9 December 2013
Template adds Credit line field to {{Information}} or {{Artwork}} templates 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. Required for CC-BY-SA and GFDL licenses but optional for rare {{Attribution}} or CC-BY licenses. Use word 'skip' to omit license section. License should have a name of the license and link to the license. Several shortcuts were defined to more popular licenses (see table below) | 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
Relies on:
{{Information field}}
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)
Hardwired license Shortcuts
| License | Output |
|---|---|
| CC-BY-SA-3.0 & GFDL | CC-BY-SA-3.0 & GFDL |
| CC-BY-SA-4.0 | CC-BY-SA-4.0 |
| CC-BY-SA-3.0 | CC-BY-SA-3.0 |
| CC-BY-SA-3.0 (DE) | CC-BY-SA-3.0 (DE) |
| CC-BY-4.0 | CC-BY-4.0 |
| CC-BY-3.0 | CC-BY-3.0 |
Example of code for use with {{Information}} template
{{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 & GFDL}}
}}
will produce:
| Description | description |
| Date | |
| Source | Own work |
| Author | John Doe |
| Attribution (required by the license) | © John Doe / Wikimedia Commons / |
Example of code for use with {{Artwork}} template
Also use this code for use with {{Book}} template.
{{Artwork
|Description=description
|Source=John Doe ({{own}})
|Author=unknown
|Date=1900
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}}
}}
will produce:
Example with different values for all parameters
{{Information
|Description=description
|Source={{own}}
|Author=[[User:Example]]
|Date=2008-06-09
|other_fields={{Credit line |Author = [http://commons.wikimedia.org/wiki/User:Example User:Example] |License = [http://creativecommons.org/licenses/by-sa/2.0/ CC-BY-SA-2.0]}}
}}
will produce:
| Description | description |
| Date | |
| Source | Own work |
| Author | User:Example |
| Attribution (required by the license) | User:Example / |