Difference between revisions of "Template:Grid"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
{{#if: {{{24|}}} | <div class="artcle-grid__cell" style="display: flex; flex-flow: column nowrap;">{{{24}}}</div> }} | {{#if: {{{24|}}} | <div class="artcle-grid__cell" style="display: flex; flex-flow: column nowrap;">{{{24}}}</div> }} | ||
</div><noinclude> | </div><noinclude> | ||
− | Templated used to put [[crafting]] recipes inside a grid. | + | Templated used to put [[crafting]] recipes inside a grid whose layouts adapts to different screen widths. Can have up to 24 grid cels. |
== Example == | == Example == | ||
<pre style="height: 400px; overflow-y: scroll;"> | <pre style="height: 400px; overflow-y: scroll;"> | ||
− | |||
− | |||
− | |||
{{Grid| | {{Grid| | ||
[[Pickaxes|Stone pickaxe]] | [[Pickaxes|Stone pickaxe]] | ||
Line 192: | Line 189: | ||
Results in: | Results in: | ||
− | |||
− | |||
− | |||
{{Grid| | {{Grid| |
Latest revision as of 13:54, 6 July 2022
Templated used to put crafting recipes inside a grid whose layouts adapts to different screen widths. Can have up to 24 grid cels.
Example
{{Grid| [[Pickaxes|Stone pickaxe]] {{CraftBig | A1 = Cobblestone | A2 = Cobblestone | A3 = Cobblestone | B2 = Stick | C2 = Stick | output = Stone Pickaxe }} | [[Shovels|Stone shovel]] {{CraftBig | A2 = Cobblestone | B2 = Stick | C2 = Stick | output = Stone Shovel }} | [[Swords|Stone sword]] {{CraftBig | A2 = Cobblestone | B2 = Cobblestone | C2 = Stick | output = Stone Sword }} | [[Axes|Stone axe]] {{CraftBig | A2 = Cobblestone | A3 = Cobblestone | B2 = Stick | B3 = Cobblestone | C2 = Stick | output = Stone Axe }} | [[Hoes|Stone hoe]] {{CraftBig | A2 = Cobblestone | A3 = Cobblestone | B2 = Stick | C2 = Stick | output = Stone Hoe }} | [[Furnace]] {{CraftBig | A1 = Cobblestone | A2 = Cobblestone | A3 = Cobblestone | B1 = Cobblestone | B3 = Cobblestone | C1 = Cobblestone | C2 = Cobblestone | C3 = Cobblestone | output = Furnace }} | [[Brewing Stand]] {{CraftBig | B2 = Blaze Rod | C1 = Cobblestone | C2 = Cobblestone | C3 = Cobblestone | output = Brewing Stand }} | [[Moss Stone]] {{CraftBig | A1 = Moss | A2 = Moss | A3 = Moss | B1 = Moss | B2 = Cobblestone | B3 = Moss | C1 = Moss | C2 = Moss | C3 = Moss | output = Moss Stone }} | [[Piston]] {{CraftBig | A1 = Wooden Planks | A2 = Wooden Planks | A3 = Wooden Planks | B1 = Cobblestone | B2 = Iron Ingot | B3 = Cobblestone | C1 = Cobblestone | C2 = Redstone Dust | C3 = Cobblestone | output = Piston }} | [[Dispenser]] {{CraftBig | A1 = Cobblestone | A2 = Cobblestone | A3 = Cobblestone | B1 = Cobblestone | B2 = Bow | B3 = Cobblestone | C1 = Cobblestone | C2 = Redstone Dust | C3 = Cobblestone | output = Dispenser }} | [[Dropper]] {{CraftBig | A1 = Cobblestone | A2 = Cobblestone | A3 = Cobblestone | B1 = Cobblestone | B3 = Cobblestone | C1 = Cobblestone | C2 = Redstone Dust | C3 = Cobblestone | output = Dropper }} | [[Stairs|Cobblestone Stairs]] {{CraftBig | A1 = Cobblestone | B1 = Cobblestone | B2 = Cobblestone | C1 = Cobblestone | C2 = Cobblestone | C3 = Cobblestone | output = Cobblestone Stairs | output-amount = 4 }} | [[Slabs|Cobblestone Slab]] {{CraftBig | C1 = Cobblestone | C2 = Cobblestone | C3 = Cobblestone | output = Cobblestone Slab | output-amount = 6 }} | [[Lever]] {{CraftSmall | A1 = Stick | B1 = Cobblestone | output = Lever }} | [[Backdrops|Cobblestone Backdrop]] {{CraftSmall | A1 = Cobblestone | output = Cobblestone Backdrop }} }}
Results in: