Template:Struct bottom/doc

Revision as of 16:02, 23 September 2023 by TheOnlyZac (talk | contribs) (Created template doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is one of three helper templates for displaying struct fields on a data structure article. They are:

They must always be used together to build a full table.

Usage

{{Struct top}}
{{Struct field|offset|size|type|name|description}}
{{Struct field|offset|size|type|name|description}}
...
{{Struct bottom}}

Example

{{Struct top}}
{{Struct field|0x4|0x4|float|gMin|Lower bound}}
{{Struct field|0x8|0x4|float|gMax|Upper bound}}
{{Struct field|0xC|0x4|float|u4ag|}}
{{Struct bottom}}
Offset Size Type Name Notes
0x4 0x4
float
gMin Lower bound
0x8 0x4
float
gMax Upper bound
0xC 0x4
float
u4ag


{{Struct top|notes=no}}
{{Struct field|0x4|0x4|float|gMin}}
{{Struct field|0x8|0x4|float|gMax}}
{{Struct field|0xC|0x4|float|u4ag}}
{{Struct bottom}}
Offset Size Type Name
0x4 0x4
float
gMin
0x8 0x4
float
gMax
0xC 0x4
float
u4ag

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Struct bottom

Used to mark the end of a set of struct fields in an article.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

See also