Template:MC/Data table/doc
Template page
More actions
Template:Documentation header This template is used to create the tables on Data values.
Parameters
- Unnamed paremeters
- Template:P: The name of the block, defaults to "unused". A suffix can be added using parentheses after the name.
- Template:P: Optional notes. Type the letter(s) corresponding to the note(s) you want to add it.
I: Has a separate ID as an inventory item.D: Use the item's Damage field to define its durability.S: Requires additional data from the saved game's Data array to fully define the block.B: Requires additional data in the item's Damage field to fully define the inventory item.N: Requires additional data in the item's NBT data to fully define the inventory item.E: Requires a block entity to store additional data.
- Template:P: Optional prefix
- Named parameters
- Template:P: Limitations on obtaining. Defaults to any. Values include:
give: Only available using /give.none: Cannot be obtained no matter what. May be placed using /setblock.creative: Available in creative mode by item list.pick block: Available in creative mode by block picking.trading: Can be obtained by trading with villagers or in creative mode.enchantments: Only available by having enchanted tools or in creative mode.enchantments only: Only available by having enchanted tools or via use of /give, but unobtainable in the creative mode menu.
- Template:P: Name of the icon, including the .png. If Template:P is set, then the name of the sprite. Defaults to Template:P.
- Template:P: Size of the icon, defaults to 25px.
- Template:P: Change the nameid to something other than Template:P.
- Template:P: Link to a different article than Template:P.
- Template:P: Set the section in data values to something other than Template:P.
- Table parameters
- Template:P: Sets the data value. Defaults to the previous plus 1.
- Template:P: If set, the icon uses the sprite template listed instead of a file. Setting it causes all later templates to use the same option. To reset to use a files, set it to be empty.
- Example: Setting it to
blockwill use Template:Tl
- Example: Setting it to
- Template:P: Sets the header title for the template and all following uses. Defaults to
Blocks. - Template:P: If set to
0then all following uses of the template will have no name column. To use the name column again later simply set it back to1. - Template:P: If set, then it adds the foot to the table.
- Template:P: If set to 1, all following uses of the template will have the availability tooltips will be more reflective of the Bedrock Edition, and the name column will be hidden. Simply set to 0 to switch back to Java Edition.
Example
{{Data table|Air|icon=none|obtain=none}}
{{Data table|Stone|SB}}
{{Data table|Grass Block|nameid=grass|icon=Grass.png}}
{{Data table|Dirt|SB}}
{{Data table|Cobblestone}}
{{Data table|Wood Planks|SB|icon=Oak Planks.png}}
{{Data table|Sapling|SB}}
{{Data table|Bedrock|obtain=creative}}
{{Data table|Water|S|section=Water and Lava|nameid=flowing_water|obtain=none}}
{{Data table|Water|S|Stationary|section=Water and Lava|obtain=none}}
{{Data table|Lava|S|section=Water and Lava|nameid=flowing_water|obtain=none}}
{{Data table|Lava (stationary)|S|section=Water and Lava|obtain=none}}
{{Data table|Sand|SB}}
{{Data table|Gravel}}
{{Data table|Gold Ore}}
{{Data table|Iron Ore|foot=1}}
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
Template:Data table
See also
- {{Biome ID table}}
cs:Šablona:ID table/doc fr:Modèle:Tableau de données/doc it:Template:Tabella dei dati/doc ja:テンプレート:Data table/doc lzh:模板:Data table/doc nl:Sjabloon:ID-tabel/doc pt:Predefinição:Tabela de dados/doc ru:Шаблон:Таблица ID/док th:แม่แบบ:Data table/doc uk:Шаблон:Таблиця ID/док zh:Template:Data table/doc