Difference between revisions of "Template:Type"
Jump to navigation
Jump to search
(New template to simplify type definition links.) |
(Performance test (to be reverted)) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>[[#Type:{{{1}}}|{{{1}}}]]</includeonly><noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
Generates a link to a type definition listed in [[Data types#Definitions]]. Uses an internal link when used in [[Protocol]] or [[Data types]]. | Generates a link to a type definition listed in [[Data types#Definitions]]. Uses an internal link when used in [[Protocol]] or [[Data types]]. | ||
Revision as of 21:56, 24 February 2024
Generates a link to a type definition listed in Data types#Definitions. Uses an internal link when used in Protocol or Data types.
Usage examples
Wikitext | Output |
---|---|
{{Type|VarInt}} {{Type|Enum}}
|
VarInt Enum |
{{Type|String}} (16)
|
String (16) |
{{Type|Array}} of {{Type|Text Component}}
|
Array of Text Component |