Difference between revisions of "ICInstruction"
From Unofficial Stationeers Wiki
Emilgardis (talk | contribs) (Created page with "<noinclude> == Template Usage == {{MipsInstruction|instruction=j|syntax=j a|description=Jump execution to line a| example= <pre> # loop forever loop: j loop </pre> }} == Temp...") |
Emilgardis (talk | contribs) (give a link to the instruction) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Template Usage == | == Template Usage == | ||
− | {{ | + | {{MIPSInstruction|instruction=j|syntax=j a|description=Jump execution to line a |
− | example= | + | |example= |
<pre> | <pre> | ||
# loop forever | # loop forever | ||
Line 8: | Line 8: | ||
j loop | j loop | ||
</pre> | </pre> | ||
+ | |note=This instruction jumps! | ||
}} | }} | ||
Line 22: | Line 23: | ||
}, | }, | ||
"description": {}, | "description": {}, | ||
+ | "note": { | ||
+ | "type": "content" | ||
+ | }, | ||
"example": { | "example": { | ||
"type": "content", | "type": "content", | ||
Line 27: | Line 31: | ||
} | } | ||
}, | }, | ||
− | "description": "Template for Stationeers IC10 | + | "description": "Template for Stationeers IC10 instruction", |
"format": "block" | "format": "block" | ||
} | } | ||
Line 33: | Line 37: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div style="border:1px solid #ccc; padding-left: 10px;" id="{{{instruction|}}}"> | + | <div style="border:1px solid #ccc; padding-left: 10px; position: relative;" id="{{{instruction|}}}"> |
− | ;< | + | ;<span style="position: absolute; right:10px" top:0px>[[#{{{instruction}}}|§]]</span> {{#tag:pre|{{{syntax}}} }} |
:<p>{{{description}}}</p> | :<p>{{{description}}}</p> | ||
+ | {{ #if: {{{note|}}} |<dd><b>Note:</b><p> {{{note|}}}</p></dd>}} | ||
{{ #if: {{{example|}}} |<dd><b>Example:</b><p> {{{example|}}}</p></dd>}} | {{ #if: {{{example|}}} |<dd><b>Example:</b><p> {{{example|}}}</p></dd>}} | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Latest revision as of 04:10, 10 July 2024
Template Usage[edit]
Template[edit]
Template for Stationeers IC10 instruction
Parameter | Description | Type | Status | |
---|---|---|---|---|
Instruction | instruction | no description
| String | required |
Syntax | syntax | no description
| String | optional |
Description | description | no description
| Unknown | optional |
Note | note | no description
| Content | optional |
Example | example | no description
| Content | suggested |