Difference between revisions of "Template:Instruction"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
|style="text-align: center;" colspan="3" |''{{{op_desc}}}''
 
|style="text-align: center;" colspan="3" |''{{{op_desc}}}''
 
|}
 
|}
 +
<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
"description": "Instruction template",
+
"description": "Instruction template",
"params": {
+
"params": {
        "op_name": {
+
"op_name": {
            "label": "Instruction name",
+
"label": "Instruction name",
            "type": "string",
+
"type": "string",
            "required": true
+
"required": true
        },
+
},
        "op_size": {
+
"op_size": {
            "label": "Instruction size",
+
"label": "Instruction size",
            "type": "number",
+
"type": "number",
            "required": true
+
"required": true
        },
+
},
        "op_args": {
+
"op_args": {
            "label": "Number of arguments",
+
"label": "Number of arguments",
            "type": "number",
+
"type": "number",
            "required": true
+
"required": true
        },
+
},
        "op_code": {
+
"op_code": {
            "label": "Instruction value",
+
"label": "Instruction value",
            "type": "number",
+
"type": "number",
            "required": true
+
"required": true
        },
+
},
        "op_desc": {
+
"op_desc": {
            "label": "Short description",
+
"label": "Short description",
            "type": "string"
+
"type": "string"
        }
+
}
    }
+
}
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
</noinclude>

Revision as of 15:50, 16 July 2019

{{{op_name}}} size: {{{op_size}}}
args: {{{op_args}}}
opcode: {{{op_code}}}
{{{op_desc}}}

Instruction template

Template parameters

ParameterDescriptionTypeStatus
Instruction nameop_name

no description

Stringrequired
Instruction sizeop_size

no description

Numberrequired
Number of argumentsop_args

no description

Numberrequired
Instruction valueop_code

no description

Numberrequired
Short descriptionop_desc

no description

Stringoptional