Difference between revisions of "Template:IPC/RequestHeader"

From 3dbrew
Jump to navigation Jump to search
(Add header decomposition)
m (Transclude documentation)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
+
<noinclude>
| {{#var:ipc_offset}}{{#vardefine:ipc_offset|{{#expr: {{#var:ipc_offset}} + 1}}}}
+
{{IPC/Request|ipc_offset_prefix=n&nbsp;+&nbsp;}}
| Header code [{{{1}}}{{
+
</noinclude>|-
 +
| {{#var:ipc_offset_prefix}}{{#var:ipc_offset}}{{#vardefine:ipc_offset|{{#expr: {{#var:ipc_offset}} + 1}}}}
 +
|  
 +
  {| class="wikitable" border="1" style="margin:0.2em 0"
 +
  |-
 +
  ! Header
 +
  | {{{1}}}<span style="opacity:0.8">{{
 
#vardefine:headerlow|{{#expr:{{{3}}}+({{{2}}}*64)}}}}{{
 
#vardefine:headerlow|{{#expr:{{{3}}}+({{{2}}}*64)}}}}{{
 
#vardefine:looppow|12}}{{#while:
 
#vardefine:looppow|12}}{{#while:
Line 24: Line 30:
 
  | #default = ?
 
  | #default = ?
 
}}{{#vardefine:looppow|{{#expr:{{#var:looppow}}-4}}}}
 
}}{{#vardefine:looppow|{{#expr:{{#var:looppow}}-4}}}}
}}]
+
}}</span>
  {| class="wikitable" border="1" style="margin:0 0 0.4em 0"
 
  |-
 
 
   ! <abbr title="Command ID">Cmd</abbr>
 
   ! <abbr title="Command ID">Cmd</abbr>
 
   | {{{1}}}
 
   | {{{1}}}
Line 33: Line 37:
 
   ! <abbr title="Number of words in the translate section of the message">Xlat</abbr>
 
   ! <abbr title="Number of words in the translate section of the message">Xlat</abbr>
 
   | {{{3}}}
 
   | {{{3}}}
   |}
+
   |}<noinclude>
 +
{{IPC/RequestEnd}}
 +
{{Documentation}}
 +
[[Category:IPC message contents templates]]
 +
</noinclude>

Latest revision as of 14:49, 20 September 2024

Index Word Description
n + 0
Header {{{1}}}???? Cmd {{{1}}} Param {{{2}}} Xlat {{{3}}}
[create] Template documentation