Template:Metadata type definition
Generates an entity metadata type entry—more specifically a row separator and the first two table cells. Takes the name of the type as a parameter, and infers the type ID from the ordering.
Use Template:Metadata type definition/begin to begin the table, e.g.:
{{Metadata type definition/begin}} ! Value ! Notes {{Metadata type definition|Byte}} | {{Type|Byte}} | It's a byte. {{Metadata type definition|Short}} | {{Type|Short}} | It's a short. {{Metadata type definition|Int}} | {{Type|Int}} | You get the drill. |}
If meta_prerelease
is set, an additional rel
parameter can be used to indicate that the type has been added
or removed
.
The type's (full release) ID is stored in meta_type_typename
. In pre-release mode, meta_pre_type_typename
stores the new ID.