Difference between revisions of "Template:Example code"

From VideoLAN Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<DIV style="width:80%;border:solid #999 1px;background:#F8F8F8;margin:0.5em auto;clear:all">
+
<DIV style="width:80%;border:solid #999 1px;background:#F8F8F8;margin:0.5em auto;clear:all; padding: 3px;">
 
This page contains example code{{#if:{{{for|}}}|&nbsp;for [[{{{for}}}]]}}.  
 
This page contains example code{{#if:{{{for|}}}|&nbsp;for [[{{{for}}}]]}}.  
 
{{#switch:{{{l}}}
 
{{#switch:{{{l}}}

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)