Template:License cc/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>Duskey
m (fine tuning)
m (fix dead link)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
;Description: New template for files under the [https://creativecommons.org/ Creative Commons] license.
;Under construction
;Notes: Puts files in [[:Category:Creative Commons license files]].
:This template is still under construction, please do not use it yet.
;Description
:New template for files under the [http://creativecommons.com Creative Commons] license.
;Syntax
;Syntax
<pre>{{License cc
:'''CC''' must be in upper case.
<pre>{{CC
|version =
|version =
|by =
|sa =
|sa =
|nc =
|nd =
|attribution =
|attribution =
}}</pre>
}}</pre>
;Optional parameters
;Optional parameters
:All parameters are optional, but do fill in version. It's also bound to be under one of the conditions.
:All parameters are optional, but do fill in version. It's also bound to be under one of the conditions.
::Version is 2.0 2.5 or 3.0
::'''Version''' is 2.0, 2.5 or 3.0. None will assume version 1.0
::'''Attribution''' is the name of the author. Wiki-code works here, though keep it simple.
::Putting a '''y''' at by, sa, nc or nd is enough to trigger it ''(see example below)''
;Input:
::attribution is the name of the author. Wiki-code works here to some extend. Note experiences on the [[Template talk:CC|talk page]].
<pre>{{License cc
;Example
<pre>{{CC
|version = 3.0
|version = 3.0
|by = y
|sa = y
|sa = y
|nc = y
|nd = y
|attribution = [[User:Duskey|Duskey]]
|attribution = [[User:Duskey|Duskey]]
}}</pre>
}}</pre>
;Output:
Outputs: ''(though this is not an actual existing license)''
{{License cc
{{CC
|version = 3.0
|version = 3.0
|by = y
|sa = y
|sa = y
|nc = y
|nd = y
|attribution = [[User:Duskey|Duskey]]
|attribution = [[User:Duskey|Duskey]]
}}<noinclude>[[Category:Template documentation]]</noinclude>
}}<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:01, 10 May 2019

Description
New template for files under the Creative Commons license.
Notes
Puts files in Category:Creative Commons license files.
Syntax
{{License cc
|version     = 
|sa          = 
|attribution = 
}}
Optional parameters
All parameters are optional, but do fill in version. It's also bound to be under one of the conditions.
Version is 2.0, 2.5 or 3.0. None will assume version 1.0
Attribution is the name of the author. Wiki-code works here, though keep it simple.
Input
{{License cc
|version     = 3.0
|sa          = y
|attribution = [[User:Duskey|Duskey]]
}}
Output

Creative Commons:
This file is licensed under the Creative Commons BY-SA-3.0
Attribution: Duskey