Template:Infobox data structure/doc: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Created template doc)
 
(Added size param to templatedata)
Line 12: Line 12:
"example": "y",
"example": "y",
"default": "n"
"default": "n"
},
"size": {
"description": "The size of the struct (in bytes)",
"example": "0x14",
"type": "string",
"suggested": true
}
}
},
},

Revision as of 04:02, 10 August 2022

An infobox template for data structure articles. It automatically categorizes the article based on the namespace.

Template data

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

TemplateData for Infobox data structure

An infobox for data structures.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
official name?official

Whether the article name is the official structure name (y/n)

Default
n
Example
y
Unknownoptional
sizesize

The size of the struct (in bytes)

Example
0x14
Stringsuggested

Redirects