8,756
edits
m (suppress tooltip text from searches) |
(preserved into uses object id instead of page name for clarity) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=Food| | {{#cargo_declare:_table=Food| | ||
Title=Wikitext|RenderString=String|ColorString=String|ObjectID=String|LightRadius=Integer|Hunger=String|Thirst=Integer|Extra=Searchtext|Description=Wikitext|Healing=String|PreservedInto= | Title=Wikitext|RenderString=String|ColorString=String|ObjectID=String|LightRadius=Integer|Hunger=String|Thirst=Integer|Extra=Searchtext|Description=Wikitext|Healing=String|PreservedInto=String|PreservedQuantity=Integer|ExoticFood=Boolean|FoodContains=String|OnEat=Page|CookEffect=List (;) of String|JoinKey=String}} | ||
{{#cargo_attach: | {{#cargo_attach: | ||
_table = GeneralData}} | _table = GeneralData}} | ||
Line 26: | Line 26: | ||
Fungi }}|none}} | Fungi }}|none}} | ||
|OnEat={{#if: {{{illoneat|}}} |Become ill</br>}}{{{oneat|}}} | |OnEat={{#if: {{{illoneat|}}} |Become ill</br>}}{{{oneat|}}} | ||
|CookEffect={{#if: {{{cookeffect|}}}|{{consecutive templates|{{{cookeffect}}}|,| | |CookEffect={{#if: {{{cookeffect|}}}|{{consecutive templates|{{{cookeffect}}}|,|;|||CookEffect ID to name}} }} | ||
|JoinKey={{FULLPAGENAME}} }}<!-- | |JoinKey={{FULLPAGENAME}} }}<!-- | ||
Line 73: | Line 73: | ||
| table=Food | | table=Food | ||
| fields=ObjectID=Page | | fields=ObjectID=Page | ||
| where=PreservedInto = "{{# | | where=PreservedInto = "{{#var:id}}" | ||
| template=favilink id | | template=favilink id | ||
| delimiter=</br> | | delimiter=</br> | ||
Line 99: | Line 99: | ||
|default=None}}}}| None || {{infobox row|Harvested from|{{#var:Infobox_HarvestedFrom}} }} }} | |default=None}}}}| None || {{infobox row|Harvested from|{{#var:Infobox_HarvestedFrom}} }} }} | ||
{{#if: {{{exoticfood|}}} | {{infobox row|Exotic Food|{{{exoticfood}}} }} }} | {{#if: {{{exoticfood|}}} | {{infobox row|Exotic Food|{{{exoticfood}}} }} }} | ||
{{#if: {{{oneat|}}}{{{illoneat|}}} | {{infobox row|On Eat|{{#if: {{{illoneat|}}}|<p>Become [[ill]]</p>}}{{#if: {{{oneat|}}} | {{#if: {{{oneat|}}}{{{illoneat|}}} | {{infobox row|On Eat|{{#if: {{{illoneat|}}}|<p>Become [[ill]]</p>}}{{#if: {{{oneat|}}}|{{{oneat|}}} }} }} }} | ||
{{#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|}}}|{{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> |