Editing Template:Boxcodelite
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<div style="float:{{{float|right}}}; margin:5px; padding: | <div style="float:{{{float|right}}}; margin:5px; padding:5px; font-size:85%; background:#eebb99; border:3px double #bb8866; box-shadow: 4px 4px 2px 1px #e0e0e0;"> | ||
{{#if:{{{title|}}} | <div style="margin-top:- | {{#if:{{{title|}}} | <div style="margin-top:-5px; text-align:center; font-weight:bold;">{{{title|Custom Title}}}</div> | }} | ||
{{#tag:pre|{{{code|Code Sample}}}|style="min-width:330px; margin:0px; padding:5px; background:#f5f2f0; border:1px dashed #bb8866;"}} | |||
</div><noinclude>[[Category:Templates]]<noinclude> | |||
< | |||
{{clear}} | {{clear}} | ||
Line 10: | Line 9: | ||
*<nowiki>{{</nowiki>boxcodelite|'''title'''=Custom Title|'''code'''=Code Sample<nowiki>}}</nowiki> | *<nowiki>{{</nowiki>boxcodelite|'''title'''=Custom Title|'''code'''=Code Sample<nowiki>}}</nowiki> | ||
*<nowiki>{{</nowiki>boxcodelite|'''float'''=left|'''title'''=Custom Title|'''code'''=Code Sample<nowiki>}}</nowiki> | *<nowiki>{{</nowiki>boxcodelite|'''float'''=left|'''title'''=Custom Title|'''code'''=Code Sample<nowiki>}}</nowiki> | ||
== Examples == | == Examples == | ||
<div style="float:right"> | <div style="float:right"> | ||
{{boxcodelite|title=BLJM85001|code= | |||
VERSION = 0xFFFFFFFF | |||
S3D.ENABLE = 2 | |||
SDRAM_SIZE = 02800000 | |||
MIPS_CODE_BLOCK_SIZE = 8192 | |||
}} | |||
{{clear|right}} | |||
{{boxcodelite|title=HEX view|code= | {{boxcodelite|title=HEX view|code= | ||
01 FF C4 00 1E 00 00 01 04 03 01 01 01 00 00 00 | 01 FF C4 00 1E 00 00 01 04 03 01 01 01 00 00 00 | ||
Line 35: | Line 40: | ||
31 41 07 13 51 61 14 22 71 81 08 32 91 A1 15 23 | 31 41 07 13 51 61 14 22 71 81 08 32 91 A1 15 23 | ||
}} | }} | ||
</div> | </div> | ||