Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
(模板调用时建议别弄下划线)
 
第1行: 第1行:
 
<includeonly><div><span class="mcui pixel-image" style="width: 324px; height: 128px;"><span style="display: block; color: #404040; font-family: Minecraft, serif; font-size: 16px; text-align: left; margin-left: 106px; margin-top: -6px; overflow: hidden; text-overflow: ellipsis;">修复{{tr|和|與}}命名</span>{{
 
<includeonly><div><span class="mcui pixel-image" style="width: 324px; height: 128px;"><span style="display: block; color: #404040; font-family: Minecraft, serif; font-size: 16px; text-align: left; margin-left: 106px; margin-top: -6px; overflow: hidden; text-overflow: ellipsis;">修复{{tr|和|與}}命名</span>{{
 
#if: {{{Input1|{{{1|}}}}}}
 
#if: {{{Input1|{{{1|}}}}}}
| <span style="position: absolute; top: 32px; right: 6px; background: {{FileUrl|Anvil_GUI_bar.png}}; width: 220px; height: 32px;"><span style="display: block; margin: 5px 6px; color: #FFF; text-shadow: 0.125em 0.125em 0 #3F3F3F; font-family: Minecraft, serif; font-size: 16px; overflow: hidden; text-overflow: ellipsis; max-width: 208px;">{{Anvil title|{{{title|{{{Input1|{{{1}}}}}}}}}}}</span></span>
+
| <span style="position: absolute; top: 32px; right: 6px; background: {{FileUrl|Anvil_GUI_bar.png}}; width: 220px; height: 32px;"><span style="display: block; margin: 5px 6px; color: #FFF; text-shadow: 0.125em 0.125em 0 #3F3F3F; font-family: Minecraft, serif; font-size: 16px; overflow: hidden; text-overflow: ellipsis; max-width: 208px;">{{Autolink|{{#replace: {{lc:{{{title|{{{Input1|{{{1}}}}}}}}}}}|damaged}}|nolink}}</span></span>
 
| <span style="position: absolute; top: 32px; right: 6px; background: {{FileUrl|Anvil_GUI_bar_(in-active).png}}; width: 220px; height: 32px;"><br></span>
 
| <span style="position: absolute; top: 32px; right: 6px; background: {{FileUrl|Anvil_GUI_bar_(in-active).png}}; width: 220px; height: 32px;"><br></span>
 
}}<span style="display: block; position: absolute; top: 84px; left: 44px;">{{Slot|{{{Input1|{{{1|}}}}}}}}{{Slot|{{{Input2|{{{2|}}}}}}|style=margin-left: 62px}}{{Slot|{{{Output|{{{output|{{{3|}}}}}}}}}|style=margin-left: 80px}}</span><span style="position: absolute; top: 6px; left: 26px; background: {{FileUrl|Anvil Hammer.png}}; background-size: cover; width: 60px; height: 60px;"><br></span><span style="position: absolute; top: 90px; left: 98px; background: {{FileUrl|Anvil Plus.png}}; background-size: cover; width: 26px; height: 26px;"><br></span><span style="display: block; position: absolute; top: 88px; left: 196px; background: {{
 
}}<span style="display: block; position: absolute; top: 84px; left: 44px;">{{Slot|{{{Input1|{{{1|}}}}}}}}{{Slot|{{{Input2|{{{2|}}}}}}|style=margin-left: 62px}}{{Slot|{{{Output|{{{output|{{{3|}}}}}}}}}|style=margin-left: 80px}}</span><span style="position: absolute; top: 6px; left: 26px; background: {{FileUrl|Anvil Hammer.png}}; background-size: cover; width: 60px; height: 60px;"><br></span><span style="position: absolute; top: 90px; left: 98px; background: {{FileUrl|Anvil Plus.png}}; background-size: cover; width: 26px; height: 26px;"><br></span><span style="display: block; position: absolute; top: 88px; left: 196px; background: {{

2020年7月19日 (日) 06:18的最新版本

[查看 | 编辑 | 历史 | 清除缓存]文档页面

用于生成铁砧UI界面。

参数

  • {{{Input1}}}{{{1}}} – 第一个物品。
  • {{{Input2}}}{{{2}}} – 第二个物品。
  • {{{Output}}}{{{3}}} – 输出物品。
  • {{{title}}} - 指定名称栏上的名字。
  • {{{cost}}} - 指定花费成本。设置为expensive将显示为“过于昂贵!”。
  • {{{crossed}}} - 若指定为true,则在输出的箭头上添加红叉。
  • {{{expensive}}} - 若指定为true,则将文字渲染为红色。

示例

修复

{{Anvil|Damaged Iron Sword|Iron Ingot,2|Iron Sword}}

修复和命名铁剑2


另见

以及UI模块: