Template:Food: Difference between revisions

18 bytes removed ,  19:08, 27 April 2022
fix extra info output
m (consecutive link template no longer needed here)
(fix extra info output)
Line 102: Line 102:
{{#if: {{{cookeffect|}}} | {{Infobox row|Cooking Effect|{{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to page}} }} }}
{{#if: {{{cookeffect|}}} | {{Infobox row|Cooking Effect|{{consecutive templates|{{{cookeffect}}}|,|, |||CookEffect ID to page}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{extra|}}}{{#if: {{{extra|}}}|{{Infobox row|Extra|<p>{{{extra}}}</p>}} }} }}  
{{#if: {{{extra|}}}|{{Infobox row||Extra Info:</br>{{{extra}}} }} }}
}}
}}
{{#if: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
{{#if: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
{{#if: {{{eatdesc|}}} | {{Qud quote notxml|{{{eatdesc}}}|upon consuming }} }}{{#if:{{{categories|}}}|[[Category:{{{categories}}}]] }}
{{#if: {{{eatdesc|}}} | {{Qud quote notxml|{{{eatdesc}}}|upon consuming }} }}{{#if:{{{categories|}}}|[[Category:{{{categories}}}]] }}
</includeonly>
</includeonly>