Template:Inventory slot: Difference between revisions

m
no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="inventory-slot minecraft-item" style="position: relative; width: {{{width|32px}}}; height: {{{height|32px}}};" {{#if: {{{1|}}} | data-mctitle="{{{1|}}}" | }}><div style="display: inline-block; width: 32px; height: 32px; position: relative;">{{#if: {{{1|}}} | {{ItemToImageMap|key={{{1|}}}|width=32|height=32|link={{ #if: {{{link|}}} | {{{link|}}} | {{#ifeq: {{{1|}}} | {{PAGENAME}} | | {{{1|}}} }} }} }} | }}{{#if: {{ #if: {{{link|}}} | {{{link|}}} | {{#ifeq: {{{1|}}} | {{PAGENAME}} | | {{{1|}}} }} }} | [[{{{link|{{{1|}}}}}}|<span style="position: absolute; right: -2px; bottom: -5px; user-select: none;" class="c-f shadow">{{{amount|}}}</span>]] | <span style="position: absolute; right: -2px; bottom: -5px; user-select: none;" class="c-f shadow">{{{amount|}}}</span> }}</div></div></includeonly><noinclude>
<includeonly>{{#invoke:Inventory slot|createSlot|link={{bl|{{{link|}}}|string=y}}}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Put categories on the documentation page -->
<!-- Put categories on the documentation page -->
</noinclude>
</noinclude>
[[Category:Pages with script errors]]