此条目的(部分)内容需要翻译。
你可以帮助我们来翻译此条目,但请勿使用机器翻译。
Formats arguments to appear similar to in-game NBT.
- The author of this template supports its modification, if an editor can do it better or more efficiently.
语法[]
{{TAG_number|<name>|<value>|[<type>]}}
参数(未命名)[]
- <name>
- Ideally a word. Appears in the color dark cyan, followed by a colon.
- <value>
- Ideally a number. Appears in the color dark orange
- [<type>]
- (Optional) Ideally a single character: b, s, l, and f are the usual ones in the game. Meant to denote the TAG type Immediately follows <value>, and appears in the color crimson.
示例[]
The code {{{TAG_number|x|123}}, {{TAG_number|y|56}}, {{TAG_number|z|12}}} yields {x: 123, y: 56, z: 12}
The code {{{TAG_number|Count|32|b}}} yields {Count: 32b}
另见[]
- Template:TAG_string
- Template:TAG_number