Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Credit line/doc: Difference between revisions

Template page
mNo edit summary
Prefix language interwiki links with w:
 
(8 intermediate revisions by 6 users not shown)
Line 19: Line 19:
|2d-fr=Autres sections du texte d’attribution, séparés par « / ». Ils peuvent inclure :
|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 [[:w:fr:URI|URI]], comme une adresse web ;
*le titre de l’œuvre.
*le titre de l’œuvre.
<br/> Several shortcuts are defined:
<br/> Several shortcuts are defined:
Line 39: Line 39:


|3=License
|3=License
|3d-en=The license portion of the ''Credit line'', which is required for CC-BY-SA and GFDL licenses but optional for rare {{tl|Attribution}} or CC-BY licenses. Use the word 'skip' to omit license section. The license should have the name of the license and link to the license. Several shortcuts were defined to more popular licenses (see table below).
|3d-en=The license portion of the ''Credit line'', which is required for CC and GFDL licenses but optional for rare {{tl|Attribution}} licenses. Use the word 'skip' to omit license section. The license should have the name of the license and link to the license. Several shortcuts were defined to more popular licenses (see table below).


|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.
|3d-fr=La section du texte d’attribution concernant la licence. Requis pour les licences CC et GFDL, optionnel mais rare pour les licence {{tl|Attribution}}. Utiliser le mot « skip » pour omettre cette section.


|3d-ja=CC-BY-SAやGFDL、{{tl|Attribution}}、CC-BYなどのライセンスを「帰属」欄に記述します。<code>skip</code>を引数に指定するとライセンスを記述する箇所が省略されます。ライセンスはライセンス文にリンクしなくてはなりません。広く用いられるライセンスについては短縮表記が使えます(下をご覧ください)。
|3d-ja=CC BY-SAやGFDL、{{tl|Attribution}}、CC-BYなどのライセンスを「帰属」欄に記述します。<code>skip</code>を引数に指定するとライセンスを記述する箇所が省略されます。ライセンスはライセンス文にリンクしなくてはなりません。広く用いられるライセンスについては短縮表記が使えます(下をご覧ください)。


|3def=
|3def=
Line 50: Line 50:
|name=Credit line
|name=Credit line
|desc={{LangSwitch
|desc={{LangSwitch
|en=This template adds a ''Credit line'' field to the {{tl|Information}} or {{tl|Artwork}} templates used with most images, which stores the ''[[commons:Credit line|credit line]]'' or ''attribution text'' that the 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.
|en=This template adds a ''Credit line'' field to the {{tl|Information}} or {{tl|Artwork}} templates used with most images, which stores the ''[[commons:Credit line|credit line]]'' or ''attribution text'' that the 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 [[:w:fr:licences Creative Commons|licences Creative Commons]] CC BY et CC BY-SA.
}}
}}
|namespace=File
|namespace=File
Line 71: Line 71:
*{{tl|Information field}}
*{{tl|Information field}}
*{{tl|I18n/Credit line}} (translation of "required by the license")
*{{tl|I18n/Credit line}} (translation of "required by the license")
Other templates that can be used with {{tl|Information field}} include:
*{{tl|Nil2}}
*{{Tl|Creation}}
*{{Tl|Image generation}}
*{{Tl|ColorString}}
*{{Tl|Taken with ...}}
*{{Tl|Tincture}}
*{{Tl|hdbg|hbdg}}
*{{Tl|Tbc}}
*{{Tl|Site Tags}}, {{tl|Flickr Tags}}, and {{tl|Pixabay Tags}}
}}
}}


Line 80: Line 91:
|-
|-
|CC-BY-SA-3.0 & GFDL
|CC-BY-SA-3.0 & GFDL
|[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0] & [[w:GFDL|GFDL]]
|[https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] & [[w:GFDL|GFDL]]
|-
|-
|CC-BY-SA-4.0
|CC-BY-SA-4.0
|[http://creativecommons.org/licenses/by-sa/4.0/ CC-BY-SA-4.0]
|[https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.0]
|-
|-
|CC-BY-SA-3.0
|CC-BY-SA-3.0
|[http://creativecommons.org/licenses/by-sa/3.0/ CC-BY-SA-3.0]
|[https://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)]
|[https://creativecommons.org/licenses/by-sa/3.0/de/deed.en CC BY-SA 3.0 (DE)]
|-
|CC-BY-SA-2.0
|[https://creativecommons.org/licenses/by-sa/2.0/ CC BY-SA 2.0]
|-
|-
|CC-BY-4.0
|CC-BY-4.0
|[http://creativecommons.org/licenses/by/4.0/ CC-BY-4.0]
|[https://creativecommons.org/licenses/by/4.0/ CC BY 4.0]
|-
|-
|CC-BY-3.0
|CC-BY-3.0
|[http://creativecommons.org/licenses/by/3.0/ CC-BY-3.0]
|[https://creativecommons.org/licenses/by/3.0/ CC BY 3.0]
|-
|-
|}
|}
Line 119: Line 133:
  |Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}}
  |Other = Wikimedia Commons |License = CC-BY-SA-3.0 & GFDL}}
}}
}}
==Example of code for use with {{tl|Artwork}} template ==
Also use this code for use with {{tl|Book}} template.
<nowiki>{{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}}
}}</nowiki>
will produce:
{{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}}
}}


==Example with different values for all parameters ==
==Example with different values for all parameters ==
Line 150: Line 141:
|Date=2008-06-09
|Date=2008-06-09
|other_fields={{Credit line  
|other_fields={{Credit line  
  |Author = [http://commons.wikimedia.org/wiki/User:Example User:Example]  
  |Author = [https://commons.wikimedia.org/wiki/User:Example User:Example]  
  |License = [http://creativecommons.org/licenses/by-sa/2.0/ CC-BY-SA-2.0]}}
  |License = [https://creativecommons.org/licenses/by-sa/2.0/ CC BY-SA 2.0]}}
}}</nowiki>
}}</nowiki>


Line 162: Line 153:
|Date=2008-06-09
|Date=2008-06-09
|other_fields={{Credit line  
|other_fields={{Credit line  
  |Author = [http://commons.wikimedia.org/wiki/User:Example User:Example]  
  |Author = [https://commons.wikimedia.org/wiki/User:Example User:Example]  
  |License = [http://creativecommons.org/licenses/by-sa/2.0/ CC-BY-SA-2.0]}}
  |License = [https://creativecommons.org/licenses/by-sa/2.0/ CC BY-SA 2.0]}}
}}
}}



Latest revision as of 09:14, 12 August 2026

This template adds a Credit line field to the {{Information}} or {{Artwork}} templates used with most images, which stores the credit line or attribution text that the 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

ParameterDescriptionDefaultStatus
AuthorThe author's name portion of the Credit line, which can be a pseudonym or Commons username.emptyoptional
OtherOther parts of the Credit line separated by "/". They can include:
  • Attribution Parties, like Wikimedia Commons or sponsor institute
  • URI, like web address
  • Title of the work


Several shortcuts are defined:

  • Other=WC will provide a link to Wikimedia Commons
  • Other=TITLE will provide the filename as a work title
  • Other=WC/TITLE will provide a link to Wikimedia Commons and the filename as a work title
emptyoptional
LicenseThe license portion of the Credit line, which is required for CC and GFDL licenses but optional for rare {{Attribution}} licenses. Use the word 'skip' to omit license section. The license should have the name of the license and link to the license. Several shortcuts were defined to more popular licenses (see table below).emptyrequired

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:

This has to be placed as a value of the other_fields field of {{Information}} template.

Relies on:

Other templates that can be used with {{Information field}} include:

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-SA-2.0 CC BY-SA 2.0
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)
InfoField
© John Doe / Wikimedia Commons / 
© John Doe / Wikimedia Commons

Example with different values for all parameters

{{Information
|Description=description
|Source={{own}}
|Author=[[User:Example]]
|Date=2008-06-09
|other_fields={{Credit line 
 |Author = [https://commons.wikimedia.org/wiki/User:Example User:Example] 
 |License = [https://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)
InfoField
User:Example / 
User:Example


Cookies help us deliver our services. By using our services, you agree to our use of cookies.