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:Self/doc: Difference between revisions

Template page
No edit summary
Update using {{TemplateBox}}
Line 1: Line 1:
{{Documentation subpage}}
{{TemplateBox
|1=1
|1d={{Mld
|en=License tag
|fr=Bandeau de licence
}}
|1def=
|1stat=required
|2=2
|2d={{Mld
|en=Other license tag
|fr=Autre bandeau de licence
}}
|2def=
|2stat=optional-
|3=author
|3d={{Mld
|zn=The author of the work (do not use if the uploader is the author)
|fr=L’auteur de l’œuvre (ne pas utiliser si le verseur est l’auteur)
}}
|3def=
|3stat=optional
|4=attribution
|4d={{Mld
|en=Attribution note, if different from "Author"
|fr=Le texte d'attribution, si différent « Auteur »
}}
|4def=<tt>Author</tt>
|4stat=optional
|5=migration
|5d={{Mld
|en=Parameter used as part of the [[Commons:GFDL 1.3 relicensing criteria|relicensing procedure]].
|fr=Paramètre utilisé dans le cadre du [[Commons:Critères pour accorder une double licence GFDL et CC-BY-SA|passage en double licence]].
}}
|5def=
|5stat=optional-
|name=Self
|desc={{Mld
|en=Template used to surround one or several license tags
|fr=Modèle utilisé pour encadrer un ou plusieurs bandeaux de licence
}}
|namespace=File
|usergroup=all
|placement=
|usage-notes={{Mld
|en=This template supports the inclusion of up to 6 licenses.
|fr=Ce modèle autorise jusqu’à six licences.
}}
|type=license
|example=
|i18n-method=mediawiki-msg
|i18n-desc=
|seealso=
|setscats=*[[:Category:Self-published work]]
|lines=
|shorthand=
|relieson=
}}


== Usage ==
== Example ==
This template supports the inclusion of up to 6 licenses.
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" width=500px align=left
|-
!bgcolor=#CCCCFF|Variable
!bgcolor=#CCCCFF|Effect
|-
|author=Maite
|The author (optional parameter, do not use if you are the author)
|-
|colspan=2|
----
|-
|1=
|First license template
|-
|colspan=2|
----
|-
|2=
|Second license template (optional)
|-
|colspan=2|
----
|-
|attribution=
|Optional parameter if attribution note differs from "Author" (by default equal to author-parameter)
|}
<br clear=all>
==Example usage==
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" align=left
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" align=left
|-
|-
Line 54: Line 82:
|{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}}
|{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}}
|}
|}
<br />
<br />
== Internationalization ==
The translations of this template are done at http://www.translatewiki.net

Revision as of 16:15, 19 June 2010

English: Template used to surround one or several license tags
Français : Modèle utilisé pour encadrer un ou plusieurs bandeaux de licence

The template automatically sets the following categories:

Usage

{{Self |1= |author= |attribution= }}

English: This template supports the inclusion of up to 6 licenses.
Français : Ce modèle autorise jusqu’à six licences.

Template parameters

ParameterDescriptionDefaultStatus
1
English: License tag
Français : Bandeau de licence
emptyrequired
2
English: Other license tag
Français : Autre bandeau de licence
emptyoptional
author
Français : L’auteur de l’œuvre (ne pas utiliser si le verseur est l’auteur)
Zn: [update needed: zn] The author of the work (do not use if the uploader is the author)
emptyoptional
attribution
English: Attribution note, if different from "Author"
Français : Le texte d'attribution, si différent « Auteur »
Authoroptional
migration
English: Parameter used as part of the relicensing procedure.
Français : Paramètre utilisé dans le cadre du passage en double licence.
emptyoptional

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

Localization

This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).

Example

Code Effect
{{Self|cc-by-sa}} Lua error: expandTemplate: template "cc-by-sa" does not exist.

Code Effect
{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}} Lua error: expandTemplate: template "cc-by-sa-3.0,2.5,2.0,1.0" does not exist.

{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}} Lua error: expandTemplate: template "cc-by-sa-3.0,2.5,2.0,1.0" does not exist.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.