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}}}''
 
|}
 
|}
 +
<templatedata>
 +
{
 +
"description": "Standard instruction template.",
 +
"params": {
 +
        "op_name": {
 +
            "label": "Instruction name",
 +
            "type": "string",
 +
            "required": true,
 +
            "aliases": ["1"]
 +
        },
 +
        "op_code": {
 +
            "label": "Opcode value",
 +
            "type": "number",
 +
            "required": true,
 +
            "aliases": ["2"]
 +
        },
 +
        "op_size": {
 +
            "label": "Opcode size",
 +
            "type": "number",
 +
            "required": true,
 +
            "aliases": ["3"]
 +
        },
 +
 +
        "op_args": {
 +
            "label": "Number of arguments",
 +
            "type": "number",
 +
            "required": true,
 +
            "aliases": ["4"]
 +
        },
 +
 +
        "op_desc": {
 +
            "label": "Short description",
 +
            "type": "string",
 +
            "suggested": true,
 +
            "aliases": ["5"]
 +
        }
 +
    }
 +
}
 +
</templatedata>

Revision as of 15:27, 16 July 2019

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

Standard instruction template.

Template parameters

ParameterDescriptionTypeStatus
Instruction nameop_name 1

no description

Stringrequired
Opcode valueop_code 2

no description

Numberrequired
Opcode sizeop_size 3

no description

Numberrequired
Number of argumentsop_args 4

no description

Numberrequired
Short descriptionop_desc 5

no description

Stringsuggested