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 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
[[description::This template serves to display '''copyright information''' on file pages.]] | [[description::This template serves to display '''copyright information''' on file pages.]] It stores the used license as [[Property:type_copyright]]. The license selection list is defined in [[MediaWiki:Licenses]]. | ||
=== Parameters === | === Parameters === | ||
Line 6: | Line 6: | ||
*non_commercial | *non_commercial | ||
*cc_sa | *cc_sa | ||
*display | |||
*unknown | *unknown | ||
Line 17: | Line 18: | ||
__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 }}|display|This file is licensed only for display on [http://www.univie.ac.at/lexlep/ {{SITENAME}}] and should not be downloaded and used without permission from the copyright holder.{{#vardefine: ok | 1 }}[[type_copyright::Only for Display on {{SITENAME}}| ]]}}{{#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 17:33, 16 October 2013
This template serves to display copyright information on file pages. It stores the used license as Property:type_copyright. The license selection list is defined in MediaWiki:Licenses.
Parameters
- public_domain
- non_commercial
- cc_sa
- display
- 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.