<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FData_table%2Fdoc</id>
	<title>Template:MC/Data table/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FData_table%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Data_table/doc&amp;action=history"/>
	<updated>2026-04-10T08:49:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Data_table/doc&amp;diff=42771&amp;oldid=prev</id>
		<title>imported&gt;Magic at 05:24, 7 July 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Data_table/doc&amp;diff=42771&amp;oldid=prev"/>
		<updated>2025-07-07T05:24:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
This template is used to create the tables on [[Data values]].&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
;Unnamed paremeters&lt;br /&gt;
* {{p|1}}: The name of the block, defaults to &amp;quot;unused&amp;quot;. A suffix can be added using parentheses after the name. &lt;br /&gt;
* {{p|2}}: Optional notes. Type the letter(s) corresponding to the note(s) you want to add it.&lt;br /&gt;
** &amp;lt;code&amp;gt;I&amp;lt;/code&amp;gt;: Has a separate ID as an inventory item.&lt;br /&gt;
** &amp;lt;code&amp;gt;D&amp;lt;/code&amp;gt;: Use the item&amp;#039;s Damage field to define its [[Item durability|durability]].&lt;br /&gt;
** &amp;lt;code&amp;gt;S&amp;lt;/code&amp;gt;: Requires additional data from the saved game&amp;#039;s Data array to fully define the block.&lt;br /&gt;
** &amp;lt;code&amp;gt;B&amp;lt;/code&amp;gt;: Requires additional data in the item&amp;#039;s Damage field to fully define the inventory item.&lt;br /&gt;
** &amp;lt;code&amp;gt;N&amp;lt;/code&amp;gt;: Requires additional data in the item&amp;#039;s NBT data to fully define the inventory item.&lt;br /&gt;
** &amp;lt;code&amp;gt;E&amp;lt;/code&amp;gt;: Requires a [[block entity]] to store additional data.&lt;br /&gt;
* {{p|3}}: Optional prefix&lt;br /&gt;
&lt;br /&gt;
;Named parameters&lt;br /&gt;
* {{p|obtain}}: Limitations on obtaining. Defaults to any. Values include:&lt;br /&gt;
** &amp;lt;code&amp;gt;give&amp;lt;/code&amp;gt;: Only available using /give.&lt;br /&gt;
** &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;: Cannot be obtained no matter what. May be placed using /setblock.&lt;br /&gt;
** &amp;lt;code&amp;gt;creative&amp;lt;/code&amp;gt;: Available in creative mode by item list.&lt;br /&gt;
** &amp;lt;code&amp;gt;pick block&amp;lt;/code&amp;gt;: Available in creative mode by block picking.&lt;br /&gt;
** &amp;lt;code&amp;gt;trading&amp;lt;/code&amp;gt;: Can be obtained by trading with villagers or in creative mode.&lt;br /&gt;
** &amp;lt;code&amp;gt;enchantments&amp;lt;/code&amp;gt;: Only available by having enchanted tools or in creative mode.&lt;br /&gt;
** &amp;lt;code&amp;gt;enchantments only&amp;lt;/code&amp;gt;: Only available by having enchanted tools or via use of /give, but unobtainable in the creative mode menu.&lt;br /&gt;
* {{p|icon}}: Name of the icon, including the .png. If {{p|sprite}} is set, then the name of the sprite. Defaults to {{p|1}}.&lt;br /&gt;
* {{p|iconsize}}: Size of the icon, defaults to 25px.&lt;br /&gt;
* {{p|nameid}}: Change the nameid to something other than {{p|1}}.&lt;br /&gt;
* {{p|link}}: Link to a different article than {{p|1}}.&lt;br /&gt;
* {{p|section}}: Set the section in data values to something other than {{p|1}}.&lt;br /&gt;
&lt;br /&gt;
;Table parameters&lt;br /&gt;
* {{p|dv}}: Sets the data value. Defaults to the previous plus 1.&lt;br /&gt;
* {{p|sprite}}: 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.&lt;br /&gt;
** Example: Setting it to &amp;lt;code&amp;gt;block&amp;lt;/code&amp;gt; will use {{tl|blockSprite}}&lt;br /&gt;
* {{p|table}}: Sets the header title for the template and all following uses. Defaults to &amp;lt;code&amp;gt;Blocks&amp;lt;/code&amp;gt;.&lt;br /&gt;
* {{p|namecolumn}}: If set to &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; then all following uses of the template will have no name column. To use the name column again later simply set it back to &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;.&lt;br /&gt;
* {{p|foot}}: If set, then it adds the foot to the table.&lt;br /&gt;
* {{p|bedrock}}: 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.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Data table|Air|icon=none|obtain=none}}&lt;br /&gt;
{{Data table|Stone|SB}}&lt;br /&gt;
{{Data table|Grass Block|nameid=grass|icon=Grass.png}}&lt;br /&gt;
{{Data table|Dirt|SB}}&lt;br /&gt;
{{Data table|Cobblestone}}&lt;br /&gt;
{{Data table|Wood Planks|SB|icon=Oak Planks.png}}&lt;br /&gt;
{{Data table|Sapling|SB}}&lt;br /&gt;
{{Data table|Bedrock|obtain=creative}}&lt;br /&gt;
{{Data table|Water|S|section=Water and Lava|nameid=flowing_water|obtain=none}}&lt;br /&gt;
{{Data table|Water|S|Stationary|section=Water and Lava|obtain=none}}&lt;br /&gt;
{{Data table|Lava|S|section=Water and Lava|nameid=flowing_water|obtain=none}}&lt;br /&gt;
{{Data table|Lava (stationary)|S|section=Water and Lava|obtain=none}}&lt;br /&gt;
{{Data table|Sand|SB}}&lt;br /&gt;
{{Data table|Gravel}}&lt;br /&gt;
{{Data table|Gold Ore}}&lt;br /&gt;
{{Data table|Iron Ore|foot=1}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{Data table|Air|icon=none|obtain=none}}&lt;br /&gt;
{{Data table|Stone|SB}}&lt;br /&gt;
{{Data table|Grass Block|nameid=grass|icon=Grass Block.png}}&lt;br /&gt;
{{Data table|Dirt|SB}}&lt;br /&gt;
{{Data table|Cobblestone}}&lt;br /&gt;
{{Data table|Wood Planks|SB|icon=Oak Planks.png}}&lt;br /&gt;
{{Data table|Sapling|SB}}&lt;br /&gt;
{{Data table|Bedrock|obtain=creative}}&lt;br /&gt;
{{Data table|Water|S|section=Water and Lava|nameid=flowing_water|obtain=none}}&lt;br /&gt;
{{Data table|Water|S|Stationary|section=Water and Lava|obtain=none}}&lt;br /&gt;
{{Data table|Lava|S|section=Water and Lava|nameid=flowing_water|obtain=none}}&lt;br /&gt;
{{Data table|Lava (stationary)|S|section=Water and Lava|obtain=none}}&lt;br /&gt;
{{Data table|Sand|SB}}&lt;br /&gt;
{{Data table|Gravel}}&lt;br /&gt;
{{Data table|Gold Ore}}&lt;br /&gt;
{{Data table|Iron Ore|foot=1}}&lt;br /&gt;
{{-}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{t|Biome ID table}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template categories/interwiki here --&amp;gt;&lt;br /&gt;
[[Category:Table templates]]&lt;br /&gt;
&lt;br /&gt;
[[cs:Šablona:ID table]]&lt;br /&gt;
[[fr:Modèle:Tableau de données]]&lt;br /&gt;
[[it:Template:Tabella dei dati]]&lt;br /&gt;
[[ja:テンプレート:Data table]]&lt;br /&gt;
[[lzh:模板:Data table]]&lt;br /&gt;
[[nl:Sjabloon:ID-tabel]]&lt;br /&gt;
[[pt:Predefinição:Tabela de dados]]&lt;br /&gt;
[[ru:Шаблон:Таблица ID]]&lt;br /&gt;
[[th:แม่แบบ:Data table]]&lt;br /&gt;
[[uk:Шаблон:Таблиця ID]]&lt;br /&gt;
[[zh:Template:Data table]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Documentation categories/interwiki here --&amp;gt;&lt;br /&gt;
[[cs:Šablona:ID table/doc]]&lt;br /&gt;
[[fr:Modèle:Tableau de données/doc]]&lt;br /&gt;
[[it:Template:Tabella dei dati/doc]]&lt;br /&gt;
[[ja:テンプレート:Data table/doc]]&lt;br /&gt;
[[lzh:模板:Data table/doc]]&lt;br /&gt;
[[nl:Sjabloon:ID-tabel/doc]]&lt;br /&gt;
[[pt:Predefinição:Tabela de dados/doc]]&lt;br /&gt;
[[ru:Шаблон:Таблица ID/док]]&lt;br /&gt;
[[th:แม่แบบ:Data table/doc]]&lt;br /&gt;
[[uk:Шаблон:Таблиця ID/док]]&lt;br /&gt;
[[zh:Template:Data table/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Magic</name></author>
	</entry>
</feed>