Module:InfoboxHero: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Fix parameter resolution for direct #invoke, and set DISPLAYTITLE via parser function instead of returning it as wikitext (with help from vergir-bot LLM) |
Drop the deprecated no_summary and no_icon parameters in favour of show_hero_tags and show_icon (with help from vergir-bot LLM) |
||
| Line 756: | Line 756: | ||
ctx.display_name = (args.name ~= '' and args.name) or lang_module.get_string(hero_key) | ctx.display_name = (args.name ~= '' and args.name) or lang_module.get_string(hero_key) | ||
ctx.show_hero_tags = args.show_hero_tags ~= 'false' | |||
ctx.show_hero_tags = | ctx.show_icon = args.show_icon ~= 'false' | ||
ctx.show_icon = | |||
-- Needed by both row visibility and the category rules. | -- Needed by both row visibility and the category rules. | ||