YellowWarningTriangle.png This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date.

Difference between revisions of "Template:Faction Diplomacy"

From Discovery Wiki
Jump to navigationJump to search
Line 8: Line 8:
 
|- style="height: 16px;"
 
|- style="height: 16px;"
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #232746; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.9) | background: #cc0000; }}" | {{#ifexpr: ({{{2}}} < -0.8 and {{{2}}} > -0.9) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.8)*1000}}%; background-color: #cc0000; margin-left: auto;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.9) | background: #cc0000; }}" | {{#ifexpr: ({{{2}}} < -0.8 and {{{2}}} > -0.9) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.8+0.01)*1000}}%; background-color: #cc0000; margin-left: auto;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.7) | border-color: #8ebee5; background: #dd2b2b; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.7) | border-color: #8ebee5; background: #dd2b2b; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.6) | border-color: #8ebee5; background: #dd5757; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.6) | border-color: #8ebee5; background: #dd5757; | border-color: #232746; }}" |

Revision as of 11:22, 15 February 2010


Usage

{{Faction Diplomacy  begin}}
{{FD | <faction name/link>| <empathy between -0.9 and +0.9>}}
{{FD | <faction name/link>| <empathy between -0.9 and +0.9>}}
...
{{Faction Diplomacy  end}}

Note: The empathy numbers follow the same convention as those within Freelancer INI files. Therefore +0.9 is the maximum possible rep (the final square), while +0.89 is the maximum attainable rep without manual editing. Likewise for the negative numbers.

Example

Faction Relationship
Red Hessians
Allied
Landwirtrechtbewegung
Friendly
Outcasts
Neutral
Hogosha
Unfriendly
Corsairs
Hostile