Template:Credit line/doc: Difference between revisions
More actions
GFDL, not GDFL |
No edit summary |
||
| Line 7: | Line 7: | ||
|1def= | |1def= | ||
|1stat=optional | |1stat=optional | ||
|2=Other | |2=Other | ||
|2d={{LangSwitch | |2d={{LangSwitch | ||
| Line 21: | Line 22: | ||
|2def= | |2def= | ||
|2stat=optional | |2stat=optional | ||
|3=License | |3=License | ||
|3d={{LangSwitch | |3d={{LangSwitch | ||
| Line 28: | Line 30: | ||
|3def= | |3def= | ||
|3stat=required | |3stat=required | ||
|4=Style | |||
|4d=Table style used by the parent template. If using with {{tl|Information}} use "Style=wiki". With {{tl|Artwork}} use "Style=html". | |||
|4def=wiki | |||
|4stat=optional | |||
|name=Credit line | |name=Credit line | ||
|desc={{LangSwitch | |desc={{LangSwitch | ||
|en=Template adds ''Credit line'' field to {{tl|Information}} | |en=Template adds ''Credit line'' field to {{tl|Information}} or {{tl|Artwork}} templates used with most images, which stores ''[[commons:Credit line|credit line]]'' or ''attribution text'', that author wishes to be used by reusers, as is required for files using [[w:Creative Commons|Creative Commons]] CC-BY and CC-BY-SA licenses. | ||
|fr=Ce modèle ajoute un champ ''Attribution'' au modèle {{tl|Information}} utilisé sur la plupart des images, pour renseigner un [[Commons:Texte d'attribution|Texte d’attribution]] que l’auteur souhaite voir employer par les réutilisateurs, comme requis par les [[:fr:licences Creative Commons|licences Creative Commons]] CC-BY et CC-BY-SA. | |fr=Ce modèle ajoute un champ ''Attribution'' au modèle {{tl|Information}} utilisé sur la plupart des images, pour renseigner un [[Commons:Texte d'attribution|Texte d’attribution]] que l’auteur souhaite voir employer par les réutilisateurs, comme requis par les [[:fr:licences Creative Commons|licences Creative Commons]] CC-BY et CC-BY-SA. | ||
}} | }} | ||
| Line 50: | Line 58: | ||
|relieson={{tl|Information field}} | |relieson={{tl|Information field}} | ||
}} | }} | ||
==Example== | ==Example 1 == | ||
<nowiki>{{Information | <nowiki>{{Information | ||
|Description=description | |Description=description | ||
| Line 67: | Line 75: | ||
|Date=2008-06-09 | |Date=2008-06-09 | ||
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}} | |other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}} | ||
}} | |||
==Example 2 == | |||
<nowiki>{{Artwork | |||
|Description=description | |||
|Source=John Doe {{own}} | |||
|Author=unknown | |||
|Date=2008-06-09 | |||
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}} | |||
}}</nowiki> | |||
will produce: | |||
{{Artwork | |||
|Description=description | |||
|Source=John Doe {{own}} | |||
|Author=unknown | |||
|Date=2008-06-09 | |||
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL|Style=html}} | |||
}} | }} | ||
Revision as of 13:59, 26 October 2010
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= |Style= }}
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. | empty | required | |
Style | Table style used by the parent template. If using with {{Information}} use "Style=wiki". With {{Artwork}} use "Style=html". | wiki | 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:
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)
Example 1
{{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 2
{{Artwork
|Description=description
|Source=John Doe {{own}}
|Author=unknown
|Date=2008-06-09
|other_fields={{Credit line |Author = © John Doe | Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}}
}}
will produce: