Template:Self2/doc: Difference between revisions
(create page) |
m (licence to license) |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
|1=1 | |1=1 | ||
|1d | |1d=License tag | ||
|1def= | |1def= | ||
|1stat=required | |1stat=required | ||
|2=2 | |2=2 | ||
|2d | |2d=Other license tag | ||
|2def= | |2def= | ||
|2stat=optional- | |2stat=optional- | ||
|3=author | |3=author | ||
|3d | |3d=The author of the work (do not use '''Self2''' if the uploader is the author) | ||
|3def= | |3def= | ||
|3stat= | |3stat=required | ||
|4=attribution | |4=attribution | ||
|4d | |4d=Attribution note, if different from “Author” | ||
|4def=<tt>Author</tt> | |4def=<tt>Author</tt> | ||
|4stat=optional | |4stat=optional | ||
|5=migration | |5=migration | ||
|5d | |5d=Parameter used as part of the [[Commons:GFDL 1.3 relicensing criteria|relicensing procedure]]. | ||
|5def= | |5def= | ||
|5stat=optional- | |5stat=optional- | ||
|name= | |name=Self2 | ||
|desc | |desc=Template used to surround one or several license tags. Used ONLY for '''''second-person''''' authors who previously published their license(s) elsewhere. Always use the "author" parameter for this template! | ||
|namespace=File | |namespace=File | ||
|usergroup=all | |usergroup=all | ||
|placement= | |placement=license | ||
|usage-notes | |usage-notes=This template supports the inclusion of up to 6 licenses. | ||
|type=license | |type=license | ||
|example= | |example= | ||
| Line 52: | Line 38: | ||
|relieson= | |relieson= | ||
}} | }} | ||
<div style="float: left; width: 147%"> | |||
== | == Examples == | ||
{| 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 60: | Line 46: | ||
! bgcolor="#CCCCFF" | Effect | ! bgcolor="#CCCCFF" | Effect | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{Self2|cc-by-3.0|author=Delbert}}</nowiki> | ||
| {{ | | {{Self2|cc-by-3.0|author=Delbert}} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
| Line 70: | Line 56: | ||
! bgcolor="#CCCCFF" | Effect | ! bgcolor="#CCCCFF" | Effect | ||
|- | |- | ||
| <nowiki>{{ | | <nowiki>{{Self2|GFDL|cc-by-2.0|author=[http://commons.wikimedia.org/wiki/User:OldakQuill OldakQuill]}}</nowiki> | ||
| {{ | | {{Self2|GFDL|cc-by-2.0|author=[http://commons.wikimedia.org/wiki/User:OldakQuill OldakQuill]}} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
{{-}}</div> | |||
Latest revision as of 17:34, 29 April 2014
|
|
This is a documentation subpage for (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Template used to surround one or several license tags. Used ONLY for second-person authors who previously published their license(s) elsewhere. Always use the "author" parameter for this template!
The template automatically sets the following categories:
Usage
{{Self2|1=|author=|attribution=}}
This template supports the inclusion of up to 6 licenses.
Parameters
| Parameter name | Description | Default value | required or optional?
|
|---|---|---|---|
| parameter #1 (1) | License tag | empty | required |
| parameter #2 (2) | Other license tag | empty | optional |
| author | The author of the work (do not use Self2 if the uploader is the author) | empty | required |
| attribution | Attribution note, if different from “Author” | Author | optional |
| migration | Parameter used as part of the relicensing procedure. | 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
Placement: In the "permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licence" section
Examples
| Code | Effect | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| {{Self2|cc-by-3.0|author=Delbert}} |
| ||||||||
|
| |||||||||
| Code | Effect | ||||||||
| {{Self2|GFDL|cc-by-2.0|author=[http://commons.wikimedia.org/wiki/User:OldakQuill OldakQuill]}} |
| ||||||||