|
|
Line 1: |
Line 1: |
| <includeonly>[[#Type:{{{1}}}|{{{1}}}]]</includeonly><noinclude>
| | [[#Type:{{{1}}}|{{{1}}}]] |
| 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 ==
| |
| | |
| {| class="wikitable"
| |
| ! Wikitext
| |
| ! Output
| |
| |-
| |
| | <code><nowiki>{{Type|VarInt}} {{Type|Enum}}</nowiki></code>
| |
| | {{Type|VarInt}} {{Type|Enum}}
| |
| |-
| |
| | <code><nowiki>{{Type|String}} (16)</nowiki></code>
| |
| | {{Type|String}} (16)
| |
| |-
| |
| | <code><nowiki>{{Type|Array}} of {{Type|Text Component}}</nowiki></code>
| |
| | {{Type|Array}} of {{Type|Text Component}}
| |
| |}
| |
| </noinclude>
| |
Revision as of 21:59, 24 February 2024
[[#Type:{{{1}}}|{{{1}}}]]