Difference between revisions of "Template:Instruction"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
<templatedata>
 
<templatedata>
 
{
 
{
"description": "Standard instruction template.",
+
"description": "Instruction template",
 
"params": {
 
"params": {
 
         "op_name": {
 
         "op_name": {
 
             "label": "Instruction name",
 
             "label": "Instruction name",
 
             "type": "string",
 
             "type": "string",
            "required": true
 
        },
 
        "op_code": {
 
            "label": "Instruction value",
 
            "type": "number",
 
 
             "required": true
 
             "required": true
 
         },
 
         },
Line 32: Line 27:
 
         "op_args": {
 
         "op_args": {
 
             "label": "Number of arguments",
 
             "label": "Number of arguments",
 +
            "type": "number",
 +
            "required": true
 +
        },
 +
        "op_code": {
 +
            "label": "Instruction value",
 
             "type": "number",
 
             "type": "number",
 
             "required": true
 
             "required": true
Line 37: Line 37:
 
         "op_desc": {
 
         "op_desc": {
 
             "label": "Short description",
 
             "label": "Short description",
             "type": "string",
+
             "type": "string"
            "suggested": true
 
 
         }
 
         }
 
     }
 
     }
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 15:43, 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