Template:Recipe: Difference between revisions

No change in size ,  18:27, 16 November 2019
m
no edit summary
(recip ingredients now favilinks them)
mNo edit summary
Line 1: Line 1:
<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>
<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|}}}}}
{{#invoke: infobox|infobox
{{#invoke: infobox|infobox
| image = none
| image = none
Line 8: Line 8:
{{infobox row |Has Plants|{{{hasplants|no}}} }}
{{infobox row |Has Plants|{{{hasplants|no}}} }}
{{infobox row |Has Fungus|{{{hasfungus|no}}} }}
{{infobox row |Has Fungus|{{{hasfungus|no}}} }}
}}{{#if: {{{recipetext|}}}|{{Qud quote|{{{recipetext}}}}}}}<noinclude>[[Category:Cargo Store Templates]]
}}{{#if: {{{recipetext|}}}|{{Qud quote|{{{recipetext}}}}}}}</includeonly><noinclude>[[Category:Cargo Store Templates]]


{| class="wikitable"
{| class="wikitable"