Template:License: Difference between revisions

Template page
w:c:strategywiki>Trig Jegman
mNo edit summary
w:c:strategywiki>Prod
(simplify template)
Line 1: Line 1:
{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1|}}}
| screenshot | concept | artwork | texture | boxart | logo | icon | sprite | audio | video =
| cc by-sa 1.0 =''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/1.0/deed.en Creative Commons Attribution-ShareAlike 1.0]''' license.''[[Category:Media licensed under CC BY-SA 1.0]]
This file is subject to [[StrategyWiki:Copyrights|copyright]]. Copyright is most likely held by the company that published the game or media portrayed in the image. StrategyWiki's use of this work qualifies as '''fair use''' under '''[[Wikipedia:Fair use#U.S. fair use factors|United States copyright law]]''', or the author's permission is given. It is used on the wiki only in the belief that the information the image portrays is designed to be an accompaniment to playing the game or media, and its use here will not:''
| cc by 2.0 =''This file is distributed under the '''[https://creativecommons.org/licenses/by/2.0/deed.en Creative Commons Attribution 2.0]''' license.''[[Category:Media licensed under CC BY-SA 2.0]]
| cc by-sa 2.1 jp =''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en Creative Commons Attribution-ShareAlike 2.1 Japan]''' license.''[[Category:Media licensed under CC BY-SA 2.1]]
| cc by 2.5 =''This file is distributed under the '''[http://creativecommons.org/licenses/by/2.5/deed.en Creative Commons Attribution 2.5]''' license.''[[Category:Media licensed under CC BY 2.5]]
| cc by-sa 2.5 =''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/2.5/deed.en Creative Commons Attribution-ShareAlike 2.5]''' license.''[[Category:Media licensed under CC BY-SA 2.5]]
| cc by 3.0 =''This file is distributed under the '''[https://creativecommons.org/licenses/by/3.0/deed.en Creative Commons Attribution 3.0]''' license.''[[Category:Media licensed under CC BY 3.0]]
| cc by-sa 3.0 =''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/3.0/deed.en Creative Commons Attribution-ShareAlike 3.0]''' license.''[[Category:Media licensed under CC BY-SA 3.0]]
| cc by-sa 4.0 =''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/4.0/deed.en Creative Commons Attribution-ShareAlike 4.0]''' license.''[[Category:Media licensed under CC BY-SA 4.0]]
| pd =''This file has been released into the '''[[Wikipedia:Public domain|public domain]]''' by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.''[[Category:Media released to public domain]]
| fairuse
| #default =''This file is subject to [[StrategyWiki:Copyrights|copyright]]. Copyright is most likely held by the company that published the game or the media portrayed. StrategyWiki's use of this work qualifies as '''fair use''' under '''[[Wikipedia:Fair use#U.S. fair use factors|United States copyright law]]''', or the author's permission is given. It is used on the wiki only in the belief that the information the file portrays is designed to be an accompaniment to playing the game or media, and its use here will not:''
#''Detract from the experience of playing the game or using the media in question.''
#''Detract from the experience of playing the game or using the media in question.''
#''Harm the author's sales or reputation.''<includeonly>{{#if:{{{nocat|}}}||[[Category:Fair use files]]}}</includeonly>
#''Harm the author's sales or reputation.''[[Category:Media assumed fair use]]
| cc by-sa 1.0 =
}}</includeonly><noinclude>
''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/1.0/deed.en Creative Commons Attribution-ShareAlike 1.0]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by-sa 2.1 jp =
''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/2.1/jp/deed.en Creative Commons Attribution-ShareAlike 2.1 Japan]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by 2.0 =
''This file is distributed under the '''[https://creativecommons.org/licenses/by/2.0/deed.en Creative Commons Attribution 2.0]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by 2.5 =
''This file is distributed under the '''[http://creativecommons.org/licenses/by/2.5/deed.en Creative Commons Attribution 2.5]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by-sa 2.5 =
''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/2.5/deed.en Creative Commons Attribution-ShareAlike 2.5]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by 3.0 =
''This file is distributed under the '''[https://creativecommons.org/licenses/by/3.0/deed.en Creative Commons Attribution 3.0]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by-sa 3.0 =
''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/3.0/deed.en Creative Commons Attribution-ShareAlike 3.0]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| cc by-sa 4.0 =
''This file is distributed under the '''[https://creativecommons.org/licenses/by-sa/4.0/deed.en Creative Commons Attribution-ShareAlike 4.0]''' license.''{{#if:{{{2|}}}|<br>
'''''Attribution:''' {{{2|}}}''}}<includeonly>{{#if:{{{nocat|}}}||[[Category:Free files]]}}</includeonly>
| pd =
''This file has been released into the '''[[Wikipedia:Public domain|public domain]]''' by the copyright holder, its copyright has expired, or it is ineligible for copyright. This applies worldwide.''<includeonly>{{#if:{{{nocat|}}}||[[Category:Public domain files]]}}</includeonly>
| fairuse =
''This file is subject to [[StrategyWiki:Copyrights|copyright]].{{#if:{{{2|}}}|&nbsp; all rights belong to {{{2|}}}.}} StrategyWiki's use of this work qualifies as '''fair use''' under '''[[Wikipedia:Fair use#U.S. fair use factors|United States copyright law]]''', or the author's permission is given.''<includeonly>{{#if:{{{nocat|}}}||[[Category:Fair use files]]}}</includeonly>
}}
<noinclude>


==Info==
==Info==
This template writes down license information for a file, depending on the parameter passed. It also categorizes the page according to the license, unless the <code>nocat</code> parameter is provided. Valid value for the first parameter are:
This template documents license information for a file and categorizes the page according to the license. Valid value for the first parameter are:


* <code>screenshot</code>: A screenshot.
* <code>cc by-sa 1.0</code>: CC Attribution-ShareAlike 1.0.
* <code>concept</code>: A piece of concept art.
* <code>cc by-sa 2.1 jp</code>: CC Attribution-ShareAlike 2.1 Japan.
* <code>artwork</code>: Other miscellaneous art.
* <code>cc by 2.0</code>: CC Attribution 2.0.
* <code>texture</code>: An in-game texture.
* <code>cc by 2.5</code>: CC Attribution 2.5.
* <code>boxart</code>: A piece of box art.
* <code>cc by-sa 2.5</code>: CC Attribution-ShareAlike 2.5.
* <code>logo</code>: A logo.
* <code>cc by 3.0</code>: CC Attribution 3.0.
* <code>icon</code>: An icon.
* <code>cc by-sa 3.0</code>: CC Attribution-ShareAlike 3.0.
* <code>audio</code>: A snippet of audio.
* <code>cc by-sa 4.0</code>: CC Attribution-ShareAlike 4.0.
* <code>video</code>: A short video.
* <code>cc by-sa 1.0</code>: CC Attribution-ShareAlike 1.0. Optionally, add the attribution with parameter 2.
* <code>cc by-sa 2.1 jp</code>: Same as above, but CC Attribution-ShareAlike 2.1 Japan.
* <code>cc by 2.0</code>: Same as above, but CC Attribution 2.0.
* <code>cc by 2.5</code>: Same as above, but CC Attribution 2.5.
* <code>cc by-sa 2.5</code>: Same as above, but CC Attribution-ShareAlike 2.5.
* <code>cc by 3.0</code>: Same as above, but CC Attribution 3.0.
* <code>cc by-sa 3.0</code>: Same as above, but CC Attribution-ShareAlike 3.0.
* <code>cc by-sa 4.0</code>: Same as above, but CC Attribution-ShareAlike 4.0.
* <code>pd</code>: Public domain file.
* <code>pd</code>: Public domain file.
* <code>fairuse</code>: A file being used under fair use. Optionally, add the copyright holder with parameter 2.
* <code>fairuse</code>: A file being used under fair use.


[[Category:License templates]]</noinclude>
[[Category:License templates]]</noinclude>

Revision as of 05:14, 22 May 2021


Info

This template documents license information for a file and categorizes the page according to the license. Valid value for the first parameter are:

  • cc by-sa 1.0: CC Attribution-ShareAlike 1.0.
  • cc by-sa 2.1 jp: CC Attribution-ShareAlike 2.1 Japan.
  • cc by 2.0: CC Attribution 2.0.
  • cc by 2.5: CC Attribution 2.5.
  • cc by-sa 2.5: CC Attribution-ShareAlike 2.5.
  • cc by 3.0: CC Attribution 3.0.
  • cc by-sa 3.0: CC Attribution-ShareAlike 3.0.
  • cc by-sa 4.0: CC Attribution-ShareAlike 4.0.
  • pd: Public domain file.
  • fairuse: A file being used under fair use.