Template:Example code: Difference between revisions
Jump to navigation
Jump to search
m Fix last |
m Convert to table |
||
| Line 1: | Line 1: | ||
{| class="widebox center" style="padding:0;" | |||
|style="padding:0;"|This page contains example code{{#if:{{{for|}}}| for [[{{{for}}}]]}}.<br /><!-- | |||
-->{{#switch:{{{l}}}<!-- | -->{{#switch:{{{l}}}<!-- | ||
-->|GPL=This code is licensed under the [https://www.gnu.org/copyleft/gpl.html GNU General public license][[Category:GNU GPL Licensed pages]]<!-- | -->|GPL=This code is licensed under the [https://www.gnu.org/copyleft/gpl.html GNU General public license][[Category:GNU GPL Licensed pages]]<!-- | ||
| Line 8: | Line 9: | ||
-->|CC-0=This code is licenced under the [https://creativecommons.org/publicdomain/zero/1.0/ CC-0 1.0 Universal Public Domain Dedication]. You may use it however you like.[[Category:CC-0 pages]]<!-- | -->|CC-0=This code is licenced under the [https://creativecommons.org/publicdomain/zero/1.0/ CC-0 1.0 Universal Public Domain Dedication]. You may use it however you like.[[Category:CC-0 pages]]<!-- | ||
-->|#default={{{l|}}}<!-- | -->|#default={{{l|}}}<!-- | ||
-->}} | -->}} | ||
|}<includeonly>[[Category:Example code]]</includeonly><noinclude> | |||
Place at top of pages which are just example code. | Place at top of pages which are just example code. | ||
Latest revision as of 08:30, 18 April 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
- Expat ("MIT License")
- WTFPL (Do WTF you want to public license)
- PD (public domain)
- CC-0 (Creative Commons CC-0 for universal public domain)