Template:Struct top/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Struct top It contains usage information, categories and other content that is not part of the original template page. |
This is one of three helper templates for displaying struct fields on a data structure article. The templates {{Struct top}}, {{Struct field}}, and {{Struct bottom}} must always be used together to build a full table.
Usage[edit source]
{{Struct top}} {{Struct field|offset|size|type|name|description}} {{Struct bottom}}
Example[edit source]
{{Struct top}} {{Struct field|offset=0x1c|size=0x4|type=DifficultyLevel *|name=''Difficulty level''|description=Pointer to the current difficulty level}} {{Struct bottom}}
Offset | Size | Type | Name | Description |
---|---|---|---|---|
0x1c | 0x4 | DifficultyLevel *
|
Difficulty level
|
Pointer to the current difficulty level |
Template Data[edit source]
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Struct top
Used to indicate the start of a list of struct fields.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |