User:Pengo/testaa

This is a version of template:self that allows multiple templates, or generic templates. It's unlikely to ever work. see User:Pengo/testbb for test cases.

Self licenses
This template is a meta-template for declaring the license or licenses of your work. It may be used to list one, two or three licenses which apply to your work.

For more than one license, it's the other party who selects which license will apply to them.

If you list no licenses you will see an error message.

The names of the licenses include any existing license template. The common choices are:
 * GFDL
 * cc-by-sa-2.5,2.0,1.0
 * cc-by-sa-2.5
 * NoRightsReserved
 * PD-self

Usage with one license
To declare that you license a work under another license:

For example:

Usage with two licenses
To declare that you license a work under either of two license:

For example:

(for the purposes of this template cc-by-sa-2.5,2.0,1.0 counts as one license)

Advanced use: Usage with a sub-template
Pseudo example:

Licenses and sub-templates can be combined. Sub-templates may also hold parameters:

Up to three licenses and three templates (t1, t2, t3) can be combined.