Actions

Template

Difference between revisions of "ICInstruction"

From Unofficial Stationeers Wiki

m (Emilgardis moved page Template:MipsInstruction to Template:MIPSInstruction: consistency)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== Template Usage ==
 
== Template Usage ==
{{MipsInstruction|instruction=j|syntax=j a|description=Jump execution to line a|
+
{{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 36: Line 40:
 
;<p>{{#tag:pre|{{{syntax}}} }}</p>
 
;<p>{{#tag:pre|{{{syntax}}} }}</p>
 
:<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>

Revision as of 16:54, 28 April 2024

Template Usage

§
j a 

Jump execution to line a

Note:

This instruction jumps!

Example:

# loop forever
loop:
j loop


Template

Template for Stationeers IC10 MIPS instruction

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Instructioninstruction

no description

Default
empty
Example
empty
Auto value
empty
Stringrequired
Syntaxsyntax

no description

Default
empty
Example
empty
Auto value
empty
Stringoptional
Descriptiondescription

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Notenote

no description

Default
empty
Example
empty
Auto value
empty
Contentoptional
Exampleexample

no description

Default
empty
Example
empty
Auto value
empty
Contentsuggested