Template:Credit line/doc: Difference between revisions
Template page
More actions
No edit summary |
Prefix language interwiki links with w: |
||
| (32 intermediate revisions by 16 users not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=Author | |1=Author | ||
|1d= | |1d-en=The author's name portion of the ''Credit line'', which can be a 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 | |||
|1d-ja=変名やコモンズの利用者名などのクレジット表記を「帰属」欄に記述します。 | |||
|1def= | |1def= | ||
|1stat=optional | |1stat=optional | ||
|2=Other | |2=Other | ||
|2d=Other parts of the ''Credit line'' separated by "/". They can include: | |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 | *Title of the work | ||
<br/> Several shortcuts are defined: | |||
*<nowiki>Other=WC</nowiki> will provide a link to ''Wikimedia Commons'' | |||
*<nowiki>Other=TITLE</nowiki> will provide the filename as a work ''title'' | |||
*<nowiki>Other=WC/TITLE</nowiki> will provide a 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 ; | |||
*une [[:w:fr:URI|URI]], comme une adresse web ; | |||
*le titre de l’œuvre. | |||
<br/> Several shortcuts are defined: | |||
*<nowiki>Other=WC</nowiki> will provide a link to ''Wikimedia Commons'' | |||
*<nowiki>Other=TITLE</nowiki> will provide the filename as a work ''title'' | |||
*<nowiki>Other=WC/TITLE</nowiki> will provide a link to ''Wikimedia Commons'' and the filename as a work ''title'' | |||
|2d-ja=“/”でクレジット表記と分割された箇所に挿入する文字を「帰属」欄に記述します。以下の用例を参考にしてください。 | |||
* ''Wikimedia Commons''や協賛組織といった、帰属組織を記述 | |||
* URLなどのリンク | |||
* 作品の題名 | |||
<br/>以下に示す引数を使用することができます。 | |||
*Other=<code>WC</code>はウィキメディア・コモンズへのリンクを表示します。 | |||
*Other=<code>TITLE</code>はファイル名を作品の題名として表示します。 | |||
*Other=<code>WC/TITLE</code>はウィキメディア・コモンズへのリンクを表示するとともに、ファイル名を作品の題名として表示します。 | |||
|2def= | |2def= | ||
|2stat=optional | |2stat=optional | ||
|3=License | |3=License | ||
|3d= | |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 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>を引数に指定するとライセンスを記述する箇所が省略されます。ライセンスはライセンス文にリンクしなくてはなりません。広く用いられるライセンスについては短縮表記が使えます(下をご覧ください)。 | |||
|3def= | |3def= | ||
|3stat=required | |3stat=required | ||
|name=Credit line | |name=Credit line | ||
|desc= | |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. | |||
|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 | ||
|usergroup=All | |usergroup=All | ||
|placement= | |placement={{LangSwitch | ||
|en=This has to be placed as a value of the ''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]] | |seealso=[[Commons:Credit line]], [[:Category:Attribution templates]] | ||
|setscats= | |setscats= | ||
|lines= | |lines=one | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
*{{tl|Information field}} | |||
*{{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}} | |||
}} | |||
== Hardwired license Shortcuts == | |||
{|border="1" style="right" | |||
|- | |||
! License | |||
! Output | |||
|- | |||
|CC-BY-SA-3.0 & GFDL | |||
|[https://creativecommons.org/licenses/by-sa/3.0/ CC BY-SA 3.0] & [[w:GFDL|GFDL]] | |||
|- | |||
|CC-BY-SA-4.0 | |||
|[https://creativecommons.org/licenses/by-sa/4.0/ CC BY-SA 4.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) | |||
|[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 | |||
|[https://creativecommons.org/licenses/by/4.0/ CC BY 4.0] | |||
|- | |||
|CC-BY-3.0 | |||
|[https://creativecommons.org/licenses/by/3.0/ CC BY 3.0] | |||
|- | |||
|} | |||
==Example of code for use with {{tl|Information}} template == | |||
<nowiki>{{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}} | |||
}}</nowiki> | |||
will produce: | |||
{{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}} | |||
}} | |||
==Example with different values for all parameters == | |||
<nowiki>{{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]}} | |||
}}</nowiki> | |||
will produce: | |||
{{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]}} | |||
}} | }} | ||
<includeonly> | |||
[[Category:License-related tags|*]] | |||
</includeonly> | |||