Difference between revisions of "Template:Code box"

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

Revision as of 15:28, 3 April 2007

Example:

Script.png {{{1}}}
<nowiki>{{{src|{{{2}}}}}}
</nowiki>



Usage:

{{Code box|filename|contents}}

or

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