Difference between revisions of "Template:Address"

From TLoZ: ALTTP Hacking Resources
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{{{{1}}}|{{#if: {{{2|}}} | {{{2}}}  | ---- }}}} to {{0x|{{#if: {{{3|}}} | {{{3}}}  | ---- }}}} ({{hex|{{#if: {{{4|}}} | {{{4}}} | ---- }}}})</includeonly><noinclude>'''Example:'''<br>{{address|0x|01|AA}}<br><br>'''Usage:'''<br>
+
<includeonly>{{{{{1}}}|{{#if: {{{2|}}} | {{{2}}}  | ---- }}}} {{#if: {{{3|}}} |to {{0x|{{{3}}}}}  | }} ({{hex|{{#if: {{{4|}}} | {{{4}}} | ---- }}}})</includeonly><noinclude>
 +
'''Examples:'''<br>
 +
{{address|0x|01|AA}}
 +
<br>
 +
{{address|0x|01||00AA}}
 +
<br><br>
 +
'''Usage:'''<br>
 
<pre>
 
<pre>
 
{{address
 
{{address
Line 5: Line 11:
 
|first address  (optional)
 
|first address  (optional)
 
|second address (optional)
 
|second address (optional)
|size of range  (optional)
+
|size (optional)
 
}}</pre></noinclude>
 
}}</pre></noinclude>

Revision as of 04:09, 21 December 2016

Examples:
0x01 to 0xAA (----)
0x01 (00AA)

Usage:

{{address
|Prefix
|first address  (optional)
|second address (optional)
|size (optional)
}}