Difference between revisions of "Template:Example code"

From VideoLAN Wiki
Jump to navigation Jump to search
 
m
Line 5: Line 5:
 
|LGPL=This code is licensed under the [http://www.gnu.org/copyleft/lesser.html GNU Lesser General public license].[[Category:GNU LGPL Licensed pages]]
 
|LGPL=This code is licensed under the [http://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.
|#default={{{l}}}
+
|#default={{{l|}}}
 
}}</DIV><includeonly>[[Category:Example code]]</includeonly><noinclude>
 
}}</DIV><includeonly>[[Category:Example code]]</includeonly><noinclude>
  

Revision as of 18:52, 7 March 2007

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)