Template:Recipe: Difference between revisions
Jump to navigation
Jump to search
(added cargo declare and documentation table) |
(made list separated by line breaks because i think its prettier) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=Recipes|RecipeID=String|Ingredients=List ( | <noinclude>{{#cargo_declare:_table=Recipes|RecipeID=String|Ingredients=List (</br>) of String|Effect=Wikitext|HasPlants=Boolean|HasFungus=Boolean|RecipeText=String}}</noinclude><includeonly>{{#cargo_store:_table=Recipes|RecipeID={{{id|}}}|Ingredients={{{ingredients|}}}|Effect={{{effects|}}}|HasPlants={{{hasplants|no}}}|HasFungus={{{hasfungus|no}}}|RecipeText={{{recipetext|}}}}}</includeonly> | ||
{{#invoke: infobox|infobox | {{#invoke: infobox|infobox | ||
| image = none | | image = none | ||
Line 17: | Line 17: | ||
! ingredients | ! ingredients | ||
| list of ingredients required. | | list of ingredients required. | ||
| List ( | | List (<nowiki></br></nowiki>) of string | ||
|- | |- | ||
! effects | ! effects |
Revision as of 19:56, 13 July 2019
This template defines the table "Recipes". View table.
Recipe
ID
|
{{{id}}} |
---|---|
Ingredients
|
{{{ingredients}}} |
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 string |
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 |