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:EffectSynergyStore: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei Created page with "<includeonly>{{#if:{{#var:noCargo}}||{{#cargo_store:_table=EffectSynergies}}}}</includeonly><noinclude> This is a template to store info about synergies of Effects, i.e. which unit causes and which benefits from it. Use like <pre> {{EffectSynergyStore |effect= |unit= |remarks= |causes= }} </pre> The cargo table Special:CargoTables/EffectsBenefits contains the effect and which units cause or benefit from it. * effect: name of the concerning effect * unit: the uni..." |
wgg>Cadaei explicitely store boolean causes to save multiple rows |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{#var:noCargo}}||{{#cargo_store:_table=EffectSynergies}}}}</includeonly><noinclude> | <includeonly>{{#if:{{#var:noCargo}}||{{#cargo_store:_table=EffectSynergies | ||
|causes={{#switch:{{{causes|}}}|true|1=1|0}} | |||
}}}}</includeonly><noinclude> | |||
This is a template to store info about synergies of [[Effects]], i.e. which unit causes and which benefits from it. | This is a template to store info about synergies of [[Effects]], i.e. which unit causes and which benefits from it. | ||
Revision as of 12:03, 3 December 2023
This is a template to store info about synergies of Effects, i.e. which unit causes and which benefits from it.
Use like
{{EffectSynergyStore
|effect=
|unit=
|remarks=
|causes=
}}
The cargo table Special:CargoTables/EffectsBenefits contains the effect and which units cause or benefit from it.
- effect: name of the concerning effect
- unit: the unit name that causes or benefits from the effect
- remarks: limitations, e.g. if a unit needs upgrades to benefit from it
- causes: 1 if this table entry describes the effect is caused by the unit, 0 if the unit benefits from it
This template defines the table "EffectSynergies". View table.


