Difference between revisions of "Template:Example code"
Jump to navigation
Jump to search
m (+Category:Templates) |
(Add WTFPL (warning: profanity). It's a public domain-equivalent license) |
||
Line 5: | Line 5: | ||
|LGPL=This code is licensed under the [https://www.gnu.org/copyleft/lesser.html GNU Lesser General public license].[[Category:GNU LGPL Licensed pages]] | |LGPL=This code is licensed under the [https://www.gnu.org/copyleft/lesser.html GNU Lesser General public license].[[Category:GNU LGPL Licensed pages]] | ||
|PD=This code is placed in the public domain. You may use it however you like. | |PD=This code is placed in the public domain. You may use it however you like. | ||
+ | |WTFPL=This code is licensed under the [http://www.wtfpl.net/ WTFPL]. You may use it however you like. | ||
|#default={{{l|}}} | |#default={{{l|}}} | ||
}}</DIV><includeonly>[[Category:Example code]]</includeonly><noinclude> | }}</DIV><includeonly>[[Category:Example code]]</includeonly><noinclude> | ||
Line 18: | Line 19: | ||
** LGPL | ** LGPL | ||
** PD (public domain) | ** PD (public domain) | ||
+ | ** WTFPL (Do WTF you want to public license) | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:31, 4 March 2019
This page contains example code.
Place at top of pages which are just example code.
Places page in Category:Example code, and correct page license category.
Usage {{example code|l=GPL|for=.Net Interface to VLC}}
- l (L) is license. Can be some text, eg: "Licensed under My License", or one of the following magic values
- GPL
- LGPL
- PD (public domain)
- WTFPL (Do WTF you want to public license)