Difference between revisions of "Template:Code box"

From MythTV Official Wiki
Jump to: navigation, search
m (<pre>, <nowiki>)
m (<nowiki> removed)
Line 3: Line 3:
 
{{ibox
 
{{ibox
 
|img={{{img|[[Image:Script.png]]}}}
 
|img={{{img|[[Image:Script.png]]}}}
|msg=<br><pre><nowiki>{{{src|{{{2}}}}}}</pre></nowiki>
+
|msg=<br><pre>{{{src|{{{2}}}}}}</pre>
 
|type={{{type|{{{name|{{{1}}}}}}}}}
 
|type={{{type|{{{name|{{{1}}}}}}}}}
 
|color=#EFEFEF
 
|color=#EFEFEF

Revision as of 15:29, 3 April 2007

Example:

Script.png {{{1}}}
{{{src|{{{2}}}}}}



Usage:

{{Code box|filename|contents}}

or

{{Code box
|name=filename
|src=contents
}}