Template:Crafting/doc: Difference between revisions
imported>Ttv pedro270707 (Created page with "This template allows for the creation of a crafting interface. == Usage == <code><nowiki>{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}}</nowiki></code> gives: {{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}} <code><nowiki>{{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}}</nowiki></code> gives: {{Crafting|1=R...") |
imported>Ttv pedro270707 mNo edit summary |
||
Line 1: | Line 1: | ||
This template allows for the creation of a crafting interface. | This template allows for the creation of a crafting interface. | ||
== Arguments == | |||
{| class="wikitable" | |||
! Argument !! Note | |||
|- | |||
| <code>1</code> || Top left slot. | |||
|- | |||
| <code>2</code> || Top center slot. | |||
|- | |||
| <code>3</code> || Top right slot. | |||
|- | |||
| <code>4</code> || Middle left slot. | |||
|- | |||
| <code>5</code> || Middle center slot. | |||
|- | |||
| <code>6</code> || Middle right slot. | |||
|- | |||
| <code>7</code> || Bottom left slot. | |||
|- | |||
| <code>8</code> || Bottom center slot. | |||
|- | |||
| <code>9</code> || Bottom right slot. | |||
|- | |||
| <code>RESULT</code> || Result slot. | |||
|- | |||
| <code>shapeless</code> || If the recipe is shapeless or not. | |||
|} | |||
== Usage == | == Usage == | ||
Line 9: | Line 36: | ||
{{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}} | {{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}} | ||
<code><nowiki>{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}}</nowiki></code> gives: | |||
{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}} | |||
This template's items use {{tl|Template:Inventory slot}}, which means they follow the same formatting. | This template's items use {{tl|Template:Inventory slot}}, which means they follow the same formatting. | ||
[[Category:Pages using DynamicPageList3 dplvar parser function]] |
Revision as of 19:08, 11 March 2023
This template allows for the creation of a crafting interface.
Arguments
Argument | Note |
---|---|
1 |
Top left slot. |
2 |
Top center slot. |
3 |
Top right slot. |
4 |
Middle left slot. |
5 |
Middle center slot. |
6 |
Middle right slot. |
7 |
Bottom left slot. |
8 |
Bottom center slot. |
9 |
Bottom right slot. |
RESULT |
Result slot. |
shapeless |
If the recipe is shapeless or not. |
Usage
{{Crafting|4=Crude Steel|5=Crude Steel|6=Crude Steel|RESULT=Steel Ingot}}
gives:
{{Crafting|1=Red Wooden Planks|4=Red Wooden Planks|5=Red Wooden Planks|7=Red Wooden Planks|8=Red Wooden Planks|9=Red Wooden Planks|RESULT=Red Wooden Stairs,6}}
gives:
{{Crafting|1=Steel Ingot|2=Flint|RESULT=Steel Fire Striker|shapeless=y}}
gives:
This template's items use {{Inventory slot}}
, which means they follow the same formatting.