Template:Copy: Difference between revisions
Jump to navigation
Jump to search
Documentation
m (Text replacement - "Category\:(.*)\]\]" to "Category:DPL templates]] Category:$1") |
(started treatment of abbreviated CC licenses - also link to proper section at ChoralWiki:Creative Commons) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{# | {{#switch:{{#explode:{{{1|}}}| |0}} | ||
|Creative='''Copyright:''' [[ChoralWiki:Creative Commons#{{#replaceset:{{{1}}}|Creative Commons Attribution=CC BY|Non-Commercial=NC|Noncommercial=NC|Share Alike=SA|No Derivatives=ND}}|{{#replaceset:{{{1}}}|Creative Commons Attribution=CC BY|Non-Commercial=NC|Noncommercial=NC|Share Alike=SA|No Derivatives=ND}}]] | |||
|CC='''Copyright:''' [[ChoralWiki:Creative Commons#{{{1}}}|{{{1}}}]] | |||
|'''Copyright:''' [[ChoralWiki:{{{1}}}|{{{2|{{{1}}}}}}]] | |'''Copyright:''' [[ChoralWiki:{{{1}}}|{{{2|{{{1}}}}}}]] | ||
}}<noinclude> | }}<noinclude> | ||
{{Doc|text= | |||
This simple template is used on every CPDL edition. It formats the text '''Copyright:''' and creates a link to the appropriate copyright section at the help pages. | |||
;Examples | |||
{{tl|Copy|CPDL}} produces: | |||
:{{Copy|CPDL}} | |||
{{tl|Copy|Creative Commons Attribution Share Alike}} produces: | |||
:{{Copy|Creative Commons Attribution Share Alike}} | |||
{{tl|Copy|CC BY SA 3.0}} produces: | |||
:{{Copy|CC BY SA 3.0}} | |||
}} | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 18:09, 22 November 2020
Copyright: [[ChoralWiki:{{{1}}}|{{{1}}}]]
This simple template is used on every CPDL edition. It formats the text Copyright: and creates a link to the appropriate copyright section at the help pages.
- Examples
{{Copy|CPDL}} produces:
- Copyright: CPDL
{{Copy|Creative Commons Attribution Share Alike}} produces:
- Copyright: CC BY SA
{{Copy|CC BY SA 3.0}} produces:
- Copyright: CC BY SA 3.0