Minecraft Wiki

Minecraft Wiki ไม่ถือว่าเป็นวิกิอย่างเป็นทางการของ Microsoft อีกต่อไป ดังนั้นจึงมีการเปลี่ยนแปลงหลายประการเกิดขึ้น ซึ่งรวมไปถึงโลโก้ของวิกิด้วย โปรดอ่านที่ประกาศนี้สำหรับข้อมูลเพิ่มเติม

READ MORE

Minecraft Wiki
Advertisement
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งาน

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

Parameters

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
nonameid If set in the first call the "Namespaced ID" column will be hidden. -
notnamespaced If set in the first call the "Namespaced ID" column will be renamed to "Savegame ID". -
nameonlyjava If set in the first call the "Namespaced ID" column will be marked as only for java. -
shownumericids If set in the first call the "numeric ID" column will be added. -
showaliasids If set in the first call the "Alias 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. -
displayname The name to be shown in the first column. ? + 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. displayname
nameid The ID of the object in question. ? + Category:Pages with missing ID
aliasid The alias ID of the object in question. None
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, for more use commas to separate values, based on generatetranslationkeys a different default will be selected. See footnote.
translationkey2-6 Just like translationkey except it has no default value, this should only be used if only using translationkey makes the template return an error. None
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 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.nameid.
  3. if they are set, and generatetranslationkeys is set to "bedrock" will show translationtype.nameid.name, if translationtype is set to block or effect, it will be replaced with tile and potion respectively, and potion and enchantment do not have the .name at the end.

Outputs

Block:

ชื่อไอดีเนมสเปซไอดีเลข (BE)Block tags (JE)Item tags (JE)รูปแบบไอเทม?Translation key
?? ?ไม่มีไม่มีNo?

Fluid:

ชื่อไอดีเนมสเปซFluid tags (JE)
?? ไม่มี

Item:

ชื่อไอดีเนมสเปซAlias ID (BE)ไอดีเลข (BE)Item tags (JE)Translation key
?? ไม่มี?ไม่มี?

Entity:

ชื่อไอดีเนมสเปซไอดีเลข (BE)Entity tags (JE)Translation key
?? ?ไม่มี?

Biome:

ชื่อไอดีเนมสเปซไอดีเลข Translation key
?? ??

Enchantment:

ชื่อไอดีเนมสเปซไอดีเลข (BE)Translation key
?? ??

Effect:

ชื่อไอดีเนมสเปซไอดีเลข Translation key
?? ??

Dimension:

ชื่อไอดีเนมสเปซ (JE)ไอดีเลข
?? ?

Examples

Basic layout

{{ID table
|spritetype=block
|displayname=Lodestone
|nameid=lodestone
|foot=1
}}
ชื่อไอดีเนมสเปซ
Lodestonelodestone
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:ID table/doc.
Advertisement