You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Self/doc

From Wikitech-static
< Template:Self
Revision as of 05:39, 24 February 2016 by imported>BryanDavis (1 revision imported from meta:Template:Self/doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This documentation subpage contains instructions, categories, or other information that is not part of the template. To view the Template page itself, see Template:Self.
Language: English

Usage

This template supports the inclusion of up to 6 licenses.

Variable Effect
author = The author (optional parameter, do not use if you are the effective author)
1 = First license template
2 = Second license template (optional)

Examples of usage

Wiki code Effect
{{Self|cc-by-sa-2.5}}
I, the copyright holder of this work, hereby publish it under the following license:
CC
BY SA
⧼wm-license-cc-by-sa-2.5-text⧽
{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}}
I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head ⧼Wm-license-gfdl-1.2-and-later⧽

⧼wm-license-cc-wiki-link⧽
⧼wm-license-cc-conditions-attribution-header⧽ ⧼wm-license-cc-conditions-share_alike-header⧽
⧼wm-license-cc-by-sa-3.0-2.5-2.0-1.0-text⧽
⧼wm-license-cc-free⧽
  • ⧼wm-license-cc-free-to-share-header⧽: ⧼wm-license-cc-free-to-share-text⧽
  • ⧼wm-license-cc-free-to-remix-header⧽: ⧼wm-license-cc-free-to-remix-text⧽

⧼wm-license-cc-conditions⧽
  • ⧼wm-license-cc-conditions-attribution-header⧽: ⧼wm-license-cc-conditions-attribution-text⧽
  • ⧼wm-license-cc-conditions-share_alike-header⧽: ⧼wm-license-cc-conditions-share_alike-text⧽
You may select the license of your choice.
{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}}
Person, the copyright holder of this work, has published or hereby publishes it under the following licenses:
GNU head ⧼Wm-license-gfdl-1.2-and-later⧽

⧼wm-license-cc-wiki-link⧽
⧼wm-license-cc-conditions-attribution-header⧽ ⧼wm-license-cc-conditions-share_alike-header⧽
⧼wm-license-cc-by-sa-3.0-2.5-2.0-1.0-text⧽
⧼wm-license-cc-free⧽
  • ⧼wm-license-cc-free-to-share-header⧽: ⧼wm-license-cc-free-to-share-text⧽
  • ⧼wm-license-cc-free-to-remix-header⧽: ⧼wm-license-cc-free-to-remix-text⧽

⧼wm-license-cc-conditions⧽
  • ⧼wm-license-cc-conditions-attribution-header⧽: ⧼wm-license-cc-conditions-attribution-text⧽
  • ⧼wm-license-cc-conditions-share_alike-header⧽: ⧼wm-license-cc-conditions-share_alike-text⧽
You may select the license of your choice.

Internationalization

To create a new translation of this template, create a new subpage with the correct language code and use this syntax:

{{Self/layout | lang = {{subst:SUBPAGENAME}}
 | text = '''<!--
-->{{#if: {{{author|}}} | {{{author|}}} | I }}, the copyright holder of this work,''' <!--
-->{{#if: {{{author|}}} | has published or hereby publishes | hereby publish }} it <!--
-->under the following license{{#if: {{{2|}}} | s |}}:
 | 1 = {{{1|}}} | 2 = {{{2|}}} | 3 = {{{3|}}} | 4 = {{{4|}}} | 5 = {{{5|}}} | 6 = {{{6|}}}
 | select = You may select the license of your choice.
}}<noinclude>{{Translated tag|Self}}</noinclude>