Template:Credit line/doc: Difference between revisions
More actions
m correction of a missing | in example #1 |
+ja |
||
| Line 3: | Line 3: | ||
|1d-en=The author's name portion of the ''Credit line'', which can be a pseudonym or Commons username. | |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-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 | ||
| Line 24: | Line 25: | ||
*<nowiki>Other=TITLE</nowiki> will provide the filename as a work ''title'' | *<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'' | *<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= | ||
| Line 32: | Line 42: | ||
|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-BY-SA et GFDL, optionnel mais rare pour les licence CC-BY. Utiliser le mot « skip » pour omettre cette section. | ||
|3d-ja=CC-BY-SAやGFDL、{{tl|Attribution}}、CC-BYなどのライセンスを「帰属」欄に記述します。<code>skip</code>を引数に指定するとライセンスを記述する箇所が省略されます。ライセンスはライセンス文にリンクしなくてはなりません。広く用いられるライセンスについては短縮表記が使えます(下をご覧ください)。 | |||
|3def= | |3def= | ||
Revision as of 07:53, 18 September 2016
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
Author | The author's name portion of the Credit line, which can be a pseudonym or Commons username. | empty | optional | |
Other | Other parts of the Credit line separated by "/". They can include:
| empty | optional | |
License | The license portion of the Credit line, which is required for CC-BY-SA and GFDL licenses but optional for rare {{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). | 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:
This has to be placed as a value of the other_fields field of {{Information}} template.
Relies on:
- {{Information field}}
- required by the license (translation of "required by the license")
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 / |