License – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add details)
m (Fix Wikipedia link)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="margin:0.5em auto; width:90%; background-color:#f0f0f0; border:2px solid #aaaaaa; padding:2px;"
<includeonly>{{Messagebox
| <center>'''''{{{author|I}}}, the copyright holder of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license{{#if: {{{2|}}}|s|}}:''</center>
| I, the copyright holder of this work,''' hereby publish{{#if: {{{author|}}}|es|}} it under the following license:
<center>''<!--
 
//-->{{{{{1}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} <!--
{{#switch:{{lc:{{{1|}}}}}
//-->{{#if: {{{2|}}} |{{ {{{2}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--
 
//-->{{#if: {{{3|}}} |{{ {{{3}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--
| apl
//-->{{#if: {{{4|}}} |{{ {{{4}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--
| adpl
//-->{{#if: {{{5|}}} |{{ {{{5}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }} <!--
| dpl
//-->{{#if: {{{6|}}} |{{ {{{6}}}|date={{{date|}}}|migration={{Self/migration|migration={{{migration|}}}|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}}} }} }}</center> <!--
| topl=
//-->{{#if: {{{2|}}}|<center>''You may select the license of your choice.''</center>|}}
{{{!}}
|}<includeonly>[[Category:Self-published work|{{PAGENAME}}]]</includeonly><noinclude>
{{!}} style{{=}}"text-align: center" {{!}} [[Image:CC some rights reserved.png|90px]]
{{Informative | Used in Images, only under the form of <tt>{{<nowiki/>self|cc-by-sa-3.0}}</tt> or <tt>{{<nowiki/>self|Cc-by-sa-3.0}}</tt>.}}
{{!}} ''This work is licensed under the {{Name|bi}}'s '''[https://www.bohemia.net/community/licenses/ {{uc:{{{1}}}}}{{#if:{{{2|}}}|-{{uc:{{{2}}}}}}}]''' License.''
[[Category: Templates]]</noinclude>
{{!}}}
 
|
| cc-by-sa=
{{{!}}
{{!}} style{{=}}"text-align: center" {{!}} [[Image:CC some rights reserved.png|90px]]<br>[[Image:Cc-by new white.png|24px]][[Image:Cc-sa white.png|24px]]
{{!}} ''This work is licensed under the {{Link|https://en.wikipedia.org/wiki/Creative_Commons}} [http://creativecommons.org/licenses/by-sa/{{{2|3}}}.0/ Attribution-ShareAlike '''{{{2|3}}}.0'''] License.''
{{!}}}
{{TemplateCase||[[Category:Creative Commons Attribution-ShareAlike {{{2|3}}}.0 images|{{uc:{{PAGENAME}}}}]]}}
 
}} | &copy; | #BBB}}
 
{{TemplateCase||
[[Category:All free media|{{uc:{{PAGENAME}}}}]]
[[Category:Self-published work|{{uc:{{PAGENAME}}}}]]}}</includeonly><noinclude>{{Doc/Template
|descr=
|param1= name
|descr1= (Optional, default {{hl|cc-by-sa-3.0}}) one of:
:{{{!}}class{{=}}"wikitable"
! apl
{{!}} [https://www.bohemia.net/community/licenses/ '''A'''rma '''P'''ublic '''L'''icense]
{{!}}-
! adpl
{{!}} [https://www.bohemia.net/community/licenses/ '''A'''rma/'''D'''ayZ '''P'''ublic '''L'''icense]
{{!}}-
! dpl
{{!}} [https://www.bohemia.net/community/licenses/ '''D'''ayZ '''P'''ublic '''L'''icense]
{{!}}-
! topl
{{!}} [https://www.bohemia.net/community/licenses/ '''T'''ake '''O'''n '''P'''ublic '''L'''icense]
{{!}}-
! cc-by-sa
{{!}} {{Link|https://en.wikipedia.org/wiki/Creative_Commons}} license
{{!}}}
|param2= version
|descr2= (Optional, default {{hl|3}} for cc-by-sa, nothing for {{hl|apl}}, {{hl|adpl}}, {{hl|dpl}} and {{hl|topl}})
|example1= <nowiki>{{License}}</nowiki>
|result1= {{License}}
|example2= <nowiki>{{License|apl}}</nowiki>
|result2= {{License|apl}}
|example3= <nowiki>{{License|apl|sa}}</nowiki>
|result3= {{License|apl|sa}}
|example4= <nowiki>{{License|cc-by-sa|1}}</nowiki>
|result4= {{License|cc-by-sa|1}}
|example5= <nowiki>{{License|cc-by-sa|2}}</nowiki>
|result5= {{License|cc-by-sa|2}}
|example6= <nowiki>{{License|cc-by-sa|3}}</nowiki>
|result6= {{License|cc-by-sa|3}}
|example7= <nowiki>{{License|cc-by-sa|4}}</nowiki>
|result7= {{License|cc-by-sa|4}}
}}</noinclude>

Latest revision as of 00:11, 24 February 2023


This template is used on these pages.

Usage

{{License|name|version}}

  • name: (Optional, default cc-by-sa-3.0) one of:
apl Arma Public License
adpl Arma/DayZ Public License
dpl DayZ Public License
topl Take On Public License
cc-by-sa Creative Commons license
  • version: (Optional, default 3 for cc-by-sa, nothing for apl, adpl, dpl and topl)
Examples
Code Result
{{License}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png
Cc-by new white.pngCc-sa white.png
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.
{{License|apl}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png This work is licensed under the Bohemia Interactive's APL License.
{{License|apl|sa}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png This work is licensed under the Bohemia Interactive's APL-SA License.
{{License|cc-by-sa|1}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png
Cc-by new white.pngCc-sa white.png
This work is licensed under the Creative Commons Attribution-ShareAlike 1.0 License.
{{License|cc-by-sa|2}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png
Cc-by new white.pngCc-sa white.png
This work is licensed under the Creative Commons Attribution-ShareAlike 2.0 License.
{{License|cc-by-sa|3}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png
Cc-by new white.pngCc-sa white.png
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License.
{{License|cc-by-sa|4}}
©
I, the copyright holder of this work, hereby publish it under the following license:
CC some rights reserved.png
Cc-by new white.pngCc-sa white.png
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 License.