Template:GameTag

来自Minecraft基岩版开发Wiki
[查看 | 编辑 | 历史 | 清除缓存]文档页面

该模板用于获取标签或标签内容。 若要获取标签,请将{{{mode}}}设置为tags。 若要获取标签内容,请将{{{mode}}}设置为list:idlist:sprite

获取标签[编辑]

使用{{{type}}}指定标识符类型。
使用{{{id}}}指定赋命名空间标识符
使用{{{datavalue}}}指定数据值

获取标签内容[编辑]

使用{{{tag}}}指定标签名称。
{{{link}}}设置为none以禁用链接。

示例[编辑]

输入:
{{GameTag|mode=tags|type=block|id=minecraft:stone}}<br>
{{GameTag|mode=list:id|tag=stone}}<br>
{{GameTag|mode=list:sprite|tag=stone}}
输出:
  • stone
  • minecraft:brick_block
  • minecraft:cobblestone
  • minecraft:cobblestone_wall ["wall_block_type":"andesite"]
  • minecraft:cobblestone_wall ["wall_block_type":"brick"]
  • minecraft:cobblestone_wall ["wall_block_type":"cobblestone"]
  • minecraft:cobblestone_wall ["wall_block_type":"diorite"]
  • minecraft:cobblestone_wall ["wall_block_type":"end_brick"]
  • minecraft:cobblestone_wall ["wall_block_type":"granite"]
  • minecraft:cobblestone_wall ["wall_block_type":"mossy_cobblestone"]
  • minecraft:cobblestone_wall ["wall_block_type":"mossy_stone_brick"]
  • minecraft:cobblestone_wall ["wall_block_type":"nether_brick"]
  • minecraft:cobblestone_wall ["wall_block_type":"prismarine"]
  • minecraft:cobblestone_wall ["wall_block_type":"red_nether_brick"]
  • minecraft:cobblestone_wall ["wall_block_type":"red_sandstone"]
  • minecraft:cobblestone_wall ["wall_block_type":"sandstone"]
  • minecraft:cobblestone_wall ["wall_block_type":"stone_brick"]
  • minecraft:double_stone_slab ["stone_slab_type":"brick"]
  • minecraft:double_stone_slab ["stone_slab_type":"cobblestone"]
  • minecraft:double_stone_slab ["stone_slab_type":"nether_brick"]
  • minecraft:double_stone_slab ["stone_slab_type":"quartz"]
  • minecraft:double_stone_slab ["stone_slab_type":"sandstone"]
  • minecraft:double_stone_slab ["stone_slab_type":"smooth_stone"]
  • minecraft:double_stone_slab ["stone_slab_type":"stone_brick"]
  • minecraft:double_stone_slab ["stone_slab_type":"wood"]
  • minecraft:dripstone_block
  • minecraft:mossy_cobblestone
  • minecraft:stone ["stone_type":"andesite"]
  • minecraft:stone ["stone_type":"andesite_smooth"]
  • minecraft:stone ["stone_type":"diorite"]
  • minecraft:stone ["stone_type":"diorite_smooth"]
  • minecraft:stone ["stone_type":"granite"]
  • minecraft:stone ["stone_type":"granite_smooth"]
  • minecraft:stone ["stone_type":"stone"]
  • minecraft:stone_button
  • minecraft:stone_pressure_plate
  • minecraft:stone_slab ["stone_slab_type":"brick"]
  • minecraft:stone_slab ["stone_slab_type":"cobblestone"]
  • minecraft:stone_slab ["stone_slab_type":"nether_brick"]
  • minecraft:stone_slab ["stone_slab_type":"quartz"]
  • minecraft:stone_slab ["stone_slab_type":"sandstone"]
  • minecraft:stone_slab ["stone_slab_type":"smooth_stone"]
  • minecraft:stone_slab ["stone_slab_type":"stone_brick"]
  • minecraft:stone_slab ["stone_slab_type":"wood"]
  • minecraft:stone_stairs