Difference between revisions of "Template:Self"
From RRU Knowledge Base
Jessietail (talk | contribs) (Created page with "{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0; " class="licensetpl_wrapper" | {{#ifexpr: {{Self/i...") |
Jessietail (talk | contribs) m (made same colour as other licensing templates) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:# | {| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#CEFFE0; border:2px solid #B6DEC5; " class="licensetpl_wrapper" | ||
| {{#ifexpr: {{Self/is-pd-expired|{{{1}}}}} or {{Self/is-pd-expired|{{{2}}}}} or {{Self/is-pd-expired|{{{3}}}}} or {{Self/is-pd-expired|{{{4}}}}} or {{Self/is-pd-expired|{{{5}}}}} or {{Self/is-pd-expired|{{{6}}}}} | | {{#ifexpr: {{Self/is-pd-expired|{{{1}}}}} or {{Self/is-pd-expired|{{{2}}}}} or {{Self/is-pd-expired|{{{3}}}}} or {{Self/is-pd-expired|{{{4}}}}} or {{Self/is-pd-expired|{{{5}}}}} or {{Self/is-pd-expired|{{{6}}}}} | ||
|<div style="color:red; font-size:150%; text-align:center">'''{{int:wm-license-self-invalid-parameter}}'''</div>[[Category:Files with invalid parameter in Self template]] | |<div style="color:red; font-size:150%; text-align:center">'''{{int:wm-license-self-invalid-parameter}}'''</div>[[Category:Files with invalid parameter in Self template]] | ||
Line 10: | Line 10: | ||
-->{{#if: {{{5|}}} |{{{{{5}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{5|}}} |{{{{{5}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | ||
-->{{#if: {{{6|}}} |{{{{{6}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{6|}}} |{{{{{6}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|{{{Migration|}}}}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | ||
--> | |||
--> | |}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published files|{{PAGENAME}}]]}}}}}</includeonly><noinclude> | ||
|}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published | ==Usage instructions== | ||
{{tlc|Self|License}} | |||
[[Category: | {| class="wikitable" | ||
|- | |||
! Parameter !! Description !! Default !! Status | |||
|- | |||
| <code>1</code> || License tag || <span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">empty</span> || '''required''' | |||
|- | |||
| <code>2</code> || Other license tag; up to 6 supported || <span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">empty</span> || optional | |||
|- | |||
| <code>author</code> || The author of the work (do not use if the uploader is the author) || <span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">empty</span> || optional | |||
|- | |||
| <code>attribution</code> || Attribution note, if different from “Author” || Author|| optional | |||
|- | |||
| <code>migration</code> || Parameter used as part of the [https://commons.wikimedia.org/wiki/Commons:GFDL_1.3_relicensing_criteria relicensing procedure] (what is this?). || <span class="mw-templatedata-doc-muted" style="color:#777; font-variant:small-caps">empty</span> || optional | |||
|} | |||
[[:Category:Self-published files]] | |||
[[Category:Licensing templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:22, 30 April 2018
I, the copyright holder of this work, hereby publish it under the following license:
|
Usage instructions
{{Self|License}}
Parameter | Description | Default | Status |
---|---|---|---|
1 |
License tag | empty | required |
2 |
Other license tag; up to 6 supported | empty | optional |
author |
The author of the work (do not use if the uploader is the author) | empty | optional |
attribution |
Attribution note, if different from “Author” | Author | optional |
migration |
Parameter used as part of the relicensing procedure (what is this?). | empty | optional |