Changes

no edit summary
Line 22: Line 22:  
|{{name|Hardwood|1}}{{name|Coral|2}}{{name|Fiber|10}}
 
|{{name|Hardwood|1}}{{name|Coral|2}}{{name|Fiber|10}}
 
|[[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 6
 
|[[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 6
|-
  −
|[[File:Bait Maker.png|center]]
  −
|[[Bait Maker]]
  −
|{{Description|Bait Maker}}
  −
|{{name|Iron Bar|3}}{{name|Coral|3}}{{name|Sea Urchin|1}}
  −
|[[File:Fishing Skill Icon.png|24px|link=]] [[Fishing#Fishing Skill|Fishing]] Level 6
   
|}
 
|}
 
</pre>
 
</pre>
Line 43: Line 37:  
|{{name|Hardwood|1}}{{name|Coral|2}}{{name|Fiber|10}}
 
|{{name|Hardwood|1}}{{name|Coral|2}}{{name|Fiber|10}}
 
|[[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 6
 
|[[File:Foraging Skill Icon.png|24px|link=]] [[Foraging#Foraging Skill|Foraging]] Level 6
|-
  −
|[[File:Bait Maker.png|center]]
  −
|[[Bait Maker]]
  −
|{{Description|Bait Maker}}
  −
|{{name|Iron Bar|3}}{{name|Coral|3}}{{name|Sea Urchin|1}}
  −
|[[File:Fishing Skill Icon.png|24px|link=]] [[Fishing#Fishing Skill|Fishing]] Level 6
   
|}
 
|}
   Line 56: Line 44:  
{{Recipes|header|hide=buff,duration,restores|crafting=true}}
 
{{Recipes|header|hide=buff,duration,restores|crafting=true}}
 
{{:Warp Totem: Beach|RecipeRow/NoBuffsHealthEnergy}}
 
{{:Warp Totem: Beach|RecipeRow/NoBuffsHealthEnergy}}
{{:Bait Maker|RecipeRow/NoBuffsHealthEnergy}}
   
{{Recipes|footer}}
 
{{Recipes|footer}}
 
</pre>
 
</pre>
 +
 +
{{Recipes|header|hide=buff,duration,restores|crafting=true}}
 +
{{:Warp Totem: Beach|RecipeRow/NoBuffsHealthEnergy}}
 +
{{Recipes|footer}}
    
===Discussion===
 
===Discussion===
Line 64: Line 55:  
I believe this template works really well, because the code is clean and tidy. What's more, it frees us from repetitive work. If another update comes and some recipes are changed, what we need to do will only be editing the main page of the changed item, instead of copying the work to every ingredient.  
 
I believe this template works really well, because the code is clean and tidy. What's more, it frees us from repetitive work. If another update comes and some recipes are changed, what we need to do will only be editing the main page of the changed item, instead of copying the work to every ingredient.  
   −
However, since this page is designed for cooking recipes initially, they haven't considered the case that the items cannot be sold. You can see that an error "{{Price|}}" will take place in the "Sell Price" line of the [[Bait Maker]] (BTW, using the unchanged infobox of [[Bait Maker]] results in a more terrible error).  
+
However, since this page is designed for cooking recipes initially, some errors will take place if the infobox is not compatible. For example, It is not considered the case that the items cannot be sold.
    
My suggestion: A switch function could be added to check whether the item is priceless in [[Template:Infobox cooking]] and [[Template:RecipeRow/NoBuffsHealthEnergy]]. See the "default sellprice" in [[Template:Infobox]]:
 
My suggestion: A switch function could be added to check whether the item is priceless in [[Template:Infobox cooking]] and [[Template:RecipeRow/NoBuffsHealthEnergy]]. See the "default sellprice" in [[Template:Infobox]]:
Line 79: Line 70:  
</pre>
 
</pre>
   −
Unfortunately, I haven't used this programming language in wiki before, so I'm afraid coding is difficult for me. Maybe some excellent programmers could help? Thank you very much :) [[User:群星之尘|群星之尘]] ([[User talk:群星之尘|talk]]) 19:17, 1 May 2024 (UTC)
+
Unfortunately, I haven't used this programming language in wiki before, so I'm afraid coding is difficult for me. Maybe some excellent programmers could help? Thank you very much :) [[User:群星之尘|群星之尘]] ([[User talk:群星之尘|talk]]) 08:14, 6 May 2024 (UTC)
913

edits