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..."
 
wgg>Cadaei
empty text if no results
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
Line 15: Line 16:
|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. Use with

Revision as of 12:36, 3 December 2023

Displays a list of units that cause and benefit from an effect. Use with

{{EffectSynergyTable|Poison}}
Causes PoisonBenefits from Poison