Template:Crafting/page

From Mystcraft
Revision as of 17:03, 3 August 2015 by XCompWiz (talk | contribs) (Created page with "<includeonly>This is the crafting recipe for {{PAGENAME}}. You can reference the crafting grid for this item by using '''<nowiki>{{</nowiki>:{{PAGENAME}}}}'''. <small><sup>...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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
}}