Difference between revisions of "Template:Code box"

From MythTV Official Wiki
Jump to: navigation, search
m (<pre>, <nowiki>)
 
(4 intermediate revisions by 3 users not shown)
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>{{{src|{{{2}}}}}}
 
|type={{{type|{{{name|{{{1}}}}}}}}}
 
|type={{{type|{{{name|{{{1}}}}}}}}}
 
|color=#EFEFEF
 
|color=#EFEFEF

Latest revision as of 18:35, 8 November 2008

Example:

Script.png {{{1}}}
{{{2}}}



Usage:

{{Code box|filename|contents}}

or

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