Anonymous user
Module:Inventory slot: Difference between revisions
m
Changed color
imported>Ttv pedro270707 m (Fixed line break appearing in the end result instead of "\n") |
imported>Ttv pedro270707 m (Changed color) |
||
Line 95: | Line 95: | ||
local itemCount = mw.html.create( "span" ) | local itemCount = mw.html.create( "span" ) | ||
itemCount:cssText( "position: absolute; right: -2px; bottom: -5px; pointer-events: none;" ) | itemCount:cssText( "position: absolute; right: -2px; bottom: -5px; pointer-events: none;" ) | ||
:addClass( "c- | :addClass( "c-0" ) | ||
:addClass( "shadow" ) | :addClass( "shadow" ) | ||
:wikitext( count ) | :wikitext( count ) | ||
Line 137: | Line 137: | ||
local itemCount = mw.html.create( "span" ) | local itemCount = mw.html.create( "span" ) | ||
itemCount:cssText( "position: absolute; right: -2px; bottom: -5px; pointer-events: none;" ) | itemCount:cssText( "position: absolute; right: -2px; bottom: -5px; pointer-events: none;" ) | ||
:addClass( "c- | :addClass( "c-0" ) | ||
:addClass( "shadow" ) | :addClass( "shadow" ) | ||
:wikitext( count ) | :wikitext( count ) |