Actions

Template

Difference between revisions of "ICInstruction"

From Unofficial Stationeers Wiki

(give a link to the instruction)
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:
 
}
 
}
 
},
 
},
"description": "Template for Stationeers IC10 MIPS instruction",
+
"description": "Template for Stationeers IC10 instruction",
 
"format": "block"
 
"format": "block"
 
}
 
}
Line 37: 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|}}}">
;<p>{{#tag:pre|{{{syntax}}} }}</p>
+
;<span style="position: absolute; right:10px" top:0px>[[#{{{instruction}}}|&sect;]]</span> {{#tag:pre|{{{syntax}}} }}
 
:<p>{{{description}}}</p>
 
:<p>{{{description}}}</p>
 
{{ #if: {{{note|}}} |<dd><b>Note:</b><p> {{{note|}}}</p></dd>}}
 
{{ #if: {{{note|}}} |<dd><b>Note:</b><p> {{{note|}}}</p></dd>}}

Latest revision as of 04:10, 10 July 2024

Template Usage[edit]

§
j a 

Jump execution to line a

Note:

This instruction jumps!

Example:

# loop forever
loop:
j loop


Template[edit]

Template for Stationeers IC10 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