Template for scripted effects which have no parameters. The actual effects are transcluded from subtemplates named after the script file. They can be edited there. When editing the subtemplates, please remove the autogenerated_ sections, but not the sections which are named after the effect. autogenerated_ sections will be automatically upgraded for new versions of eu4 or pdxparse while edited sections have to be manually updated.
- Template:SEffect/00_scripted_effects
- Template:SEffect/01_scripted_effects_for_advisors
- Template:SEffect/01_scripted_effects_for_diplomacy
- Template:SEffect/01_scripted_effects_for_empire_of_china
- Template:SEffect/01_scripted_effects_for_estates
- Template:SEffect/01_scripted_effects_for_government_mechanics
- Template:SEffect/01_scripted_effects_for_history
- Template:SEffect/01_scripted_effects_for_on_actions
- Template:SEffect/01_scripted_effects_for_rulers_heirs_consorts
- Template:SEffect/01_scripted_effects_for_simple_bonuses_penalties
- Template:SEffect/01_scripted_effects_natives_and_colonization
- Template:SEffect/01_scripted_effects_parliament
- Template:SEffect/02_scripted_effects_preview_missions
- Template:SEffect/02_scripted_effects_unlocks
- Template:SEffect/03_scripted_effects_for_mission_rewards
Parameter | Description | Type | Status | Default value |
---|---|---|---|---|
1 | name of the scripted effect | String | required | |
2 | level of indentation. Specifies the number of * which are added in front of each line
|
int | optional | 1 |
Examples
{{SEffect|add_or_upgrade_naval_defense_building|1}}
generates:
「[This.GetName]的岸防工事建筑获得升级。若没有建筑,则添加岸防工事;若存在海防炮台,则[This.GetName]获得2基础生产。」
潜在效果: