Template:Recipe: Difference between revisions

33 bytes added ,  20:00, 13 July 2019
m
no edit summary
(made list separated by line breaks because i think its prettier)
mNo edit summary
Line 1: Line 1:
<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>
<noinclude>{{#cargo_declare:_table=Recipes|RecipeID=String|Ingredients=List (</br>) of Wikitext 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 (<nowiki></br></nowiki>) of string
| List (<nowiki></br></nowiki>) of wikitext (the ingredient link)
|-
|-
! effects
! effects