Difference between revisions of "Template:Anvil"

From Mine Blocks Wiki
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!

m (Making it sync animations by defaut)
 
Line 1: Line 1:
<span class="av-container pixel {{#ifeq: {{{animation-sync}}}|true|ts-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>

Latest revision as of 08:47, 12 October 2022

Anvil - Repair & Rename Invisible-sprite Invisible-sprite Invisible-sprite

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 Wooden SwordWooden SwordWooden SwordWooden SwordWooden Sword Wooden SwordWooden SwordWooden SwordWooden SwordWooden Sword Wooden SwordWooden SwordWooden SwordWooden SwordWooden Sword