Template:MC/Json ref/doc
Template page
More actions
Template:Documentation header This template is used to represent references in json files to other registry entries. The reference can optionally also be included inline or be a reference to a tag or list.
Usage
- Template:P is the name of the type
- Template:P is the page name to link to, defaults to the name
- Template:P whether it is possible to inline the objects
- Template:P the type of the inline object, defaults to {{nbt|compound}}
- Template:P whether the field accepts a list of objects
- Template:P whether the field accepts tag of objects, implies Template:P
- Template:P whether the field only accepts a list or tag of objects and not a single entry
Examples
{{json ref|type name|type link (optional)}}
{{json ref|type name|type link (optional)|inline=1}}
{{json ref|type name|type link (optional)|list=1}}
{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)}}
{{json ref|type name|type link (optional)|list=1|inline=1}}
{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)|inline=1}}
{{json ref|type name|type link (optional)|tag=1|tag_link=tag link (optional)|inline=1|inline_type={{nbt|string}}{{nbt|compound}}}}
{{json ref|type name|type link (optional)|no_single=1|tag=1|tag_link=tag link (optional)|inline=1}}
pt:Predefinição:Referência JSON/doc fr:Modèle:Ref json/doc ko:틀:Json ref/doc uk:Шаблон:Json ref/док zh:Template:Json ref/doc