Template:ID table - minecraft.fandom.com
Jump to navigation
Jump to search
Treść tej podstrony pochodzi z artykułu „Template:ID table” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
A template to be used in the ID sections of pages.
Parameters[]
| Parameter | Function | Default value |
|---|---|---|
edition |
The edition of objects. Should set in the first call if it's a table for blocks or items. Should be set to "java" or "bedrock". | - |
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 "Identifier" column will be hidden. | - |
notnamespaced |
If set in the first call the "Identifier" column will be renamed to "Savegame ID". | - |
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. | - |
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. | - |
showforms |
If set in the first call the "form" column will be added. Only blocks or items should use this column. | - |
notshowbeitemforms |
If set in the first call the "Item ID" column will be hidden. | - |
itemform |
Item ID to showed in "Item ID" column, enclosed with <code> tag | "Identical" |
itemform2 |
Item ID to showed in "Item ID" column. | "Identical" |
generatetranslationkeys |
If set in the first call the "translation key" column will be added. (If edition isn't specified, it 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 |
form |
If this ID is only a block or item, set it respectively; "block" for block form only, "item" for item form only, unset for both. For bedrock edition, setting to "block" means not being allowed by the give command. | - |
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 |
translationkey |
The translation key, for more use commas to separate values, based on generatetranslationkeys a different default will be selected. | See footnote. |
translationtype |
Used in generation the translation key. | spritetype |
foot |
Should always be set in the last call, no matter the value. | - |
Translation key note: This value has 2 defaults:
- if nameid is unset or translationtype is unset, will show as
?+ Category:Pages with missing translation key. - if they are set, and edition (or generatetranslationkeys) is set to "java" will show
translationtype.minecraft.nameid. - if they are set, and edition (or 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.nameat the end.
Outputs[]
Fluid:
| Name | Identifier | Fluid tags (JE) |
|---|---|---|
| ? | ? | None |
Block:
| Name | Identifier | Numeric ID | Form | Block tags | Translation key |
|---|---|---|---|---|---|
| ? | ? | ? | Block & Item | None | ? |
| Name | Identifier | Alias ID | Numeric ID | Form | Item ID[i 1] | Translation key |
|---|---|---|---|---|---|---|
| ? | ? | None | ? | Block & Giveable Item[i 2] | Identical[i 3] | ? |
Item:
| Name | Identifier | Numeric ID | Form | Item tags | Translation key |
|---|---|---|---|---|---|
| ? | ? | ? | Item | None | ? |
| Name | Identifier | Alias ID | Numeric ID | Form | Item ID[i 1] | Translation key |
|---|---|---|---|---|---|---|
| ? | ? | None | ? | Item | — | ? |
- ↑ ID of block's direct item form, which is used in savegame files and addons.
Entity:
| Name | Identifier | Numeric ID (BE) | Entity tags (JE) | Translation key |
|---|---|---|---|---|
| ? | ? | ? | None | ? |
Biome:
| Name | Identifier | Numeric ID | Translation key |
|---|---|---|---|
| ? | ? | ? | ? |
Enchantment:
| Name | Identifier | Numeric ID (BE) | Translation key |
|---|---|---|---|
| ? | ? | ? | ? |
Effect:
| Name | Identifier | Numeric ID | Translation key |
|---|---|---|---|
| ? | ? | ? | ? |
Dimension:
| Name | Identifier (JE) | Numeric ID |
|---|---|---|
| ? | ? | ? |
Examples[]
Basic layout[]
{{ID table
|spritetype=block
|displayname=Lodestone
|nameid=lodestone
|foot=1
}}
| Name | Identifier |
|---|---|
| Lodestone | lodestone |
[view | edit | history | purge]The above documentation is transcluded from Template:ID table/doc.