Module:StreetBrawlItems: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Add gated-preview support: styled non-TOC tier/section headings via heading_div, and optional gate=ID param on tiers to open a clip container after Tier 1 (with help from vergir-bot LLM) |
Tier/counter headings now carry the skin's mw-heading wrapper classes, so they inherit real heading styling instead of hardcoded values (with help from vergir-bot LLM) |
||
| Line 72: | Line 72: | ||
end | end | ||
-- A tier/section heading | -- A tier/section heading: a plain div carrying the skin's own heading wrapper | ||
-- | -- classes, so it inherits real heading styling while staying out of the table | ||
-- of contents (and can be hidden inside the gate). | |||
local function heading_div(label) | local function heading_div(label) | ||
return '<div class="sb-tier-head">' .. label .. '</div>' | return '<div class="mw-heading mw-heading3 sb-tier-head">' .. label .. '</div>' | ||
end | end | ||