User:Pengo/self

Incubator and tests

 * User:Pengo/testself incubator for self template
 * User:Pengo/testselfb tests for above
 * User:Pengo/GFDL1.2 replacement for GFDL template
 * User:Pengo/autest test template subst'ing author and url
 * User:Pengo/autestb tests for above

Version history

 * User:Pengo/testa -- Simple version (3 license names)
 * User:Pengo/testaa -- Allowing templates version (3 license names + 3 templates) (broken)
 * User:Pengo/testself -- Version that passes on parameters (3 license names, plus params) (in progress)

Parameters
Parameters to allow for free licenses. All parameters are optional.

|Author = |Licensor = |Attribute = |URI = |NoAttribute = true |Disclaimer = true |Disclaimer = optional |NoLaterVersions = true |Self = true |Derivative = true |Metaself = (do not use) |Metamulti = (do not use)

Do not use false. Instead: do not include the parameter.

Author
Author = author's name, username or pseudonym e.g. |Author = Jane Smith e.g. |Author = Peter Galaxy

The author or creator of the work
 * GFDL: principal author or authors
 * CC: Original Author

If left blank, the author should be on the Image Description Page (IDP), or if used in combination with Self = true then it is assumed to be the original uploader of the file.

Licensor
The person or entity placing the work under this license.
 * GNU: Assumed to be the same as the author(s)
 * CC: Licensor

Attribute
Attribute =


 * Additional attribution. Designates another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution.

URI
URI =

A URI which will satisfy the attribution clause of the license. If NoAttribute is also used, then this URI is optional.
 * GFDL: as used by Wikipedia
 * CC-by-sa-2.5: clause "4c"

NoAttribute
|NoAttribute = true

"No attribution needed". The licensee is not required to attribute the work to the original author(s), licensor or to parties listed under "additional attribution". Also the URI specified becomes only an optional requirement.


 * GFDL 1.2: 4B: "they release you from this requirement"
 * CC: License excludes "BY" licensing element

Do not use false. Instead: do not include this parameter.

Disclaimer
|Disclaimer = true

Include the Wikipedia disclaimer for GFDL works. All old uses of GFDL will have this clause added. New works will have it as optional.

|Disclaimer = optional

Do not use false. Instead: do not include this parameter.

NoLaterVersions
|NoLaterVersions = true

This settings means the licensor does not permit the use of later versions of the license (e.g. GFDL or CC)

Do not use false. Instead: do not include this parameter.

Self
|Self = true

The Licensor is the Author is "I, the author of this work"

Do not use false. Instead: do not include this parameter.

Derivative
|Derivative = true

Is this a derivative work?

Do not use false. Instead: do not include this parameter.

Metaself
"System use only." Do not alter this variable. For use by meta-templates so one template Self can note to its sub-templates that the "I, ..." part has already been done. e.g. for GDFL-self (uses true or empty)

Metamulti
"System use only." Do not alter this variable. For use by meta-templates so one template Multi can note to its sub-templates that the "I multilicense my contributions, ..." part has already been done. e.g. for PD-self and PD. Perhaps combined with above. (uses true or empty)

Not included

 * Multiple templates
 * Is the license presumed? (I...GDFL)
 * license this work is a derivative of
 * use same URI as wikipedia demands (and/or alternative?)