Difference between revisions of "Template:OpCode"
Jump to navigation
Jump to search
m |
(legacy template no longer needed) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude> | + | <includeonly>{{{games}}} {{#if:{{{command|}}}|'''{{{command}}}'''}} |
− | <pre> | + | <hr /> |
+ | <dl class="opcode"> | ||
+ | <dt>Description</dt> | ||
+ | <dd>{{{description}}}</dd> | ||
+ | <dt>Syntax</dt> | ||
+ | <dd>{{{syntax1}}}</dd><!-- | ||
+ | -->{{#if:{{{syntax2|}}}| | ||
+ | <dd>{{{syntax2}}}</dd>}}<!-- | ||
+ | -->{{#if:{{{syntax3|}}}| | ||
+ | <dd>{{{syntax3}}}</dd>}} | ||
+ | <dt>Parameter</dt> | ||
+ | <dd><dl>{{#if:{{{p1t|}}}| | ||
+ | <dt>{{{p1t}}}</dt><!-- | ||
+ | -->{{#if:{{{p1d|}}}| | ||
+ | <dd>{{{p1d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p2t|}}}| | ||
+ | <dt>{{{p2t}}}</dt><!-- | ||
+ | -->{{#if:{{{p2d|}}}| | ||
+ | <dd>{{{p2d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p3t|}}}| | ||
+ | <dt>{{{p3t}}}</dt><!-- | ||
+ | -->{{#if:{{{p3d|}}}| | ||
+ | <dd>{{{p3d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p4t|}}}| | ||
+ | <dt>{{{p4t}}}</dt><!-- | ||
+ | -->{{#if:{{{p4d|}}}| | ||
+ | <dd>{{{p4d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p5t|}}}| | ||
+ | <dt>{{{p5t}}}</dt><!-- | ||
+ | -->{{#if:{{{p5d|}}}| | ||
+ | <dd>{{{p5d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p6t|}}}| | ||
+ | <dt>{{{p6t}}}</dt><!-- | ||
+ | -->{{#if:{{{p6d|}}}| | ||
+ | <dd>{{{p6d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p7t|}}}| | ||
+ | <dt>{{{p7t}}}</dt><!-- | ||
+ | -->{{#if:{{{p7d|}}}| | ||
+ | <dd>{{{p7d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p8t|}}}| | ||
+ | <dt>{{{p8t}}}</dt><!-- | ||
+ | -->{{#if:{{{p8d|}}}| | ||
+ | <dd>{{{p8d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p9t|}}}| | ||
+ | <dt>{{{p9t}}}</dt><!-- | ||
+ | -->{{#if:{{{p9d|}}}| | ||
+ | <dd>{{{p9d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p10t|}}}| | ||
+ | <dt>{{{p10t}}}</dt><!-- | ||
+ | -->{{#if:{{{p10d|}}}| | ||
+ | <dd>{{{p10d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p11t|}}}| | ||
+ | <dt>{{{p11t}}}</dt><!-- | ||
+ | -->{{#if:{{{p11d|}}}| | ||
+ | <dd>{{{p11d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p12t|}}}| | ||
+ | <dt>{{{p12t}}}</dt><!-- | ||
+ | -->{{#if:{{{p12d|}}}| | ||
+ | <dd>{{{p12d}}}</dd>}}}}<!-- | ||
+ | -->{{#if:{{{p13t|}}}| | ||
+ | <dt>{{{p13t}}}</dt><!-- | ||
+ | -->{{#if:{{{p13d|}}}| | ||
+ | <dd>{{{p13d}}}</dd>}}}}<!-- | ||
+ | --> | ||
+ | </dl></dd><!-- | ||
+ | -->{{#if:{{{native|}}}| | ||
+ | <dt>Native analog</dt> | ||
+ | <dd>{{{native}}}</dd>}}<!-- | ||
+ | --></dl>[[Category:OpCodes]]</includeonly><noinclude> | ||
+ | <pre>{{OpCode | ||
+ | | games = list of supported games, required field | ||
+ | | command = command name | ||
+ | | description = brief description, required field | ||
+ | | syntax1 = common syntax, required field | ||
+ | | syntax2 = alternative syntax | ||
+ | | syntax3 = alternative syntax | ||
+ | | p(1-13)t = parameter type | ||
+ | | p(1-13)d = parameter description | ||
+ | | native = native analog | ||
+ | }}</pre> | ||
+ | |||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|t}} |
− | | description = | + | | command = WAIT |
− | | | + | | description = Stops the execution of a [[script]] |
− | | | + | | syntax1 = 0001: wait [''int''] ms |
− | | native = | + | | syntax2 = wait [''int''] |
+ | | p1t = [''int''] | ||
+ | | p1d = Time to wait in milliseconds | ||
+ | | native = [[WAIT]] | ||
}} | }} | ||
− | |||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 10:27, 22 December 2016
{{OpCode | games = list of supported games, required field | command = command name | description = brief description, required field | syntax1 = common syntax, required field | syntax2 = alternative syntax | syntax3 = alternative syntax | p(1-13)t = parameter type | p(1-13)d = parameter description | native = native analog }}