Template:Recipe: Difference between revisions
Jump to navigation
Jump to search
Add Repair Transmutation Damage: Mastercrafted, 6, and (Amulite) to R-branch Transmutation fall-through (fixes Item not found on Sona) |
Add armor restore-shape recipes (Sew/Repair/Hammer) as skill-page fall-throughs (Felmer) |
||
| Line 182: | Line 182: | ||
| #default = {{Item icon|{{RecipeToItem/G|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/G|{{{1}}}}}|#|}}|{{{1}}}]]}} | | #default = {{Item icon|{{RecipeToItem/G|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/G|{{{1}}}}}|#|}}|{{{1}}}]]}} | ||
| h = {{#switch: {{{1}}} | | h = {{#switch: {{{1}}} | ||
| Hammer Metal Armor Back Into Stock Shape | |||
| Hammer Organic Armor Back Into Stock Shape = [[Blacksmithing|{{{1}}}]] | |||
| Human Phrenology Research | | Human Phrenology Research | ||
| Human Phrenology Research 2 | | Human Phrenology Research 2 | ||
| Line 320: | Line 322: | ||
| #default = {{Item icon|{{RecipeToItem/Q|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/Q|{{{1}}}}}|#|}}|{{{1}}}]]}} | | #default = {{Item icon|{{RecipeToItem/Q|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/Q|{{{1}}}}}|#|}}|{{{1}}}]]}} | ||
| r = {{#switch: {{{1}}} | | r = {{#switch: {{{1}}} | ||
| Repair Leather Armor Back to Stock Shape = [[Leatherworking|{{{1}}}]] | |||
| Repair Transmutation Damage 1 | | Repair Transmutation Damage 1 | ||
| Repair Transmutation Damage 2 | | Repair Transmutation Damage 2 | ||
| Line 342: | Line 345: | ||
| #default = {{Item icon|{{RecipeToItem/R|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/R|{{{1}}}}}|#|}}|{{{1}}}]]}} | | #default = {{Item icon|{{RecipeToItem/R|{{{1}}}}}|1}} [[{{#replace:{{RecipeToItem/R|{{{1}}}}}|#|}}|{{{1}}}]]}} | ||
| s = {{#switch: {{{1}}} | | s = {{#switch: {{{1}}} | ||
| Sew Cloth Armor Back to Stock Shape = [[Tailoring|{{{1}}}]] | |||
| Shoddy Leather Practice = [[Leatherworking|{{{1}}}]] | | Shoddy Leather Practice = [[Leatherworking|{{{1}}}]] | ||
| Shaman's Arachnid Hands Infusion | | Shaman's Arachnid Hands Infusion | ||
Revision as of 05:32, 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
Recipe:
Whisky (Drinkable Cask)
Example 2 Code
{{Recipe|Whisky (Drinkable Cask)|x}}
Example 2 Output
Note
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.)
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.)