Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:EffectSynergyTable: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
link to storing template
changed poison to in game name poisoned
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
<td><ul>{{#cargo_query:tables=EffectSynergies
<td><ul>{{#cargo_query:tables=EffectSynergies
|fields=unit,remarks
|fields=unit,remarks
|where=effect='{{#replace:{{{1|}}}|&#39;|\'}}' AND causes='0'
|where=(effect='{{#replace:{{{1|}}}|&#39;|\'}}' OR effect='all') AND causes='0'
|format=template
|format=template
|template=EffectSynergyEntry
|template=EffectSynergyEntry
Line 19: Line 19:
}}</ul></td>
}}</ul></td>
</tr></table></includeonly><noinclude>Displays a list of units that cause and benefit from an effect, using data stored by [[Template:EffectSynergyStore]]. Use with
</tr></table></includeonly><noinclude>Displays a list of units that cause and benefit from an effect, using data stored by [[Template:EffectSynergyStore]]. Use with
  <nowiki>{{EffectSynergyTable|Poison}}</nowiki>
  <nowiki>{{EffectSynergyTable|Poisoned}}</nowiki>
{{EffectSynergyTable|Poison}}
{{EffectSynergyTable|Poisoned}}
[[Category:Cargo query templates]]</noinclude>
[[Category:Cargo query templates]]</noinclude>

Latest revision as of 15:17, 27 June 2026

Displays a list of units that cause and benefit from an effect, using data stored by Template:EffectSynergyStore. Use with

{{EffectSynergyTable|Poisoned}}
Causes PoisonedBenefits from Poisoned