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 18: Line 18:
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < 0) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.1) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} < 0 and {{{2}}} > -0.1) | <div style="height: 14px; width: {{#expr: (-{{{2}}})*1000}}%; background-color: #ffffff; margin-left: auto;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < 0) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.1) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} < 0 and {{{2}}} > -0.1) | <div style="height: 14px; width: {{#expr: (-{{{2}}})*1000}}%; background-color: #ffffff; margin-left: auto;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.1) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0 and {{{2}}} < 0.1) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #ffffff;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.1) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0 and {{{2}}} < 0.1) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #ffffff;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.1) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.2) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0.1 and {{{2}}} < 0.2) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #ffffff;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.1) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.2) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0.1 and {{{2}}} < 0.2) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.1)*1000}}%; background-color: #ffffff;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.2) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.3) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0.2 and {{{2}}} < 0.3) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #ffffff;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.2) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.3) | background: #ffffff; }}" | {{#ifexpr: ({{{2}}} > 0.2 and {{{2}}} < 0.3) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.2)*1000}}%; background-color: #ffffff;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.3) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.4) | background: #d9ffd9; }}" | {{#ifexpr: ({{{2}}} > 0.3 and {{{2}}} < 0.4) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #d9ffd9;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.3) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.4) | background: #d9ffd9; }}" | {{#ifexpr: ({{{2}}} > 0.3 and {{{2}}} < 0.4) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.3)*1000}}%; background-color: #d9ffd9;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.4) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.5) | background: #adffad; }}" | {{#ifexpr: ({{{2}}} > 0.4 and {{{2}}} < 0.5) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #adffad;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.4) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.5) | background: #adffad; }}" | {{#ifexpr: ({{{2}}} > 0.4 and {{{2}}} < 0.5) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.4)*1000}}%; background-color: #adffad;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.5) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.6) | background: #82ee82; }}" | {{#ifexpr: ({{{2}}} > 0.5 and {{{2}}} < 0.6) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #82ee82;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.5) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.6) | background: #82ee82; }}" | {{#ifexpr: ({{{2}}} > 0.5 and {{{2}}} < 0.6) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.5)*1000}}%; background-color: #82ee82;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.7) | background: #57dd57; }}" | {{#ifexpr: ({{{2}}} > 0.6 and {{{2}}} < 0.7) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #57dd57;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.7) | background: #57dd57; }}" | {{#ifexpr: ({{{2}}} > 0.6 and {{{2}}} < 0.7) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.6)*1000}}%; background-color: #57dd57;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.8) | background: #2bdd2b; }}" | {{#ifexpr: ({{{2}}} > 0.7 and {{{2}}} < 0.8) | <div style="height: 14px; width: {{#expr: ({{{2}}})*1000}}%; background-color: #2bdd2b;"></div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.8) | background: #2bdd2b; }}" | {{#ifexpr: ({{{2}}} > 0.7 and {{{2}}} < 0.8) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.7)*1000}}%; background-color: #2bdd2b;"></div> }}
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}+0.01)*100}}%; background-color: #00cc00;">{{#expr: ({{{2}}}+0.01)*100}}</div> }}
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.8+0.01)*1000}}%; background-color: #00cc00;"></div> }}
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" |
 
|}<noinclude>-->
 
|}<noinclude>-->

Revision as of 12:17, 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
60