Difference between revisions of "Template:Self"

From Self-sufficiency
Jump to: navigation, search
(update with autotranslation template)
m (Reverted edits by Alno (talk) to last revision by Lokal Profil)
Line 1: Line 1:
 +
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0;"
 +
| <center>'''''{{{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|}}:''</center>
 +
{{#if: {{{1|}}}|{{{{{1}}}}}|}} {{#if: {{{2|}}} |{{{{{2}}}}}}} {{#if: {{{3|}}} |{{{{{3}}}}}}} {{#if: {{{4|}}} |{{{{{4}}}}}}} {{#if: {{{5|}}} |{{{{{5}}}}}}} {{#if: {{{6|}}} |{{{{{6}}}}}}} {{#if: {{{2|}}}|<center>{{lang|en|''You may select the license of your choice.''}}</center>|}}
 +
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 
{{Heavily used template}}
 
{{Heavily used template}}
 +
==Usage==
 +
This template supports the inclusion of up to 6 licenses.
 +
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" width=500px align=left
 +
|-
 +
!bgcolor=#CCCCFF|Variable
 +
!bgcolor=#CCCCFF|Effect
 +
|-
 +
|author=
 +
|The author (optional parameter, do not use if you are the author)
 +
|-
 +
|colspan=2|
 +
----
 +
|-
 +
|1=
 +
|First license template
 +
|-
 +
|colspan=2|
 +
----
 +
|-
 +
|2=
 +
|Second license template (optional)
 +
|}
 +
<br clear=all>
 +
==Example usage==
 +
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" align=left
 +
|-
 +
!bgcolor=#CCCCFF|Code
 +
!bgcolor=#CCCCFF|Effect
 +
|-
 +
|<nowiki>{{Self|cc-by-sa}}</nowiki>
 +
|{{Self|cc-by-sa}}
 +
|-
 +
|colspan=2|
 +
----
 +
|-
 +
!bgcolor=#CCCCFF|Code
 +
!bgcolor=#CCCCFF|Effect
 +
|-
 +
|<nowiki>{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}}</nowiki>
 +
|{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}}
 +
|-
 +
|colspan=2|
 +
----
 +
|-
 +
|<nowiki>{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}}</nowiki>
 +
|{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}}
 +
|}
  
</noinclude>{{Autotranslate|base=Self}}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly><noinclude>
+
[[Category:Helper templates|Self]]</noinclude>
 
+
Any media bearing this template are automatically added to [[:Category:Self-published work]].
+
 
+
{{documentation}}
+
 
+
[[Category:Helper templates|{{PAGENAME}}]]
+
</noinclude>
+

Revision as of 15:58, 26 November 2008

I, the copyright holder of this work, hereby publish it under the following license:

Template:Heavily used template

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 author)

1= First license template

2= Second license template (optional)


Example usage

Code Effect
{{Self|cc-by-sa}}


I, the copyright holder of this work, hereby publish it under the following license:
Template:Cc-by-sa

Code Effect
{{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:
This template should only be used on image pages.
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, hereby publishes it under the following licenses:
This template should only be used on image pages.
You may select the license of your choice.