Difference between revisions of "Template:Anvil"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(Added support for animated item slots.) |
m (Making it sync animations by defaut) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <span class="av-container pixel {{#ifeq: {{{animation-sync}}}| | + | <span class="av-container pixel {{#ifeq: {{{animation-sync}}}|false||ts-sync}}"> |
<span class="av-hammer-icon"></span> | <span class="av-hammer-icon"></span> | ||
<span class="av-title">Anvil - Repair & Rename</span> | <span class="av-title">Anvil - Repair & Rename</span> | ||
− | <span class="av-textfield></span> | + | <span class="av-textfield>{{{output-name|}}}</span> |
<span class="av-row"> | <span class="av-row"> | ||
<span class="av-input"> | <span class="av-input"> | ||
Line 16: | Line 16: | ||
</span> | </span> | ||
</span> | </span> | ||
− | </span> | + | </span><noinclude> |
− | < | + | == Syntax == |
+ | <pre> | ||
+ | {{Anvil | ||
+ | | input-name = | ||
+ | | input-nameN | ||
+ | | input2-name = | ||
+ | | input2-nameN = | ||
+ | | output-name = | ||
+ | | output-nameN = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
== Examples == | == Examples == | ||
+ | <pre> | ||
{{Anvil | {{Anvil | ||
− | | input- | + | | animation-sync = true |
− | | input2- | + | | input-animated = true |
− | | output- | + | | input-name1 = Wooden Sword |
+ | | input-name2 = Stone Sword | ||
+ | | input-name3 = Iron Sword | ||
+ | | input-name4 = Golden Sword | ||
+ | | input-name5 = Diamond Sword | ||
+ | | input-minetip-text1 = Sharpness III | ||
+ | | input-minetip-text2 = Sharpness III | ||
+ | | input-minetip-text3 = Sharpness III | ||
+ | | input-minetip-text4 = Sharpness III | ||
+ | | input-minetip-text5 = Sharpness III | ||
+ | | input-durability1 = 50 | ||
+ | | input-durability2 = 50 | ||
+ | | input-durability3 = 50 | ||
+ | | input-durability4 = 50 | ||
+ | | input-durability5 = 50 | ||
+ | | input2-animated = true | ||
+ | | input2-name1 = Wooden Sword | ||
+ | | input2-name2 = Stone Sword | ||
+ | | input2-name3 = Iron Sword | ||
+ | | input2-name4 = Golden Sword | ||
+ | | input2-name5 = Diamond Sword | ||
+ | | input2-durability1 = 50 | ||
+ | | input2-durability2 = 50 | ||
+ | | input2-durability3 = 50 | ||
+ | | input2-durability4 = 50 | ||
+ | | input2-durability5 = 50 | ||
+ | | output-animated = true | ||
+ | | output-name1 = Wooden Sword | ||
+ | | output-name2 = Stone Sword | ||
+ | | output-name3 = Iron Sword | ||
+ | | output-name4 = Golden Sword | ||
+ | | output-name5 = Diamond Sword | ||
+ | | output-minetip-text1 = Sharpness III | ||
+ | | output-minetip-text2 = Sharpness III | ||
+ | | output-minetip-text3 = Sharpness III | ||
+ | | output-minetip-text4 = Sharpness III | ||
+ | | output-minetip-text5 = Sharpness III | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Results in: | ||
+ | |||
+ | {{Anvil | ||
+ | | animation-sync = true | ||
+ | | input-animated = true | ||
+ | | input-name1 = Wooden Sword | ||
+ | | input-name2 = Stone Sword | ||
+ | | input-name3 = Iron Sword | ||
+ | | input-name4 = Golden Sword | ||
+ | | input-name5 = Diamond Sword | ||
+ | | input-minetip-text1 = Sharpness III | ||
+ | | input-minetip-text2 = Sharpness III | ||
+ | | input-minetip-text3 = Sharpness III | ||
+ | | input-minetip-text4 = Sharpness III | ||
+ | | input-minetip-text5 = Sharpness III | ||
+ | | input-durability1 = 50 | ||
+ | | input-durability2 = 50 | ||
+ | | input-durability3 = 50 | ||
+ | | input-durability4 = 50 | ||
+ | | input-durability5 = 50 | ||
+ | | input2-animated = true | ||
+ | | input2-name1 = Wooden Sword | ||
+ | | input2-name2 = Stone Sword | ||
+ | | input2-name3 = Iron Sword | ||
+ | | input2-name4 = Golden Sword | ||
+ | | input2-name5 = Diamond Sword | ||
+ | | input2-durability1 = 50 | ||
+ | | input2-durability2 = 50 | ||
+ | | input2-durability3 = 50 | ||
+ | | input2-durability4 = 50 | ||
+ | | input2-durability5 = 50 | ||
+ | | output-animated = true | ||
+ | | output-name1 = Wooden Sword | ||
+ | | output-name2 = Stone Sword | ||
+ | | output-name3 = Iron Sword | ||
+ | | output-name4 = Golden Sword | ||
+ | | output-name5 = Diamond Sword | ||
+ | | output-minetip-text1 = Sharpness III | ||
+ | | output-minetip-text2 = Sharpness III | ||
+ | | output-minetip-text3 = Sharpness III | ||
+ | | output-minetip-text4 = Sharpness III | ||
+ | | output-minetip-text5 = Sharpness III | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 07:47, 12 October 2022
Syntax
{{Anvil | input-name = | input-nameN | input2-name = | input2-nameN = | output-name = | output-nameN = }}
Examples
{{Anvil | animation-sync = true | input-animated = true | input-name1 = Wooden Sword | input-name2 = Stone Sword | input-name3 = Iron Sword | input-name4 = Golden Sword | input-name5 = Diamond Sword | input-minetip-text1 = Sharpness III | input-minetip-text2 = Sharpness III | input-minetip-text3 = Sharpness III | input-minetip-text4 = Sharpness III | input-minetip-text5 = Sharpness III | input-durability1 = 50 | input-durability2 = 50 | input-durability3 = 50 | input-durability4 = 50 | input-durability5 = 50 | input2-animated = true | input2-name1 = Wooden Sword | input2-name2 = Stone Sword | input2-name3 = Iron Sword | input2-name4 = Golden Sword | input2-name5 = Diamond Sword | input2-durability1 = 50 | input2-durability2 = 50 | input2-durability3 = 50 | input2-durability4 = 50 | input2-durability5 = 50 | output-animated = true | output-name1 = Wooden Sword | output-name2 = Stone Sword | output-name3 = Iron Sword | output-name4 = Golden Sword | output-name5 = Diamond Sword | output-minetip-text1 = Sharpness III | output-minetip-text2 = Sharpness III | output-minetip-text3 = Sharpness III | output-minetip-text4 = Sharpness III | output-minetip-text5 = Sharpness III }}
Results in:
Anvil - Repair & Rename