Skip to content

fix(infobox): Adding a parameter to remove the unintentional <li> tag usage.#7666

Open
LemurVladimir wants to merge 1 commit into
Liquipedia:mainfrom
LemurVladimir:patch-3
Open

fix(infobox): Adding a parameter to remove the unintentional <li> tag usage.#7666
LemurVladimir wants to merge 1 commit into
Liquipedia:mainfrom
LemurVladimir:patch-3

Conversation

@LemurVladimir

@LemurVladimir LemurVladimir commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

This should tell the "Hero entry" template not to use the hardcoded <li> tag in the inclusions.

As of this PR creation, the "Hero entry" template uses the <li> tag as intended (1st pic). Alas, it being hardcoded created the problem where all inclusions had the <li> dot attached to it, including the "Infobox cosmetic" where it wasn't needed (2nd pic).

image image

I've appended the template code so it would only add the tag if the second unnamed parameter is empty.
This PR change will add the dummy 'x' string to the function that calls for the template as that second parameter.

How did you test this change?

This change was successfully implemented on /dota2gameru.
https://liquipedia.net/dota2gameru/Модуль:Infobox/Cosmetic/Custom
https://liquipedia.net/dota2gameru/Шаблон:Hero_entry

…list

This should tell the "Hero entry" template not to use the hardcoded <li> tag in the inclusions.
@LemurVladimir LemurVladimir changed the title [fix] Adding a parameter to remove the unintentional <li> tag usage. fix(infobox): Adding a parameter to remove the unintentional <li> tag usage. Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants