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
Created page with "<includeonly><table class="wikitable"> <tr><th>Causes {{{1}}}</th><th>Benefits from {{{1}}}</th></tr> <tr> <td><ul>{{#cargo_query:tables=EffectSynergies |fields=unit,remarks |where=effect='{{#replace:{{{1|}}}|'|\'}}' AND causes='1' |format=template |template=EffectSynergyEntry |named args=yes }}</ul></td> <td><ul>{{#cargo_query:tables=EffectSynergies |fields=unit,remarks |where=effect='{{#replace:{{{1|}}}|'|\'}}' AND causes='0' |format=template |template=EffectSy..."
 
changed poison to in game name poisoned
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|template=EffectSynergyEntry
|template=EffectSynergyEntry
|named args=yes
|named args=yes
|default=
}}</ul></td>
}}</ul></td>
<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
|named args=yes
|named args=yes
|default=
}}</ul></td>
}}</ul></td>
</tr></table></includeonly><noinclude>Displays a list of units that cause and benefit from an effect. 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