Minecraft Wiki

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

了解更多

Minecraft Wiki
(同步en)
 
(未显示4个用户的6个中间版本)
第1行: 第1行:
<includeonly><div><span class="mcui pixel-image" style="width: 324px; height: 128px;"><span style="display: block; color: #404040; font-family: Minecraft; font-size: 16px; text-align: left; margin-left: 106px; margin-top: -6px; overflow: hidden; text-overflow: ellipsis;">物品修复和命名</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; font-size: 16px; overflow: hidden; text-overflow: ellipsis; max-width: 208px;">{{{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|{{{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: {{
 
#ifeq: {{{crossed|}}}
 
#ifeq: {{{crossed|}}}
 
| true
 
| true
第10行: 第10行:
 
}}; width: 44px; height: 30px;"><br></span>{{
 
}}; width: 44px; height: 30px;"><br></span>{{
 
#if: {{{cost|}}}
 
#if: {{{cost|}}}
| <span style="display: block; position: absolute; top: 126px; right: 8px; background: #898989; padding: 0 4px 0 4px; font-family: Minecraft; font-size: 16px;{{
+
| <span style="display: block; position: absolute; top: 126px; right: 8px; background: #898989; padding: 0 4px 0 4px; font-family: Minecraft, serif; font-size: 16px;{{
 
#switch: {{{expensive|}}}
 
#switch: {{{expensive|}}}
 
| true = color: #FF6060; text-shadow: 0.125em 0.125em #401818, 0.125em 0 #401818, 0 0.125em #401818;
 
| true = color: #FF6060; text-shadow: 0.125em 0.125em #401818, 0.125em 0 #401818, 0 0.125em #401818;
第16行: 第16行:
 
}} overflow: hidden; text-overflow: ellipsis; max-width: 308px;">{{
 
}} overflow: hidden; text-overflow: ellipsis; max-width: 308px;">{{
 
#switch: {{{cost|}}}
 
#switch: {{{cost|}}}
| expensive = Too Expensive!
+
| expensive = {{tr|过于昂贵!|太貴了!}}
| #default = Enchantment Cost: {{{cost}}}
+
| #default = 附魔{{tr|花费|成本}}:{{{cost}}}
 
}}
 
}}
 
}}</span></span></div></includeonly><noinclude>
 
}}</span></span></div></includeonly><noinclude>

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模块: