Difference between revisions of "Template:Recipe"

From Project: Gorgon Wiki
Jump to: navigation, search
m (| Weather Witching Research Level 1 - 80 = {{{1}}})
m (Named Weather Witching recipes)
Line 147: Line 147:
 
   | Elven Infertility Cantrip
 
   | Elven Infertility Cantrip
 
   | Elven Sexual Energy Cantrip
 
   | Elven Sexual Energy Cantrip
 +
  | Errana's Lesson to Kirad = [[Weather Witching|{{{1}}}]]
 +
  | Errana's Soliloquy = [[Weather Witching|{{{1}}}]]
 
   | Expert Augury = [[Lore|{{{1}}}]]
 
   | Expert Augury = [[Lore|{{{1}}}]]
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/E|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/E|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/E|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/E|{{{1}}}}}|#|}}|{{{1}}}]]}}
Line 215: Line 217:
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/K|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/K|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/K|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/K|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
  | l = {{#switch: {{{1}}}
 
  | l = {{#switch: {{{1}}}
 +
  | Lessons of the Swamp = [[Weather Witching|{{{1}}}]]
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/L|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/L|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/L|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/L|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
  | m = {{#switch: {{{1}}}  
 
  | m = {{#switch: {{{1}}}  
Line 231: Line 234:
 
   | Meditation #64
 
   | Meditation #64
 
   | Meditation #65 = [[Meditation|{{{1}}}]]
 
   | Meditation #65 = [[Meditation|{{{1}}}]]
 +
  | Meditation on Water = [[Weather Witching|{{{1}}}]]
 
   | Moon Phase Check = [[Lore|{{{1}}}]]  
 
   | Moon Phase Check = [[Lore|{{{1}}}]]  
 
   | Mushroom-Circle Hop
 
   | Mushroom-Circle Hop
Line 299: Line 303:
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/O|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/O|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/O|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/O|{{{1}}}}}|#|}}|{{{1}}}]]}}
 
  | p = {{#switch: {{{1}}}   
 
  | p = {{#switch: {{{1}}}   
 +
  | Paullus's Pulsing Reminder = [[Weather Witching|{{{1}}}]]
 
   | Perceive Spawn Premonitions (3 secs)
 
   | Perceive Spawn Premonitions (3 secs)
 
   | Perceive Spawn Premonitions (5 secs)
 
   | Perceive Spawn Premonitions (5 secs)
Line 377: Line 382:
 
   | Secret Calligraphy: Enoyos
 
   | Secret Calligraphy: Enoyos
 
   | Secret Calligraphy: Summer Winds = [[Calligraphy|{{{1}}}]]
 
   | Secret Calligraphy: Summer Winds = [[Calligraphy|{{{1}}}]]
 +
  | Song of the Sun = [[Weather Witching|{{{1}}}]]
 
   | Summon Alternate Portal = [[Teleportation|{{{1}}}]]
 
   | Summon Alternate Portal = [[Teleportation|{{{1}}}]]
 
   | Summon Druidic Storage (12-slot) =
 
   | Summon Druidic Storage (12-slot) =
Line 383: Line 389:
 
  | t = {{#switch: {{{1}}}  
 
  | t = {{#switch: {{{1}}}  
 
   | Tap Alcohol Keg = [[Brewing|{{{1}}}]]
 
   | Tap Alcohol Keg = [[Brewing|{{{1}}}]]
 +
  | The Flopsy Dance = [[Weather Witching|{{{1}}}]]
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/T|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/T|{{{1}}}}}|#|}}|{{{1}}}]]}}  
 
   | #default = <span class="extimage32px">{{Item icon|{{RecipeToItem/T|{{{1}}}}}}}</span> [[{{#replace:{{RecipeToItem/T|{{{1}}}}}|#|}}|{{{1}}}]]}}  
 
  | u = {{#switch: {{{1}}}   
 
  | u = {{#switch: {{{1}}}   

Revision as of 06:41, 27 March 2023


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

Error: Item not foundRecipe: 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.)