Template:copyright: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Gudrun Bajc (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
</noinclude><includeonly>{{#if: {{{type_copyright|}}}|{{#vardefine: parameter| {{{type_copyright|}}} }}|{{#vardefine: parameter | {{{1|}}} }} }}{{#ifeq: {{#var: parameter}}|public_domain|{{#vardefine: parameter|Public Domain}} }}{{#ifeq: {{#var: parameter}}|cc_sa|{{#vardefine: parameter|Creative Commons Attribution ShareAlike 3.0}} }}{{#ifeq: {{#var: parameter}}|non_commercial|{{#vardefine: parameter|Non-commercial or educational use}} }}{{#ifeq: {{#var: parameter}}|display|{{#vardefine: parameter|Display only}} }}{{#vardefine: ok | 0 }} | </noinclude><includeonly>{{#if: {{{type_copyright|}}}|{{#vardefine: parameter| {{{type_copyright|}}} }}|{{#vardefine: parameter | {{{1|}}} }} }}{{#ifeq: {{#var: parameter}}|public_domain|{{#vardefine: parameter|Public Domain}} }}{{#ifeq: {{#var: parameter}}|cc_sa|{{#vardefine: parameter|Creative Commons Attribution ShareAlike 3.0}} }}{{#ifeq: {{#var: parameter}}|non_commercial|{{#vardefine: parameter|Non-commercial or educational use}} }}{{#ifeq: {{#var: parameter}}|display|{{#vardefine: parameter|Display only}} }}{{#vardefine: ok | 0 }} | ||
== Licensing == | == Licensing == | ||
<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 }} }}{{#ifeq: {{#var: parameter }}|Creative Commons Attribution ShareAlike 3.0|This file is licensed under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution ShareAlike 3.0] License.{{#vardefine: ok | 1 }} }}{{#ifeq: {{#var: parameter }}|Non-commercial or educational use|The copyright holder only allows this file to be used for '''non-commercial''' and/or '''educational''' purposes.{{#vardefine: ok | 1 }} }}{{#ifeq: {{#var: parameter }}|Display only|This file is licensed only for display on [http://www.univie.ac.at/raetica/ {{SITENAME}}] and should not be downloaded and used without permission from the copyright holder.{{#vardefine: ok | 1 }} }}{{#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!{{#vardefine: parameter| unknown }} }}[[type copyright::{{#var: parameter}}| ]] | <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 }} }}{{#ifeq: {{#var: parameter }}|Creative Commons Attribution ShareAlike 3.0|This file is licensed under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution ShareAlike 3.0] License.{{#vardefine: ok | 1 }} }}{{#ifeq: {{#var: parameter }}|Non-commercial or educational use|The copyright holder only allows this file to be used for '''non-commercial''' and/or '''educational''' purposes. In case of use, the prior written '''permission of the copyright holder''' is required.{{#vardefine: ok | 1 }} }}{{#ifeq: {{#var: parameter }}|Display only|This file is licensed only for display on [http://www.univie.ac.at/raetica/ {{SITENAME}}] and should not be downloaded and used without permission from the copyright holder.{{#vardefine: ok | 1 }} }}{{#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!{{#vardefine: parameter| unknown }} }}[[type copyright::{{#var: parameter}}| ]] | ||
</div></includeonly> | </div></includeonly> |
Latest revision as of 09:28, 4 June 2014
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
Allowed values of the Property:type copyright:
Public Domain, Creative Commons Attribution ShareAlike 3.0, Non-commercial or educational use, unknown, Display only
Examples
The code {{copyright|type_copyright=Public Domain}}
will display:
Licensing
Copyright:
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.
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.
The code {{copyright|non_commercial}}
will display:
Licensing
Copyright:
The copyright holder only allows this file to be used for non-commercial and/or educational purposes. In case of use, the prior written permission of the copyright holder is required.
The copyright holder only allows this file to be used for non-commercial and/or educational purposes. In case of use, the prior written permission of the copyright holder is required.
The code {{copyright}}
will display:
Licensing
Copyright:
There has not yet been defined any copyright condition for this file. You are not allowed to do anything with this file!
There has not yet been defined any copyright condition for this file. You are not allowed to do anything with this file!