Template:OnEat ID to page: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#cargo_query:table=OnEatEffects|fields=CONCAT('[[',_pageName,'{{!}}',PlainName,']]')=Page|where=ObjectID='{{{1|}}}' AND _pageNamespace='0'|limit=1|more results...")
 
(special case handling)
Line 1: Line 1:
<includeonly>{{#cargo_query:table=OnEatEffects|fields=CONCAT('[[',_pageName,'{{!}}',PlainName,']]')=Page|where=ObjectID='{{{1|}}}' AND _pageNamespace='0'|limit=1|more results text=|default={{{1|}}}|format=template|template=single query result}}</includeonly><noinclude>[[Category:ID to name Templates]]</noinclude>
<includeonly>{{#switch: {{{1|}}}
| HealOnEat = Heals [[HP]]
| GeometricHealOnEat = Heals [[HP]]
| RefreshCooldownsOnEat = Refresh ability [[cooldowns]]
| TemperatureOnEat = [[Temperature]] change
| StatOnEat = Permanent [[attribute]] change
| EffectOnEat = Metabolic effect
| SecretsOnEat = Learn 1-3 [[secrets]]
| {{#cargo_query:table=OnEatEffects|fields=CONCAT('[[',_pageName,'{{!}}',PlainName,']]')=Page|where=ObjectID='{{{1|}}}' AND _pageNamespace='0'|limit=1|more results text=|default={{{1|}}}|format=template|template=single query result}}
}}</includeonly><noinclude>[[Category:ID to name Templates]]</noinclude>

Revision as of 17:28, 5 April 2022