Template:Crafting: Difference between revisions

980 bytes removed ,  30 March 2023
m
Added title to shapeless icon
imported>Azurelmao
No edit summary
imported>Ttv pedro270707
m (Added title to shapeless icon)
 
(259 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="position: relative;">
<includeonly><div class="crafting-table-ui pixelated"><div style="display: inline-grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);">{{Inventory slot|item={{{1|}}}}}{{Inventory slot|item={{{2|}}}}}{{Inventory slot|item={{{3|}}}}}{{Inventory slot|item={{{4|}}}}}{{Inventory slot|item={{{5|}}}}}{{Inventory slot|item={{{6|}}}}}{{Inventory slot|item={{{7|}}}}}{{Inventory slot|item={{{8|}}}}}{{Inventory slot|item={{{9|}}}}}</div><span style="margin-left: 6px; margin-right: 6px; pointer-events: none; user-select: none;">[[File:Result arrow.png|link=]]</span>{{Inventory slot|item={{{RESULT|}}}|width=44|height=44}}{{#ifeq: {{bl|{{{shapeless|}}}}} | y | <div style="position: absolute; bottom: 4px; right: 4px; cursor: help; user-select: none;" title="This recipe is shapeless, the inputs may be placed in any arrangement in the crafting grid.">[[File:Shapeless.png|link=]]</div> | }}</div></includeonly><noinclude>
    <div>[[File:Crafting_GUI.png]]</div>
{{Documentation}}
 
<!-- Put categories on the documentation page -->
    {{#if: {{{1|}}}
</noinclude>
        |<div style="position: absolute; left: 14px; top: 14px;>[[File:Grid_{{{1}}}.png]]</div>}}
    {{#if: {{{1B|}}}
        |<div style="position: absolute; left: 16px; top: 16px;>[[File:Grid_{{{1}}}.png]]</div>}}
    {{#if: {{{2|}}}
        |<div style="position: absolute; left: 50px; top: 14px">[[File:Grid_{{{2}}}.png]]</div>}}
    {{#if: {{{3|}}}
        |<div style="position: absolute; left: 86px; top: 14px">[[File:Grid_{{{3}}}.png]]</div>}}
    {{#if: {{{4|}}}
        |<div style="position: absolute; left: 14px; top: 50px">[[File:Grid_{{{4}}}.png]]</div>}}
    {{#if: {{{5|}}}
        |<div style="position: absolute; left: 50px; top: 50px">[[File:Grid_{{{5}}}.png]]</div>}}
    {{#if: {{{6|}}}
        |<div style="position: absolute; left: 86px; top: 50px">[[File:Grid_{{{6}}}.png]]</div>}}
    {{#if: {{{7|}}}
        |<div style="position: absolute; left: 14px; top: 86px">[[File:Grid_{{{7}}}.png]]</div>}}
    {{#if: {{{8|}}}
        |<div style="position: absolute; left: 50px; top: 86px">[[File:Grid_{{{8}}}.png]]</div>}}
    {{#if: {{{9|}}}
        |<div style="position: absolute; left: 86px; top: 86px">[[File:Grid_{{{9}}}.png]]</div>}}
    {{#if: {{{RESULT|}}}
        |<div style="position: absolute; left: 202px; top: 50px">[[File:Grid_{{{RESULT}}}.png]]</div>}}
    {{#if:{{{OA|}}}|
<div style="left:210px; top:68px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-7px; width:160px; height:16px; position:absolute;">
[[File:GridNumbersCSS.png|160x16px]]
</div>
</div>
<div style="left:222px; top:68px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-7px; width:160px; height:16px; position:absolute;">
[[File:GridNumbersCSS.png|160x16px]]
</div>
</div>
}}
</div></includeonly>