Open main menu

Project: Gorgon Wiki β

Changes

Template:Recipe/doc

660 bytes added, 14:02, 18 December 2020
no edit summary
<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>
 
== Description ==
Takes the name of a recipe. as found in-game in the crafting menu or an NPC's training menu, or in the "Name" field in recipes.json (at [http://cdn.projectgorgon.com http://cdn.projectgorgon.com]) and outputs a link and sometimes an icon:Use this * If the recipe produces an item, the template whenever you want outputs that icon's icon and a link to the recipe item page. Uses [[Template:RecipeToItem]].* Otherwise the template outputs no icon and a link to a relevant page, usually the page of the skill-line, with a few exceptions (for example the apply augment recipes link to displayAugmentation instead of Lore).
== Syntax ==
:Type <pre>{{t|Recipe|Item namerecipeName}} where you want the recipe icon and link to display.</pre>
=== Parameters ===; Item name*First (only) parameter (required): The correct capitalized exact name of the recipe (without Recipe:).
== Sample output Example =={| class="wikitable"| ==Example Code| {{=}}| Output==|-| <pre>{{tlc|Recipe|Basic RennetWhisky (Drinkable Cask)}}</pre>| &rArr;===Example Output ===| {{Recipe|Basic Rennet}Whisky (Drinkable Cask)}|}
== Note ==
: Uses the new [[Template:Item icon]] template.<includeonly><!-- Categories/interwikis for the An old version of this template itself -->was partially implemented at one time, attempting to redirect users to recipe pages as found in [[Category:Formatting templates|Recipe]]</includeonly><noinclude><!-- Categories/interwikis for this documentation itself -->[[Category:Template documentation|{{PAGENAME}}Recipes]]</noinclude>. However only a small fraction of these individual recipe pages were ever created, and that project was abandoned.
5,698
edits