Difference between revisions of "Template:TemplateSandbox"

From Elite Wiki
m
m
Line 18: Line 18:
 
{{#if: {{{1}}} |
 
{{#if: {{{1}}} |
 
  {{#switch: {{{1}}}
 
  {{#switch: {{{1}}}
   | CC-by = [http://creativecommons.org/licenses/by/3.0/ {{{1}}}]
+
   | CC-by = [http://creativecommons.org/licenses/by/3.0 CC-by-3.0]
   | CC-by-nd = [http://creativecommons.org/licenses/by-nd/3.0/ {{{1}}}]
+
   | CC-by-nd = [http://creativecommons.org/licenses/by-nd/3.0 CC-by-nd-3.0]
   | CC-by-nc-sa = [http://creativecommons.org/licenses/by-nc-sa/3.0/ {{{1}}}]
+
   | CC-by-nc-sa = [http://creativecommons.org/licenses/by-nc-sa/3.0 CC-by-nc-sa-3.0]
   | CC-by-sa = [http://creativecommons.org/licenses/by-sa/3.0/ {{{1}}}]
+
   | CC-by-sa = [http://creativecommons.org/licenses/by-sa/3.0 CC-by-sa-3.0]
   | CC-by-nc = [http://creativecommons.org/licenses/by-nc/3.0/ {{{1}}}]
+
   | CC-by-nc = [http://creativecommons.org/licenses/by-nc/3.0 CC-by-nc-3.0]
   | CC-by-nc-nd = [http://creativecommons.org/licenses/by-nc-nd/3.0/ {{{1}}}
+
   | CC-by-nc-nd = [http://creativecommons.org/licenses/by-nc-nd/3.0 CC-by-nc-nd-3.0}
   | publicdomain = [http://creativecommons.org/publicdomain/mark/1.0/ Public Domain]
+
   | publicdomain = [http://creativecommons.org/publicdomain/mark/1.0 Public Domain]
 
   | #default = {{{1|none}}}
 
   | #default = {{{1|none}}}
 
  }}
 
  }}
 
  | none
 
  | none
 
}}
 
}}

Revision as of 14:39, 5 June 2012

Template for messing with template syntax.

{{{param1}}} I has a param2



This template links to License Deeds pages on Creative Commons.

Included are CC licenses (CC-by, CC-by-nd, CC-by-nc-sa, CC-by-sa, CC-by-nc, CC-by-nc-nd and publicdomain) 3.0.

Usage: {{OXPLicense|CC-by-nc-sa}}


none