Template:Faction Diplomacy: Difference between revisions

Template page
(Undo revision 22507 by BrianTU (talk))
Tag: Undo
(Undo revision 22506 by BrianTU (talk))
Tag: Undo
Line 3: Line 3:


==Usage==
==Usage==
<pre>{{Faction Diplomacy/begin|width=<optional width>|caption=<optional caption>}}
<pre>{{Faction Diplomacy/begin|<size>|<caption>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}

Revision as of 05:05, 17 December 2024


Usage

{{Faction Diplomacy/begin|<size>|<caption>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}
{{FD|<page name>|text=<optional name>|<empathy between -1 and +1>}}
...
{{Faction Diplomacy/end}}

Note: The empathy numbers follow the same convention as those within Freelancer INI files.

Example

{{Faction Diplomacy/begin|100%|Faction Reputation}}
{{FD|Others|+0.9}}
{{FD|Red Hessians|+0.85}}
{{FD|Landwirtrechtbewegung|text=LWB|+0.7}}
{{FD|Outcasts|0.05}}
{{FD|Hogosha|-0.5}}
{{FD|Corsairs|-0.85}}
{{FD|Others|-0.9}}
{{Faction Diplomacy/end}}

Result would look like:


100% Faction Reputation
Others
Red Hessians
LWB
Outcasts
Hogosha
Corsairs
Others


Faction Diplomacy/begin and its Variables: Format and Examples

  • If the first field is unused, it will default to "Faction"
  • If the second field is unused, it will default to "Relationship"
  • If either field is used but left empty, it will be blank
  • If both fields are used and left empty, the header will be skipped.

Default Headers

{{Faction Diplomacy/begin}}
{{FD | ... | 0.7}}
{{FD | ... | -0.7}}
{{Faction Diplomacy/end}}
Faction Relationship
...
...