Template:Boxcodelite: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<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;"> | <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:-5px; text-align:center; font-weight:bold;">{{{title|Custom Title}}}</div> | }} | {{#if:{{{title|}}} | <div style="margin-top:-5px; text-align:center; font-weight:bold;">{{{title|Custom Title}}}</div> | }} | ||
<div style="margin-top:-12px; margin-bottom:-12px;">{{#tag:pre|{{{code|Code Sample}}}|style="min-width:330px; padding:5px; background:#f5f2f0; border:1px dashed #bb8866;"}}</div> | |||
</div><noinclude>[[Category:Templates]]<noinclude> | </div><noinclude>[[Category:Templates]]<noinclude> | ||
{{clear}} | {{clear}} | ||
== Usage == | == Usage == | ||
*<nowiki>{{</nowiki>boxcodelite|'''code'''=Code Sample<nowiki>}}</nowiki> | *<nowiki>{{</nowiki>boxcodelite|'''code'''=Code Sample<nowiki>}}</nowiki> |
Revision as of 20:42, 11 September 2021
Code Sample
Usage
- {{boxcodelite|code=Code Sample}}
- {{boxcodelite|title=Custom Title|code=Code Sample}}
- {{boxcodelite|float=left|title=Custom Title|code=Code Sample}}
Examples
BLJM85001
VERSION = 0xFFFFFFFF S3D.ENABLE = 2 SDRAM_SIZE = 02800000 MIPS_CODE_BLOCK_SIZE = 8192
HEX view
01 FF C4 00 1E 00 00 01 04 03 01 01 01 00 00 00 00 00 00 00 00 00 04 02 03 05 06 01 07 08 00 09 0A FF C4 00 64 10 00 02 01 02 05 02 04 04 04 04 04 05 00 01 00 2B 01 02 03 04 11 00 05 06 12 21 31 41 07 13 51 61 14 22 71 81 08 32 91 A1 15 23 B1 C1 16 42 D1 F0 09 17 24 33 E1 52 F1 18 25 43 62 26 34 72 92 27 53 82 A2 19 B2 28 35 44 54 55 63 93 C2 36 73 A3 D2 38 64 83 B3 0A 45 74 94 37 56 65 84 A4 C3 D3 B4 FF C4 00 1D 01 00 01 05 01
HEX view
(allows to use more than one text row in the title)
(allows to use more than one text row in the title)
01 FF C4 00 1E 00 00 01 04 03 01 01 01 00 00 00 00 00 00 00 00 00 04 02 03 05 06 01 07 08 00 09 0A FF C4 00 64 10 00 02 01 02 05 02 04 04 04 04 04 05 00 01 00 2B 01 02 03 04 11 00 05 06 12 21 31 41 07 13 51 61 14 22 71 81 08 32 91 A1 15 23
T
E
X
T
L
I
N
E
S