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)
sims>Duskey
(update)
Line 1: Line 1:
;Under construction: 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.
;Description: New template for files under the [http://creativecommons.com Creative Commons] license.
;Notes: Puts files in [[:Category:Creative Commons license files]].
;Syntax
;Syntax
<pre>{{License cc
<pre>{{License 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 extent. Note experiences on the [[Template talk:License cc|talk page]].
;Example
<pre>{{License cc
<pre>{{License 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
{{License 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|{{PAGENAME}}]]</noinclude>
}}<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 10:57, 23 August 2010

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