Template:Recipe: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
SweetyD (talk | contribs)
Add Fire Magic Research Levels 85-115 and Exotic Fire Wall Research Levels 65-115 fall-throughs to Fire Magic (fixes 13 Item-not-found on Guzor Harrison; all 13 recipes verified in game data v482, skill FireMagic)
SweetyD (talk | contribs)
Add Povus/Vidaria Node Survey fall-throughs to Surveying (fixes 4 Item-not-found on Sourgum; recipes verified in game data v482, skill Surveying 80-95)
Line 319: Line 319:
   | #default = {{Item icon|{{RecipeToItem/O|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/O|{{{1}}}}}|#|}}|{{{1}}}]]}}
   | #default = {{Item icon|{{RecipeToItem/O|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/O|{{{1}}}}}|#|}}|{{{1}}}]]}}
  | p = {{#switch: {{{1}}}   
  | p = {{#switch: {{{1}}}   
  | Povus Blue Node Survey
  | Povus Green Node Survey = [[Surveying|{{{1}}}]]
   | Paullus's Pulsing Reminder = [[Weather Witching|{{{1}}}]]
   | Paullus's Pulsing Reminder = [[Weather Witching|{{{1}}}]]
   | Perceive Spawn Premonitions (3 secs)
   | Perceive Spawn Premonitions (3 secs)
Line 425: Line 427:
   | #default = {{Item icon|{{RecipeToItem/U|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/U|{{{1}}}}}|#|}}|{{{1}}}]]}}  
   | #default = {{Item icon|{{RecipeToItem/U|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/U|{{{1}}}}}|#|}}|{{{1}}}]]}}  
  | v = {{#switch: {{{1}}}   
  | v = {{#switch: {{{1}}}   
  | Vidaria Orange Node Survey
  | Vidaria White Node Survey = [[Surveying|{{{1}}}]]
   | #default = {{Item icon|{{RecipeToItem/V|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/V|{{{1}}}}}|#|}}|{{{1}}}]]}}  
   | #default = {{Item icon|{{RecipeToItem/V|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/V|{{{1}}}}}|#|}}|{{{1}}}]]}}  
  | w = {{#switch: {{{1}}}   
  | w = {{#switch: {{{1}}}   

Revision as of 08:44, 13 August 2026


Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]


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) and outputs a link and sometimes an icon:

  • If the recipe produces an item, the template outputs that icon's icon and a link to the item page. Uses a helper template for each letter, e.g. Template:RecipeToItem/A.
  • 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 Augmentation instead of Lore).

Syntax

  • {{Recipe|recipeName}}
  • or, to omit the leading scroll icon and "Recipe:" text:
    {{Recipe|recipeName|noscroll}}

Parameters

  • First parameter (required): The exact name of the recipe.
  • Second parameter (optional): If this parameter is present (can be any non-empty string), the leading scroll icon and "Recipe:" text are omitted.

Example

Example 1 Code

{{Recipe|Whisky (Drinkable Cask)}}

Example 1 Output

icon_4003.pngRecipe: icon_5722.png Whisky (Drinkable Cask)

Example 2 Code

{{Recipe|Whisky (Drinkable Cask)|x}}

Example 2 Output

icon_5722.png Whisky (Drinkable Cask)

Note

An old version of this template was partially implemented at one time, attempting to redirect users to recipe pages as found in Category:Recipes. However only a small fraction of these individual recipe pages were ever created, and that project was abandoned.
The above text is transcluded from Template:Recipe/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Recipe/doc. (View all subpages of this page.)