Template:Crafting table: Difference between revisions

m
Changed centering from flex to text-align; simpler and leaves the borders alone. Works due to text-align centering any inline elements, not just text.
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
m (Changed centering from flex to text-align; simpler and leaves the borders alone. Works due to text-align centering any inline elements, not just text.)
Line 15: Line 15:
| furnace | blast-furnace = '''{{#ifexist: {{{input|}}} | {{#ifeq: {{{input|}}} | {{FULLPAGENAME}} | {{{input|}}} | [[{{{input|}}}]]}} | {{{input|}}} }}  
| furnace | blast-furnace = '''{{#ifexist: {{{input|}}} | {{#ifeq: {{{input|}}} | {{FULLPAGENAME}} | {{{input|}}} | [[{{{input|}}}]]}} | {{{input|}}} }}  
}}</td>
}}</td>
}}<td style="padding: 0; display: flex; justify-content: center; border: none;">{{#switch: {{#var:type|workbench}}
}}<td style="padding: 0; text-align: center;">{{#switch: {{#var:type|workbench}}
| workbench = {{Crafting|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|7={{{7|}}}|8={{{8|}}}|9={{{9|}}}|RESULT={{{RESULT|}}}|shapeless={{{shapeless|}}}}}
| workbench = {{Crafting|1={{{1|}}}|2={{{2|}}}|3={{{3|}}}|4={{{4|}}}|5={{{5|}}}|6={{{6|}}}|7={{{7|}}}|8={{{8|}}}|9={{{9|}}}|RESULT={{{RESULT|}}}|shapeless={{{shapeless|}}}}}
| furnace = {{Crafting/Furnace|input={{{input|}}}|fuel={{{fuel|}}}|RESULT={{{RESULT|}}}|blast furnace=n}}
| furnace = {{Crafting/Furnace|input={{{input|}}}|fuel={{{fuel|}}}|RESULT={{{RESULT|}}}|blast furnace=n}}
Line 55: Line 55:
|RESULT=Block of Iron
|RESULT=Block of Iron
|name=y
|name=y
}}
{{Crafting table
|type=inventory
|1=Steel Ingot
|2=Steel Ingot
|3=Steel Ingot
|4=Iron Ingot
|RESULT=Block of Iron
|foot=y
|foot=y
}}
}}