Difference between revisions of "Template:IPC/RequestHeader"
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 + }} |
− | | Header | + | </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> |
− | |||
− | |||
! <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> |