Difference between revisions of "Template:Address"

From TLoZ: ALTTP Hacking Resources
Jump to: navigation, search
(PHP is giving me trouble so no size conversion for now)
m
 
(3 intermediate revisions by the same user not shown)
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}}}  | ---- }}}} {{#if: {{{3|}}} |to {{{{{1}}}|{{{3}}}}}  | }} ({{hex|{{#if: {{{4|}}} | {{{4}}} | ---- }}}})</includeonly><noinclude>
 +
'''Examples:'''<br>
 +
{{address|0x|01|AA}}
 +
<br>
 +
{{address|0x|01||00AA}}
 +
<br><br>
 +
'''Usage:'''<br>
 +
<pre>
 +
{{address
 +
|Prefix
 +
|first address  (optional)
 +
|second address (optional)
 +
|size (optional)
 +
}}</pre></noinclude>

Latest revision as of 20:48, 25 December 2016

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

Usage:

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