Template:Crafting Recipes: Difference between revisions
From Valheim Wiki
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#invoke: | -->{{#invoke:Crafting Recipes|query}}<!-- | ||
-->{{#ifeq:{{tr|{{{ingredient|}}} | -->{{#ifeq:{{tr|{{{ingredient|}}}}}|{{PAGENAME}} (Item)|{{category|Crafting material items}}}}<!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
| Line 11: | Line 11: | ||
-->{{#cargo_declare:_table=CraftingRecipes | -->{{#cargo_declare:_table=CraftingRecipes | ||
|result=String | |result=String | ||
|resultid=String | |resultid=String | ||
|resultimage=String<!-- result image, if it's not <result>.png --> | |resultimage=String<!-- result image, if it's not <result>.png --> | ||
|resulttext=String<!-- result display text, if it's different from result --> | |resulttext=String<!-- result display text, if it's different from result --> | ||
| Line 17: | Line 17: | ||
|version=String | |version=String | ||
|station=String | |station=String | ||
|stationlevel=Integer | |||
|dlc=String | |||
|ingredients=List (^) of String<!-- ingredients list, used for query --> | |ingredients=List (^) of String<!-- ingredients list, used for query --> | ||
|ings=String (size=600)<!-- string representation of sorted ingredients list, used for equality determination --> | |ings=String (size=600)<!-- string representation of sorted ingredients list, used for equality determination --> | ||
| Line 22: | Line 24: | ||
}}<!-- | }}<!-- | ||
--> | --></noinclude> | ||
Latest revision as of 11:42, 19 February 2022
This template uses Module:Crafting Recipes, a script written in the Lua programming language. Please see Template:Wikipedia and mw:Extension:Scribunto to learn more about Lua.This template defines the table "CraftingRecipes". View table.