Open main menu

Project: Gorgon Wiki β

Changes

Template:CC/doc

1,988 bytes added, 04:14, 17 April 2016
Initial setup. Copy-over from http://templates.wikia.com/wiki/Template:CC/doc
{{SPW|is not on|name=CC}}
;Description
:Makes a license link to the <span class="plainlinks">[//creativecommons.org/ Creative Commons website]</span>. Image description pages with this template will be added to various categories depending on the values passed to the parameters.
;Dependencies
:* Uses the following files:
:** [[:File:CC some rights reserved.svg]]
:** [[:File:Cc-by new.svg]]
:** [[:File:Cc-sa.svg]]
:** [[:File:Cc-nc.svg]]
:** [[:File:Cc-nd.svg]]
;Syntax
:<code>{{t|CC|mod&#61;|ver&#61;|details&#61;}}</code>
;Parameters
* '''mod=''' (default gives "Attribution")
** sa = Attribution-ShareAlike
** nd = Attribution-NoDerivatives
** nc = Attribution-NonCommercial
** nc-sa = Attribution-NonCommercial-ShareAlike
** nc-nd = Attribution-NonCommercial-NoDerivatives
* '''ver=''' (default: 4.0) check link if you use a non-default version #
** Some valid options: 1.0, 2.0, 2.5, 3.0
* '''details=''' ''Optional'' attribution details
;Sample output
:<code><nowiki>{{CC}}</nowiki></code>
::gives...
:{{CC|category=}}
<br/>
:<code><nowiki>{{CC|details=By Gargomel Rassnfrassn on 29 Feb 2012.}}</nowiki></code>
::gives...
:{{CC|details=By Gargomel Rassnfrassn on 29 Feb 2012.|category=}}
<br/>
:<code><nowiki>{{CC|mod=|ver=2.0}}</nowiki></code>
::gives...
:{{CC|mod=|ver=2.0|category=}}
<br/>
:<code><nowiki>{{CC|mod=sa}}</nowiki></code>
::gives...
:{{CC|mod=sa|category=}}
<br/>
:<code><nowiki>{{CC|mod=nd}}</nowiki></code>
::gives...
:{{CC|mod=nd|category=}}
<br/>
:<code><nowiki>{{CC|mod=nc}}</nowiki></code>
::gives...
:{{CC|mod=nc|category=}}
<br/>
:<code><nowiki>{{CC|mod=nc-sa}}</nowiki></code>
::gives...
:{{CC|mod=nc-sa|category=}}
<br/>
:<code><nowiki>{{CC|mod=nc-nd}}</nowiki></code>
::gives...
:{{CC|mod=nc-nd|category=}}

<includeonly>
[[Category:Image wiki templates]]
[[ja:Template:CC]]
[[tl:Suleras:CC]]
[[zh:Template:CC]]</includeonly><noinclude>
[[Category:Template documentation]]
[[ja:Template:CC/doc]]
[[tl:Suleras:CC/doc]]
[[zh:Template:CC/doc]]</noinclude>
1,071
edits