Difference between revisions of "Template:TemplateSandbox"
From Elite Wiki
m |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{ {{#if: {{{param2|}}} | {{{param2}}} | ns:0}} }} |
{{ {{#if: {{{param2|}}} | {{{param2}}} | ns:0}} }} |
||
− | |||
− | <noinclude> |
||
− | This template links to License Deeds pages on [http://creativecommons.org/licenses/ Creative Commons]. |
||
− | |||
− | Included are CC licenses (by, by-nd, by-nc-sa, by-sa, by-nc, by-nc-nd and publicdomain) 3.0. |
||
− | |||
− | Usage: |
||
− | <nowiki> |
||
− | {{OXPLicense|cc-by-nc-sa}} |
||
− | </nowiki> |
||
− | </noinclude> |
||
− | |||
− | {{#if: {{{1}}} | |
||
− | {{#switch: {{{1}}} |
||
− | | by = [http://creativecommons.org/licenses/by/3.0/ {{{1}}}] |
||
− | | by-nd = [http://creativecommons.org/licenses/by-nd/3.0/ {{{1}}}] |
||
− | | by-nc-sa = [http://creativecommons.org/licenses/by-nc-sa/3.0/ {{{1}}}] |
||
− | | by-sa = [http://creativecommons.org/licenses/by-sa/3.0/ {{{1}}}] |
||
− | | by-nc = [http://creativecommons.org/licenses/by-nc/3.0/ {{{1}}}] |
||
− | | by-nc-nd = [http://creativecommons.org/licenses/by-nc-nd/3.0/ {{{1}}} |
||
− | | publicdomain = [http://creativecommons.org/publicdomain/mark/1.0/ Public Domain] |
||
− | | #default = {{{1|none}}} |
||
− | }} |
||
− | | none |
||
− | }} |
Latest revision as of 15:42, 5 June 2012
Template for messing with template syntax.
{{{param1}}} I has a param2