Difference between revisions of "Template:Recipe"
From TerraFirmaCraft Plus Wiki
m |
|||
Line 6: | Line 6: | ||
Example: | Example: | ||
− | To make a recipe for thatch, navigate to and/or create the subpage Template:Recipe/Thatch. The subpage should contain only: | + | To make a recipe for thatch, navigate to and/or create the subpage '''Template:Recipe/Thatch'''. The subpage should contain only: |
<pre>{{Grid/Inventory Table | <pre>{{Grid/Inventory Table | ||
|A1 = Straw |B1 = Straw | |A1 = Straw |B1 = Straw | ||
Line 13: | Line 13: | ||
}}</pre> | }}</pre> | ||
− | and would be called with <nowiki>{{Recipe/Thatch}} </nowiki>. | + | and would be called on other pages with '''<nowiki>{{Recipe/Thatch}} </nowiki>'''. |
Revision as of 03:15, 23 September 2019
This is a repository for recipe grids that can be transcluded beyond their item page for use in other articles like guides and lists. Updating a recipe here updates it across the wiki.
Each recipe goes on a subpage of this template with the subpage name matching the item's page name -capitalization matters. Make sure the recipe subpage contains nothing but the grid for the recipe.
Example:
To make a recipe for thatch, navigate to and/or create the subpage Template:Recipe/Thatch. The subpage should contain only:
{{Grid/Inventory Table |A1 = Straw |B1 = Straw |A2 = Straw |B2 = Straw |Output = Thatch }}
and would be called on other pages with {{Recipe/Thatch}} .
Below is a list of Recipe subpages: