Template:Recipe: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(recip ingredients now favilinks them)
Line 4: Line 4:
| rows =
| rows =
{{infobox row |ID|{{{id}}}}}
{{infobox row |ID|{{{id}}}}}
{{infobox row |Ingredients|{{{ingredients}}} }}
{{infobox row |Ingredients|{{consecutive templates|{{{ingredients}}}|</br>|</br>|||favilink|}}}}
{{infobox row |Effect|{{{effects}}} }}
{{infobox row |Effect|{{{effects}}} }}
{{infobox row |Has Plants|{{{hasplants|no}}} }}
{{infobox row |Has Plants|{{{hasplants|no}}} }}

Revision as of 18:26, 16 November 2019

This template defines the table "Recipes". View table.

Recipe
ID

{{{id}}}

Ingredients

[[{{{ingredients}}}]](favilink error!)

Effect

{{{effects}}}

Has Plants

no

Has Fungus

no

id the cs file that holds the recipe data. String
ingredients list of ingredients required. List (</br>) of wikitext (the ingredient link)
effects the effect. just the decription is fine. string
hasplants defaults to no yes/no
hasfungus defaults to no yes/no
recipetext the RecipeText in factions.xml aka what you ask for the faction member to teach you. String