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
No edit summary
Documentation in french
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|1=Author
|1=Author
|1d=Author's name portion of the ''Credit line''. Could be pseudonym or Commons username
|1d={{LangSwitch
|en=Author's name portion of the ''Credit line''. Could be pseudonym or Commons username
|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=Other parts of the ''Credit line'' separated by "/". They can include:  
|2d={{LangSwitch
|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''
<nowiki>Other=WC</nowiki> will provide link to ''Wikimedia Commons''
|fr=Autres sections du texte d’attribution, séparés par « / ». Ils peuvent inclure :
*''Attribution parties'', comme ''Wikimedia Common'' ou un organisme soutien ;
*une [[:fr:URI|URI]], comme une adresse web ;
*le titre de l’œuvre.
}}
|2def=
|2def=
|2stat=optional
|2stat=optional
|3=License
|3=License
|3d=License portion of the ''Credit line''. Required for CC-BY-SA and GDFL licenses but optional for rare {{tl|Attribution}} or CC-BY licenses. Use word 'skip' to omit license section.
|3d={{LangSwitch
|en=License portion of the ''Credit line''. Required for CC-BY-SA and GDFL licenses but optional for rare {{tl|Attribution}} or CC-BY licenses. Use word 'skip' to omit license section.
|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=
|3stat=required
|3stat=required
|name=Credit line
|name=Credit line
|desc=Template adds ''Credit line'' field to {{tl|Information}} template 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.
|desc={{LangSwitch
|en=Template adds ''Credit line'' field to {{tl|Information}} template 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.
}}
|namespace=File
|namespace=File
|usergroup=All
|usergroup=All
|placement=Has to be placed as a value of ''other_fields'' field of {{tl|Information}} template
|placement={{LangSwitch
|en=Has to be placed as a value of ''other_fields'' field of {{tl|Information}} template
|fr=Doit être placé comme valeur du champ ''other_fields'' du modèle {{tl|Information}}
}}
|usage-notes=
|usage-notes=
|type=infobox
|type=infobox
|example=
|example=
|i18n-method=
|i18n-method=switch
|i18n-desc=
|i18n-desc=
|seealso=[[Commons:Credit line]], [[:Category:Attribution templates]]
|seealso=[[Commons:Credit line]], [[:Category:Attribution templates]]
|setscats=
|setscats=
|lines=
|lines=one
|shorthand=
|shorthand=
|relieson=
|relieson={{tl|Information field}}
}}
}}
==Example==
==Example==

Revision as of 00:57, 2 November 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

ParameterDescriptionDefaultStatus
AuthorAuthor's name portion of the Credit line. Could be pseudonym or Commons usernameemptyoptional
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
Other=WC will provide link to Wikimedia Commons
emptyoptional
LicenseLicense portion of the Credit line. Required for CC-BY-SA and GDFL licenses but optional for rare {{Attribution}} or CC-BY licenses. Use word 'skip' to omit license section.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:

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

{{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-3.0 & GDFL}}
}}

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.