Difference between revisions of "Template:CC/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Removing unused foreign-language links)
m (SVG can't be used on this wiki)
 
Line 4: Line 4:
 
;Dependencies
 
;Dependencies
 
:* Uses the following files:
 
:* Uses the following files:
:** [[:File:CC some rights reserved.svg]]
+
:** [[:File:CC some rights reserved.png]]
:** [[:File:Cc-by new.svg]]
+
:** [[:File:Cc-by new.png]]
:** [[:File:Cc-sa.svg]]
+
:** [[:File:Cc-sa.png]]
:** [[:File:Cc-nc.svg]]
+
:** [[:File:Cc-nc.png]]
:** [[:File:Cc-nd.svg]]
+
:** [[:File:Cc-nd.png]]
 
;Syntax
 
;Syntax
 
:<code>{{t|CC|mod&#61;|ver&#61;|details&#61;}}</code>
 
:<code>{{t|CC|mod&#61;|ver&#61;|details&#61;}}</code>

Latest revision as of 03:18, 17 April 2016

Description
Makes a license link to the Creative Commons website. Image description pages with this template will be added to various categories depending on the values passed to the parameters.
Dependencies
Syntax
{{CC|mod=|ver=|details=}}
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
{{CC}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution 4.0 license.


{{CC|details=By Gargomel Rassnfrassn on 29 Feb 2012.}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution 4.0 license.


Attribution details: By Gargomel Rassnfrassn on 29 Feb 2012.


{{CC|mod=|ver=2.0}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution 2.0 license.


{{CC|mod=sa}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution-ShareAlike 4.0 license.


{{CC|mod=nd}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution-NoDerivatives 4.0 license.


{{CC|mod=nc}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial 4.0 license.


{{CC|mod=nc-sa}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 license.


{{CC|mod=nc-nd}}
gives...
CC
BY
This template and it's documentation are licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 license.