Template:copyright: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
*unknown | *unknown | ||
=== | === Examples === | ||
The code <code><nowiki>{{copyright|cc_sa}}</nowiki></code> will display: | |||
{{copyright|cc_sa}} | {{copyright|cc_sa}} | ||
The code <code><nowiki>{{copyright|non_commercial}}</nowiki></code> will display: | |||
{{copyright|non_commercial}} | |||
__NOTOC__ | __NOTOC__ | ||
[[Category:Text Module]] | [[Category:Text Module]] | ||
</noinclude><includeonly>{{#vardefine: parameter | {{{1|}}} }}{{#vardefine: ok | 0 }}<div class="cshow">'''Copyright:'''<br />{{#ifeq: {{#var: parameter }}|public_domain|This file has been released into the '''public domain''' by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.{{#vardefine: ok | 1 }}[[type_copyright::Public Domain| ]]}}{{#ifeq: {{#var: parameter }}|cc_sa|This file is licensed under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution ShareAlike 3.0] License.{{#vardefine: ok | 1 }}[[type_copyright::Creative Commons Attribution ShareAlike 3.0| ]]}}{{#ifeq: {{#var: parameter }}|non_commercial|The copyright holder only allows this file to be used for '''non-commercial''' and/or '''educational''' purposes.{{#vardefine: ok | 1 }}[[type_copyright::Non-commercial or educational use| ]]}}{{#ifeq: {{#var: ok}}|0|There has not yet been defined any copyright condition for this file. You are '''not allowed''' to do anything with this file![[type_copyright::unknown| ]]}}</div></includeonly> | </noinclude><includeonly>{{#vardefine: parameter | {{{1|}}} }}{{#vardefine: ok | 0 }}<div class="cshow">'''Copyright:'''<br />{{#ifeq: {{#var: parameter }}|public_domain|This file has been released into the '''public domain''' by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.{{#vardefine: ok | 1 }}[[type_copyright::Public Domain| ]]}}{{#ifeq: {{#var: parameter }}|cc_sa|This file is licensed under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution ShareAlike 3.0] License.{{#vardefine: ok | 1 }}[[type_copyright::Creative Commons Attribution ShareAlike 3.0| ]]}}{{#ifeq: {{#var: parameter }}|non_commercial|The copyright holder only allows this file to be used for '''non-commercial''' and/or '''educational''' purposes.{{#vardefine: ok | 1 }}[[type_copyright::Non-commercial or educational use| ]]}}{{#ifeq: {{#var: ok}}|0|There has not yet been defined any copyright condition for this file. You are '''not allowed''' to do anything with this file![[type_copyright::unknown| ]]}}</div></includeonly> |
Revision as of 16:42, 27 August 2013
This template serves to display copyright information on file pages.
Parameters
- public_domain
- non_commercial
- cc_sa
- unknown
Examples
The code {{copyright|cc_sa}}
will display:
Copyright:
This file is licensed under the Creative Commons Attribution ShareAlike 3.0 License.
This file is licensed under the Creative Commons Attribution ShareAlike 3.0 License.
The code {{copyright|non_commercial}}
will display:
Copyright:
The copyright holder only allows this file to be used for non-commercial and/or educational purposes.
The copyright holder only allows this file to be used for non-commercial and/or educational purposes.