License – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Add Template:Doc/Template and Template:TemplateCase usage) |
Lou Montana (talk | contribs) m (Fix Wikipedia link) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
{{{!}} | {{{!}} | ||
{{!}} 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]] | {{!}} 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 {{ | {{!}} ''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}}}}]]}} | {{TemplateCase||[[Category:Creative Commons Attribution-ShareAlike {{{2|3}}}.0 images|{{uc:{{PAGENAME}}}}]]}} | ||
Line 28: | Line 28: | ||
|descr= | |descr= | ||
|param1= name | |param1= name | ||
|descr1= (Optional, default | |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 | |param2= version | ||
|descr2= (Optional, default | |descr2= (Optional, default {{hl|3}} for cc-by-sa, nothing for {{hl|apl}}, {{hl|adpl}}, {{hl|dpl}} and {{hl|topl}}) | ||
|example1= <nowiki>{{License}}</nowiki> | |example1= <nowiki>{{License}}</nowiki> | ||
|result1= {{License}} | |result1= {{License}} | ||
Line 42: | Line 53: | ||
|example3= <nowiki>{{License|apl|sa}}</nowiki> | |example3= <nowiki>{{License|apl|sa}}</nowiki> | ||
|result3= {{License|apl|sa}} | |result3= {{License|apl|sa}} | ||
|example4= <nowiki>{{License|cc-by-sa|2}}</nowiki> | |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> | }}</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)
Code | Result |
---|---|
{{License}} | |
{{License|apl}} | |
{{License|apl|sa}} | |
{{License|cc-by-sa|1}} | |
{{License|cc-by-sa|2}} | |
{{License|cc-by-sa|3}} | |
{{License|cc-by-sa|4}} |