Template:Self/doc: Difference between revisions
Template page
More actions
No edit summary |
Update using {{TemplateBox}} |
||
| Line 1: | Line 1: | ||
{{ | {{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= | |||
}} | |||
== Example == | |||
==Example | |||
{|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}} | ||
|} | |} | ||
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
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | English: License tag Français : Bandeau de licence | empty | required | |
2 | English: Other license tag Français : Autre bandeau de licence | empty | optional | |
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) | empty | optional | |
attribution | English: Attribution note, if different from "Author" Français : Le texte d'attribution, si différent « Auteur » | Author | optional | |
migration | English: Parameter used as part of the relicensing procedure. Français : Paramètre utilisé dans le cadre du passage en double licence. | empty | optional | |
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. |