Template:ToolBlock: Difference between revisions
Template page
More actions
Hytalewiki (talk | contribs) 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|}}}..." |
Hytalewiki (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#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}}} | |||
{{!}}- | |||
}} | |||
< | <noinclude> | ||
< | == Usage == | ||
<pre> | |||
{{ToolBlock | |||
</ | | gatherings = {{GatheringPowerRow|SoftBlocks|1}} | ||
{{GatheringPowerRow|Soils|0.5}} | |||
{{GatheringPowerRow|Woods|0.05}} | |||
{{GatheringPowerRow|Rocks|0.5}} | |||
| durability = Stone, Rock, Ores, Soil → 0.25 | |||
}} | |||
</pre> | |||
== Parameters == | |||
* '''gatherings''' - List of gathering powers (use GatheringPowerRow template for each) | |||
* '''durability''' - Durability loss information (plain text) | |||
</ | [[Category:Templates]] | ||
</noinclude> | |||
Latest revision as of 22:54, 18 January 2026
Usage
edit source{{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)