Module:GameInputs: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 14:
ptnultimate = '<span style="background-color:#a12932; color:white; font-size:12px; padding:3px 5px; font-family:Roboto Slab;">Ultimate</span>',
ptnpassive = '<span style="background-color:#4e699e; color:white; font-size:12px; padding:3px 5px; font-family:Roboto Slab;">Passive</span>',
ptnenergy = '<span style="background-color:#552a58; color:white; font-size:12px; border-radius:5px; padding:3px 5px; font-family:Roboto Slab;">' .. '%sCost %s</span>',
ptncore = '<span style="background-color:#624a1e; color:white; font-size:12px; border-radius:5px; padding:3px 5px; font-family:Roboto Slab;">' .. '%sCore Dmg %s</span>'
'%sCost %s</span>',
ptncore = '<span style="background-color:#624a1e; color:white; font-size:12px; border-radius:5px; padding:3px 5px; font-family:Roboto Slab;">' ..
'%sCore Dmg %s</span>',
}
 
-- Function to generate a `[[File:...]]` tag for the given file
local function getFileTag(fileName, size)
size = size or "12px20" -- Default size if none is provided
return mw.text.tag("span", {
["class"] = "image",