Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header This template includes a section of NBT tags which is inherited into another set.

Usage

This template requires creating a couple of pages for each inherited set of tags. The Template:Nbt inherit/<id> page will use this template, and is what will actually be used by editors. The Template:Nbt inherit/<id>/template page simple transcludes the actual content to be inherited which will be loaded when clicking on the show button (this page is for technical caching reasons for the page loader script).

Example

To inherit Chunk format/Entity:

Template:Nbt inherit/entity should contain
{{Nbt inherit|Template:Nbt inherit/entity/template|Tags common to all entities}}
Template:Nbt inherit/entity/template should transclude the original page
{{:Chunk format/Entity}}

Then the usage in a tree which inherits it:

<div class="treeview">
* {{nbt|compound}} Entity tag
** {{nbt inherit/entity}}
** Tag unique to this entity
** Another tag unique to this entity
*** {{nbt inherit/item|indent=***}}
</div>

fr:Modèle:Arbre Nbt ja:テンプレート:Nbt inherit ko:틀:Nbt inherit pt:Predefinição:Nbt inherit ru:Шаблон:Nbt наследование uk:Шаблон:Nbt inherit

zh:Template:Nbt inherit
The above text is transcluded from Template:MC/Nbt inherit/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Nbt inherit/doc. (View all subpages of this page.)