Difference between revisions of "Template:Infobox InSim packet"
From LFS Manual
Jump to navigationJump to search| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| − | | above | + | | width = 23rem |
| + | |||
| + | | above = {{{name|{{BASEPAGENAMEE}}}}} | ||
| + | | subheader = {{{description|}}} | ||
| abovestyle = background-color: #dedede | | abovestyle = background-color: #dedede | ||
| Line 8: | Line 11: | ||
| label1 = Size | | label1 = Size | ||
| − | | data1 = {{{size|}}} | + | | data1 = {{#if:{{{size|}}}| {{abbr|{{{size|}}}|The value of the Size property sent in the packet is {{#expr:{{{size|0}}} / 4 }} which is the actual size divided by 4}} | {{abbr|{{{sizetext|}}}|The value of the Size property sent in the packet is the actual size divided by 4}} }} |
| − | | label2 = Type | + | | label2 = [[InSim_enumerations#ISP|Type]] |
| data2 = {{{type_key|}}} ({{{type_value}}}) | | data2 = {{{type_key|}}} ({{{type_value}}}) | ||
| − | | label3 = | + | | label3 = Usage |
| − | | data3 = {{{ | + | | data3 = |
| + | {{#ifeq: {{{direction|}}} | in | {{abbr|info|Incoming packet from LFS to InSim application}} | | ||
| + | {{#ifeq: {{{direction|}}} | out | {{abbr|instruction|Outgoing packet from InSim application to LFS}} | | ||
| + | {{#ifeq: {{{direction|}}} | in-out | {{abbr|both ways|Incoming and outgoing packets}} | ?}} | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | <!-- | ||
| + | | label4 = Category | ||
| + | | data4 = {{{category|}}} | ||
| + | --> | ||
| + | |||
| + | | label5 = Introduced | ||
| + | | data5 = {{#if:{{{introduced|}}}|{{LFS version|{{{introduced}}}}}}} | ||
| + | |||
| + | | label6 = Last updated | ||
| + | | data6 = {{#if:{{{last_updated|}}}|{{LFS version|{{{last_updated}}}}}}} | ||
| − | |||
| − | |||
| belowleft = {{#if:{{{prev|}}}|'''Previous packet'''<br />{{{prev}}}}} | | belowleft = {{#if:{{{prev|}}}|'''Previous packet'''<br />{{{prev}}}}} | ||