Event trigger.png Support charity and get Hearts of Iron IV with accompanying expansions in the "Hearts of Iron" Bundle Event trigger.png

Template:Opinion

From Hearts of Iron 4 Wiki
Revision as of 11:34, 4 June 2021 by RandomGuy45678 (talk | contribs) (New 1.10.6 opinions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template lists all opinion (and trade opinion) modifiers as found in files located at /Hearts of Iron IV/common/opinion_modifiers. Its purpose is to gather all modifiers at a single location (to be used from) to ease future maintenance.

The modifiers have been arranged alphabetically for ease of use. Modifiers that have localisation from different files are grouped at the bottom. Most Mexican modifiers are defined in both 00_opinions_modifiers and mtg_opinion_modifiers. Since the template can't have both, the template assumes they're defined in mtg_opinion_modifiers as they take priority there.

Usage

  • The following opinion modifiers:
{{opinion|faction_traitor_trade}}
{{opinion|refused_help}}
{{opinion|refused_help|0}}
  • will produce:
Faction traitor (Opinion.png –40 Trade opinion)
Refused to Help (Opinion.png –30 Opinion / Time 36 months / 1 Monthly decay)
Refused to Help
  • Note: To show only the modifier's name (sans effects) add "0" as a second parameter.