Jump to content

User:Pengo/testaa

From Wikipedia, the free encyclopedia

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.

I, the author of this work, hereby publish it under the following licence{{tlx|Qif|test=0:
{{Qif}} {{Qif}} {{Qif}} {{Qif}}

Self licenses

[edit]

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

[edit]

To declare that you license a work under another license:

{{self|license 1}}

For example:

{{self|GFDL}}

Usage with two licenses

[edit]

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

{{self|license 1|license 2}}

For example:

{{self|GFDL|cc-by-sa-2.5,2.0,1.0}}

(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

[edit]

Pseudo example:

{{self|t1={{GFDL}} }}

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

{{self|cc-by-sa-2.5|t1={{GFDL|foo=bar}} }}

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