Difference between revisions of "Template:Address"
From TLoZ: ALTTP Hacking Resources
(PHP is giving me trouble so no size conversion for now) |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | ---- }}}} to {{0x|{{#if: {{{3|}}} | {{{3}}} | ---- }}}} ({{hex|{{#if: {{{4|}}} | {{{4}}} | ---- }}}})</includeonly><noinclude>{{address|0x|01|AA}}</noinclude> | + | <includeonly>{{{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | ---- }}}} to {{0x|{{#if: {{{3|}}} | {{{3}}} | ---- }}}} ({{hex|{{#if: {{{4|}}} | {{{4}}} | ---- }}}})</includeonly> |
+ | |||
+ | <noinclude> | ||
+ | '''Example:'''<br>{{address|0x|01|AA}} | ||
+ | |||
+ | '''Usage:'''<br> | ||
+ | <pre> | ||
+ | {{address | ||
+ | |Prefix | ||
+ | |first address (optional) | ||
+ | |second address (optional) | ||
+ | |size of range (optional) | ||
+ | }}</pre></noinclude> |
Revision as of 02:49, 21 December 2016
Example:
0x01 to 0xAA (----)
Usage:
{{address |Prefix |first address (optional) |second address (optional) |size of range (optional) }}