Template:Self: Difference between revisions
More actions
{{{lang}}} -> {{int:lang}} |
Fulfilling edit request by Magog the Ogre. Thanks for helping. |
||
| Line 11: | Line 11: | ||
}} | }} | ||
}}'''</center><!-- | }}'''</center><!-- | ||
-->{{#if: {{{1|}}} |{{{{{1}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{1|}}} |{{{{{1}}}|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: {{{2|}}} |{{{{{2}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{2|}}} |{{{{{2}}}|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: {{{3|}}} |{{{{{3}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{3|}}} |{{{{{3}}}|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: {{{4|}}} |{{{{{4}}}|attribution={{#if: {{{attribution|}}} | {{{attribution|}}} | {{{author|}}} }}|migration={{License migration is redundant multiple|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}}}}}}<!-- | -->{{#if: {{{4|}}} |{{{{{4}}}|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|}}}|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|}}}|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 more than one licence, you can select one: | If more than one licence, you can select one: | ||
-->{{#if: {{{2|}}}|<center>{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</center>|}} | -->{{#if: {{{2|}}}|<center>{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</center>|}} | ||
Revision as of 07:18, 17 August 2012
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0; direction: Template:Dir; " class="licensetpl_wrapper" |
|}
- This template will categorize into Category:Self-published work.
Template used to surround one or several license tags
The template automatically sets the following categories:
- Category:Self-published work
- Category:Files with invalid parameter in Self template if a invalid license like PD-old is specified for the first parameter.
Usage
{{Self |1= |author= |attribution= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | License tag | empty | required | |
2 | Other license tag. There is unlimited number of numbered inputs allowed for additional license tags. | 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. | empty | optional | |
... | Any other named parameter will be passed to all the license templates | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: In the "Permission" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licensing" section
Localization
This template is localized by utilizing MediaWiki namespace messages. These can be translated at translatewiki.net (current translations).
Examples
| Code | Effect | ||||||
|---|---|---|---|---|---|---|---|
| {{Self|cc-by-sa-4.0}} |
| ||||||
| Code | Effect | ||||||
| {{Self|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0}} |
| ||||||
| Code | Effect | ||||||
| {{Self|GFDL|cc-by-sa-4.0,3.0,2.5,2.0,1.0|author=Person}} |
| ||||||