Template:CC

From Wikinews, the free news source you can write!
Jump to navigation Jump to search



The documentation is transcluded from Template:CC/doc because it needs to transclude the template itself.

Usage[edit]

{{CC|nc=|nd=|sa=1|ver=2.5}}

The above would create a CC-BY-SA-2.5 tag:



It's really quite simple.

  • If it is Non-Commercial, put something (could be anything!) after nc=.
  • If it is NoDerivatives, put something after nd=.
  • If it is ShareAlike, put something after sa=.
  • Put the version (1.0, 2.5, whatever) after ver=.

And that's it.

Examples[edit]

CC-BY-NC-2.0[edit]

{{CC|nc=HI MOM|nd=|sa=|ver=2.0}}


CC-BY-NC-SA-3.0[edit]

{{CC|nc=0|nd=|sa=Infinity|ver=3.0}}


CC-BY-NC-ND-1.0[edit]

{{CC|nc=!|nd=!|sa=|ver=1.0}}



etc. etc.

Notes[edit]

  • Prints RDF metadata, but the MediaWiki parser just chews that up.
  • CC-BY-NC-ND-1.0 is not technically the correct license (the ND and NC should be switched around), though I believe this to be only for version 1.0

See also[edit]

  • {{PD}} - for public domain licenses

External links[edit]