Difference between revisions of "Template:Self"

From Self-sufficiency
Jump to: navigation, search
(Allow self to be used without a license, with the expectation that someone will put the license below the self tag. This style of use improves machine readability.)
(adding fixes proposed on the talk page)
Line 1: Line 1:
 
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0;"
 
{| cellspacing="8" cellpadding="0" style="clear:both; margin:0.5em auto; background-color:#f0f0f0; border:2px solid #e0e0e0;"
| <center>'''''{{{author|I, the author of this work}}},''' hereby publish it under the following license{{#if: {{{2|}}}|s|}}:''</center>
+
| <center>'''''{{{author|I}}}, the author of this work,''' hereby publish{{#if: {{{author|}}}|es|}} 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>|}}
 
{{#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>
 
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly>
 
<noinclude>
 
<noinclude>
 +
{{Heavily used template}}
 
==Usage==
 
==Usage==
 
This template supports the inclusion of up to 6 licenses.
 
This template supports the inclusion of up to 6 licenses.

Revision as of 21:45, 26 March 2007

I, the author 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|cc-by-sa|cc-by-sa-2.5,2.0,1.0}}


I, the copyright holder of this work, hereby publish it under the following licenses:
Template:Cc-by-sa
[[<wm-license-cc-wiki-link>]]
<wm-license-cc-conditions-attribution-header> <wm-license-cc-conditions-share_alike-header>
<wm-license-cc-by-sa-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|cc-by-sa|cc-by-sa-2.5,2.0,1.0|author=Person}}


Person, the copyright holder of this work, hereby publishes it under the following licenses:
Template:Cc-by-sa
[[<wm-license-cc-wiki-link>]]
<wm-license-cc-conditions-attribution-header> <wm-license-cc-conditions-share_alike-header>
<wm-license-cc-by-sa-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.