Module:Inventory slot: Difference between revisions
Rewrite for better readability; add i18n; improve performance; support subframes; improve randomness; support already parsed frames |
mNo edit summary |
||
| Line 238: | Line 238: | ||
end | end | ||
if ( args.default or '' ) ~= '' then | if ( args.default or '' ) ~= '' then | ||
body:css( 'background-image', f:expandTemplate{ | body:css( 'background-image', f:expandTemplate{ title = i18n.templateFileUrl, args = { args.default .. '.png' } } ) | ||
end | end | ||