This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Self: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Alno
m Reverted edits by Alno (talk) to last revision by Lokal Profil
imported>Eclecticology
remove link to undefined template
 
(19 intermediate revisions by 6 users not shown)
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; direction: {{Dir|{{int:lang}}}}; " class="licensetpl_wrapper"
| <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>
| <center>'''{{lang|{{int:lang}}|{{#if:{{{author|}}}
{{#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:{{{2|}}}
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly>
  | {{int:wm-license-self-multiple-licenses-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
<noinclude>
  | {{int:wm-license-self-one-license-with-author|<span class="licensetpl_aut">{{{author|}}}</span>}}
{{Heavily used template}}
  }}
==Usage==
|{{#if:{{{2|}}}
This template supports the inclusion of up to 6 licenses.
  | {{int:wm-license-self-multiple-licenses}}
{|cellpadding="10" cellspacing="2" style="border:1px solid black; background-color:#e6e9ff;" width=500px align=left
  | {{int:wm-license-self-one-license}}
|-
  }}
!bgcolor=#CCCCFF|Variable
}}
!bgcolor=#CCCCFF|Effect
}}'''</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|}}}}}}}}}<!--
|author=
-->{{#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|}}}}}}}}}<!--
|The author (optional parameter, do not use if you are the author)
-->{{#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: {{{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|}}}}}}}}}<!--
|colspan=2|
-->{{#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: {{{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 more than one licence, you can select one:
|1=
-->{{#if: {{{2|}}}|<center>{{lang|{{int:lang}}|''{{int:wm-license-self-multiple-licenses-select}}''}}</center>|}}
|First license template
|}<includeonly>{{#ifeq:{{NAMESPACE}}|File|{{{category|[[Category:Self-published work|{{PAGENAME}}]]}}}}}</includeonly><noinclude>
|-
|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}}
|}


[[Category:Helper templates|Self]]</noinclude>
{{In category|Self-published work}}
 
{{documentation}}
 
[[Category:Helper templates|Self]]
[[Category:Autotranslated templates|Self]]
</noinclude>

Latest revision as of 07:31, 8 January 2013

⧼wm-license-self-one-license⧽
This template will categorize into Category:Self-published work.
Documentation


Template:Self/documentation