Liquipedia / Lua-Modules

Used to keep versions of some important lua modules of the Liquipedia wiki that we want better version control for.
Other
31 stars 69 forks source link

feat(infobox): add imageDefaultDark on infobox person #5090

Closed iamentry closed 1 week ago

iamentry commented 1 week ago

Summary

Adds param to be called on Template:Infobox player to use a default dark mode image alongside a light mode version for the placeholder image on player profiles. Example: https://liquipedia.net/rainbowsix/index.php?title=Template:Infobox_player&diff=734681&oldid=734675

Old image

New image Screenshot 2024-11-12 204152

I can update the template on all wikis that use image placeholders for player photos

How did you test this change?

live on R6 https://liquipedia.net/rainbowsix/Aziz