Template:Crafting/page
From Mystcraft
Revision as of 14:51, 24 May 2018 by XCompWiz (talk | contribs) (2 revisions imported: Importing old wiki)
This template exists simply to make the crafting pages for items and blocks easier to maintain. The concept behind this is to write the crafting recipe for each item only once, and put it in a page which can be transcluded readily. Note that the : takes advantage of the namespace redirection, so this depends on that functionality. The result of this is that including it in a versioned namespace produces the page in that namespace, and including it in any other namespace produces the current version's page.
Include {{Crafting/page}} at the top of the page like so.
<noinclude> {{Crafting/page}} </noinclude>{{Crafting |A1=Stone|B1=|C1=Stone |A2=Stone|B2=Glass Bottle|C2=Stone |A3=Wood Planks|B3=Stone|C3=Wood Planks |Output=Ink Mixer }}