Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Self/doc: Difference between revisions

Template page
init
 
+more info
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


== 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}}
|}
<br />
<br />
== Internationalization ==
To create a new language version of this template, create a new subpage and use this code:
To create a new language version of this template, create a new subpage and use this code:



Revision as of 14:04, 26 November 2008

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}} Lua error: expandTemplate: template "cc-by-sa" does not exist.

Code Effect
{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0}} Lua error: expandTemplate: template "cc-by-sa-3.0,2.5,2.0,1.0" does not exist.

{{Self|GFDL|cc-by-sa-3.0,2.5,2.0,1.0|author=Person}} Lua error: expandTemplate: template "cc-by-sa-3.0,2.5,2.0,1.0" does not exist.



Internationalization

To create a new language version of this template, create a new subpage and use this code:

{{Self/layout
|1={{{1|}}}
|2={{{2|}}}
|3={{{3|}}}
|4={{{4|}}}
|5={{{5|}}}
|6={{{6|}}}
|lang={{subst:{{SUBPAGENAME}}}}
|text='''{{{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|}}
|select=You may select the license of your choice.
}}<noinclude>

{{translated tag|license}}
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.