Template:Credit line

From The TTSCpedia Commons

⧼wm-license-cc-attribution⧽
()
AUTHOR / OTHER /  LICENSE
50px Template documentation[view] [edit] [history] [purge]

No description yet available.

Usage

{{Credit line |Other= |License= |Author= }}

Template parameters

ParameterDescriptionDefaultStatus
Otheremptyoptional
Licenseemptyrequired
Authoremptyoptional

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

Relies on:

⧼Seealso⧽

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 2008-06-09
Source Own work
Author John Doe
⧼wm-license-cc-attribution⧽
()
© John Doe / Wikimedia Commons / CC BY-SA 3.0 & GFDL
© 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:

⧼wm-license-information-author⧽
unknown
⧼wm-license-information-description⧽
description
⧼wm-license-information-date⧽ 1900
date QS:P571,+1900-00-00T00:00:00Z/9
⧼wm-license-artwork-source⧽ John Doe (Own work)
⧼wm-license-cc-attribution⧽
()
© John Doe / Wikimedia Commons / CC BY-SA 3.0 & GFDL
© 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 2008-06-09
Source Own work
Author User:Example
⧼wm-license-cc-attribution⧽
()
User:Example / CC BY-SA 2.0
User:Example