Incubator and tests
edit- 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
edit- 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
editParameters 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.
Description of parameters
editAuthor
editAuthor = author's name, username or pseudonym e.g. |Author = Jane Smith e.g. |Author = [[User:Pengo|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
editThe person or entity placing the work under this license.
- GNU: Assumed to be the same as the author(s)
- CC: Licensor
Attribute
editAttribute =
- Additional attribution. Designates another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution.
URI
editURI =
A URI which will satisfy the attribution clause of the license.
- GFDL: as used by Wikipedia
- CC-by-sa-2.5: clause "4c"
If NoAttribute is also used, then this URI is optional.
NoAttribute
edit|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
edit|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
edit|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
edit|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
edit|Derivative = true
Is this a derivative work?
Do not use false. Instead: do not include this parameter.
Metaself
edit"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
edit"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
edit- Multiple templates
- Is the license presumed? (I...GDFL)
- license this work is a derivative of
- use same URI as wikipedia demands (and/or alternative?)