Difference between revisions of "Template:Infobox InSim packet"

From LFS Manual
Jump to navigationJump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
| above   = {{{name|{{BASEPAGENAME}}}}}
+
| 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  = Direction
+
| label3  = Usage
 
| data3  =  
 
| data3  =  
{{#ifeq: {{{direction|}}} | in | incoming |  
+
{{#ifeq: {{{direction|}}} | in | {{abbr|info|Incoming packet from LFS to InSim application}} |  
   {{#ifeq: {{{direction|}}} | out | outgoing |  
+
   {{#ifeq: {{{direction|}}} | out | {{abbr|instruction|Outgoing packet from InSim application to LFS}} |  
     {{#ifeq: {{{direction|}}} | in-out | both ways | ?}}  
+
     {{#ifeq: {{{direction|}}} | in-out | {{abbr|both ways|Incoming and outgoing packets}} | ?}}  
 
   }}  
 
   }}  
}}  
+
}}
  
 +
<!--
 
| label4  = Category
 
| label4  = Category
 
| data4  = {{{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}}}}}

Latest revision as of 22:00, 13 February 2026

Template Info-Icon.png

Template documentation

View - Edit

IS_STA
Current game state
Overview
Size 44
Type ISP_STA (5)
Usage info
Introduced 0.6B
Last updated 0.7G
Previous packet
IS_NPL
Next packet
IS_NCI