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

Template:ToolBlock: Difference between revisions

Template page
Created page with "<div class="tool-stats" style="display:flex; flex-wrap:wrap; gap:1em; margin-top:1em;"> <!-- Gathering Power --> <div style="display:{{#if:{{{gatherings|}}}|block|none}};" style="flex:1; min-width:250px; background:#f9f9f9; border:1px solid #ccc; padding:1em; border-radius:8px;"> <div style="font-weight:bold; font-size:1.1em; margin-bottom:0.5em;">🪓 Gathering Power</div> {{{gatherings}}} </div> <!-- Durability Loss --> <div style="display:{{#if:{{{durability|}}}..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="tool-stats" style="display:flex; flex-wrap:wrap; gap:1em; margin-top:1em;">
{{#if:{{{gatherings|}}}|
! colspan="2" style="background: rgba(241, 196, 15, 0.15); padding: 0.5em; font-size: 1em;" {{!}} 🪓 Gathering Power
{{!}}-
{{{gatherings}}}
}}
{{#if:{{{durability|}}}|
{{!}}-
! colspan="2" style="background: rgba(149, 165, 166, 0.15); padding: 0.5em; font-size: 1em;" {{!}} 🧱 Durability Loss
{{!}}-
{{!}} colspan="2" style="padding: 0.75em;" {{!}} {{{durability}}}
{{!}}-
}}


<!-- Gathering Power -->
<noinclude>
<div style="display:{{#if:{{{gatherings|}}}|block|none}};" style="flex:1; min-width:250px; background:#f9f9f9; border:1px solid #ccc; padding:1em; border-radius:8px;">
== Usage ==
  <div style="font-weight:bold; font-size:1.1em; margin-bottom:0.5em;">🪓 Gathering Power</div>
<pre>
  {{{gatherings}}}
{{ToolBlock
</div>
| gatherings = {{GatheringPowerRow|SoftBlocks|1}}
{{GatheringPowerRow|Soils|0.5}}
{{GatheringPowerRow|Woods|0.05}}
{{GatheringPowerRow|Rocks|0.5}}
| durability = Stone, Rock, Ores, Soil → 0.25
}}
</pre>


<!-- Durability Loss -->
== Parameters ==
<div style="display:{{#if:{{{durability|}}}|block|none}};" style="flex:1; min-width:250px; background:#fff8f0; border:1px solid #ccc; padding:1em; border-radius:8px;">
* '''gatherings''' - List of gathering powers (use GatheringPowerRow template for each)
  <div style="font-weight:bold; font-size:1.1em; margin-bottom:0.5em;">🧱 Durability Loss</div>
* '''durability''' - Durability loss information (plain text)
  <div class="item-section">
    {{{durability}}}
  </div>
</div>


</div>
[[Category:Templates]]
</noinclude>

Latest revision as of 22:54, 18 January 2026



{{ToolBlock
| gatherings = {{GatheringPowerRow|SoftBlocks|1}}
{{GatheringPowerRow|Soils|0.5}}
{{GatheringPowerRow|Woods|0.05}}
{{GatheringPowerRow|Rocks|0.5}}
| durability = Stone, Rock, Ores, Soil → 0.25
}}

Parameters

edit source
  • gatherings - List of gathering powers (use GatheringPowerRow template for each)
  • durability - Durability loss information (plain text)