License – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix after move) |
Lou Montana (talk | contribs) (Add Template:Doc/Template and Template:TemplateCase usage) |
||
Line 19: | Line 19: | ||
{{!}} ''This work is licensed under the {{Wikipedia|Creative Commons}} [http://creativecommons.org/licenses/by-sa/{{{2|3}}}.0/ Attribution-ShareAlike '''{{{2|3}}}.0'''] License.'' | {{!}} ''This work is licensed under the {{Wikipedia|Creative Commons}} [http://creativecommons.org/licenses/by-sa/{{{2|3}}}.0/ Attribution-ShareAlike '''{{{2|3}}}.0'''] License.'' | ||
{{!}}} | {{!}}} | ||
[[Category:Creative Commons Attribution-ShareAlike {{{2|3}}}.0 images|{{uc:{{PAGENAME}}}}]] | {{TemplateCase||[[Category:Creative Commons Attribution-ShareAlike {{{2|3}}}.0 images|{{uc:{{PAGENAME}}}}]]}} | ||
}} | © | #BBB}} | }} | © | #BBB}} | ||
{{TemplateCase|| | |||
[[Category:All free media|{{uc:{{PAGENAME}}}}]] | [[Category:All free media|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Self-published work|{{uc:{{PAGENAME}}}}]]</includeonly><noinclude> | [[Category:Self-published work|{{uc:{{PAGENAME}}}}]]}}</includeonly><noinclude>{{Doc/Template | ||
|descr= | |||
|param1= name | |||
|descr1= (Optional, default <tt>cc-by-sa-3.0</tt>) one of: | |||
** <tt>apl</tt>: [https://www.bohemia.net/community/licenses/ '''A'''rma '''P'''ublic '''L'''icense] | ** <tt>apl</tt>: [https://www.bohemia.net/community/licenses/ '''A'''rma '''P'''ublic '''L'''icense] | ||
** <tt>adpl</tt>: [https://www.bohemia.net/community/licenses/ '''A'''rma/'''D'''ayZ '''P'''ublic '''L'''icense] | ** <tt>adpl</tt>: [https://www.bohemia.net/community/licenses/ '''A'''rma/'''D'''ayZ '''P'''ublic '''L'''icense] | ||
Line 33: | Line 34: | ||
** <tt>topl</tt>: [https://www.bohemia.net/community/licenses/ '''T'''ake '''O'''n '''P'''ublic '''L'''icense] | ** <tt>topl</tt>: [https://www.bohemia.net/community/licenses/ '''T'''ake '''O'''n '''P'''ublic '''L'''icense] | ||
** <tt>cc-by-sa</tt>: {{Wikipedia|Creative Commons}} license | ** <tt>cc-by-sa</tt>: {{Wikipedia|Creative Commons}} license | ||
|param2= version | |||
|descr2= (Optional, default <tt>3</tt> for cc-by-sa, nothing for <tt>apl</tt>, <tt>adpl</tt>, <tt>dpl</tt> and <tt>topl</tt>) | |||
|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|2}}</nowiki> | |||
| {{License}} | |result4= {{License|cc-by-sa|2}} | ||
| | |example5= <nowiki>{{License|cc-by-sa|3}}</nowiki> | ||
|result5= {{License|cc-by-sa|3}} | |||
| {{License|apl}} | }}</noinclude> | ||
| | |||
| {{License|apl|sa}} | |||
| | |||
| {{License|cc-by-sa|2}} | |||
| | |||
| {{License|cc-by-sa|3}} | |||
Revision as of 19:29, 16 January 2021
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|2}} | |
{{License|cc-by-sa|3}} |