Anonymous user
Module:Inventory slot: Difference between revisions
m
no edit summary
imported>Ttv pedro270707 mNo edit summary |
imported>Ttv pedro270707 mNo edit summary |
||
| Line 125: | Line 125: | ||
:cssText( table.concat( slotCss, ";" ) ) | :cssText( table.concat( slotCss, ";" ) ) | ||
:attr( "data-mctitle", (name or item) ) | :attr( "data-mctitle", (name or item) ) | ||
if descriptions[item] then | |||
slot:attr( "data-mcdesc", p.formatDescription(descriptions[item], 16) ) | |||
end | |||
slot:wikitext( sprite( { data = "InvSprite", id = item } ) ) | slot:wikitext( sprite( { data = "InvSprite", id = item } ) ) | ||
if item ~= pageName and item then | if item ~= pageName and item then | ||