Template:HeroStreetBrawlItems: Difference between revisions

Vergir (talk | contribs)
Pass all display text through to the module so labels can be edited here instead of in Lua (with help from vergir-bot LLM)
Add a Hide button at the bottom of the revealed section that collapses the preview back, with a top anchor so it returns to the start of the block (with help from vergir-bot LLM)
Line 1: Line 1:
<includeonly><templatestyles src="Template:HeroStreetBrawlItems/styles.css" />
<includeonly><templatestyles src="Template:HeroStreetBrawlItems/styles.css" />
In [[Street Brawl]], every hero draws items from a shared pool, but some items are weighted to appear more often for a given hero and others less often. For each tier below, that tier's items are grouped by how likely they are to be offered to {{{1}}} — '''High''', '''Average''', or '''Low''' chance.
In [[Street Brawl]], every hero draws items from a shared pool, but some items are weighted to appear more often for a given hero and others less often. For each tier below, that tier's items are grouped by how likely they are to be offered to {{{1}}} — '''High''', '''Average''', or '''Low''' chance.<span id="{{{id|sb-items}}}-top"></span>


{{#invoke:StreetBrawlItems|tiers|{{{1}}}|gate={{{id|sb-items}}}|high=High chance|average=Average chance|low=Low chance|tier1=Tier 1|tier2=Tier 2|tier3=Tier 3|tier4=Tier 4|tier5=Legendary}}
{{#invoke:StreetBrawlItems|tiers|{{{1}}}|gate={{{id|sb-items}}}|high=High chance|average=Average chance|low=Low chance|tier1=Tier 1|tier2=Tier 2|tier3=Tier 3|tier4=Tier 4|tier5=Legendary}}


{{#invoke:StreetBrawlItems|hero_counter|{{{1}}}|heading=Counter items|note=When facing {{{1}}} in Street Brawl, the enemy team is more likely to be offered these items as counters.}}<div class="sb-gate-fade"></div></div><div class="sb-gate-btn">[[#{{{id|sb-items}}}|Show all items]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude>
{{#invoke:StreetBrawlItems|hero_counter|{{{1}}}|heading=Counter items|note=When facing {{{1}}} in Street Brawl, the enemy team is more likely to be offered these items as counters.}}<div class="sb-gate-fade"></div></div><div class="sb-gate-btn">[[#{{{id|sb-items}}}|Show all items]]</div><div class="sb-gate-hide">[[#{{{id|sb-items}}}-top|Hide]]</div></div></includeonly><noinclude>{{Documentation}}</noinclude>