<本站文本内容除另有声明外,转载时均必须注明出处。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。>

Template:ID table

来自Minecraft Wiki
(重定向自Template:Id table
跳转至: 导航搜索
[查看 | 编辑 | 历史 | 清除缓存]文档页面

用于创建一个ID表格。一般情况下,搬运内容时请将displayname=这一参数名称去掉,并使用标准的英文名称以提供正确的{{autolink}}转换。例如:将|displayname=Diamond Block改为|Diamond Block而不是|displayname=钻石块

方块:

名称命名空间ID数字ID (BE方块标签JE物品标签JE拥有物品形式翻译关键字
?? ??

流体:

名称命名空间ID流体标签JE
??

物品:

名称命名空间ID数字ID (BE物品标签JE翻译关键字
?? ??

实体:

名称命名空间ID数字ID (BE实体标签JE翻译关键字
?? ??

生物群系:

名称命名空间ID数字ID
?? ?

魔咒:

名称命名空间ID数字ID (BE翻译关键字
?? ??

状态效果:

名称命名空间ID数字ID 翻译关键字
?? ??

维度:

名称命名空间ID数字ID
?? ?

存档ID:

名称存档ID
??

A template to be used in the ID sections of pages.

Parameter Function Default value
firstcolumnname The name of the first column, only should be changed to make the differences between the objects more clear. Name
shownumericids If set in the first call the "numeric ID" column will be added. -
numericonlybedrock If set in the first call the "numeric ID" column will be marked as only for bedrock. -
showfluidtags If set in the first call the "fluid tags" column will be added. -
showblocktags If set in the first call the "block tags" column will be added. -
showitemtags If set in the first call the "item tags" column will be added. -
showentitytags If set in the first call the "entity tags" column will be added. -
showitemforms If set in the first call the "has item form" column will be added. -
generatetranslationkeys If set in the first call the "translation key" column will be added. Should be set to "java" or "bedrock" see translationkey for more details. -
nocat If set in the first call, no matter the value, categories will not be added. -
1 The first column value. -
displayname The name to be shown in the first column, will default to 1 if it is set instead. ? + Category:Pages with missing ID table name
spritetype The sprite template to use, can be block, item, entity, biome and env; not set means no sprite, the value for the sprite is the value of spritename. -
spritename The sprite name to use. 1
2
nameid
The ID of the object in question. ? + Category:Pages with missing ID
3
id
The numeric ID of the object in question; set to "-" if not applicable to this row. ? + Category:Pages with missing ID
fluidtags The fluid tags this fluid has.
Code formatting is added by default when set.
None
blocktags The block tags this block has.
Code formatting is added by default when set.
None
itemtags The item tags this item has.
Code formatting is added by default when set.
None
entitytags The entity tags this entity has.
Code formatting is added by default when set.
None
itemform If this block has an item form, only needs to be set to change to "Yes", no matter the value. No
translationkey The translation key, based on generatetranslationkeys a different default will be selected. See footnote.
translationtype Used in generation the translation key. The value of spritetype.
foot Should always be set in the last call, no matter the value. -

Translation key note:
This value has 2 defaults:

  1. if 2/nameid is unset or translationtype is unset, will show as ? + Category:Pages with missing translation key.
  2. if they are set, and generatetranslationkeys is set to "java" will show translationtype.minecraft.2/nameid.
  3. if they are set, and generatetranslationkeys is set to "bedrock" will show translationtype.2/nameid.name, if translationtype is set to block, will be replaced with tile.