Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:RecipeBlock: Difference between revisions

Template page
No edit summary
No edit summary
Line 107: Line 107:
</div>
</div>


<!-- Estilos para las filas de ingredientes -->
<noinclude>
<style>
.recipe-container tbody tr {
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease;
}
 
.recipe-container tbody tr:hover {
  background: rgba(52, 152, 219, 0.1);
}
 
.recipe-container tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(15, 76, 117, 0.3);
  color: #ecf0f1;
}
 
.recipe-container tbody tr:last-child td {
  border-bottom: none;
}
 
/* Responsive */
@media (max-width: 768px) {
  .recipe-container > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}
</style><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>

Revision as of 20:35, 18 January 2026

   🔨

Crafting Recipe

📦 Required Materials

<thead> </thead> <tbody> {{{ingredients}}} </tbody>
Icon Material Qty

⚙️ Crafting Details

         🔧
Workbench
[[{{{bench}}}]]
         
Required Tier
{{{tier}}}
         ⏱️
Crafting Time
{{{time}}}
         📋
Requirements
{{{requirements}}}



Usage

{{RecipeBlock
| ingredients = {{RecipeRow|File:Ingredient_Bar_Cobalt.png|Cobalt Ingot|7}}
{{RecipeRow|File:Ingredient_Leather_Heavy.png|Heavy Leather|2}}
{{RecipeRow|File:Ingredient_Fabric_Scrap_Shadoweave.png|Shadoweave Scraps|4}}
| bench = Workbench
| tier = None
| time = 4 seconds
| requirements = None
| output = 1x Cobalt Pickaxe
}}

Parameters

  • ingredients - Use Template:Tl template for each ingredient
  • bench - Crafting station required
  • tier - Required tier/level
  • time - Crafting duration
  • requirements - Additional requirements (optional)
  • output - What the recipe produces (optional)