Module:InfoboxHero: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Categorise heroes whose abilities Street Brawl changes (with help from vergir-bot LLM) |
Restore mangled comment text (with help from vergir-bot LLM) |
||
| Line 643: | Line 643: | ||
wrap:tag('div'):addClass('infobox-h-title-hero-left') | wrap:tag('div'):addClass('infobox-h-title-hero-left') | ||
-- Name logo: < | -- Name logo: <Name>_name.svg, or <Name>_name_<lang>.svg on translated pages. | ||
-- Heroes without a logo fall back to their name as plain text. | -- Heroes without a logo fall back to their name as plain text. | ||
local svg = ((ctx.args.name ~= '' and ctx.args.name) or ctx.hero_en) .. '_name' | local svg = ((ctx.args.name ~= '' and ctx.args.name) or ctx.hero_en) .. '_name' | ||