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; background: #f8f8f8;"
 
|- style="height: 16px; background: #f8f8f8;"
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.8) | border-color: #8ebee5; background: #cc0000; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.8) | border-color: #8ebee5; background: #cc0000; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.7) | border-color: #8ebee5; background: #dd2b2b; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.7) | border-color: #8ebee5; background: #dd2b2b; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.6) | border-color: #8ebee5; background: #dd5757; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.6) | border-color: #8ebee5; background: #dd5757; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.5) | border-color: #8ebee5; background: #ee8282; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.5) | border-color: #8ebee5; background: #ee8282; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.4) | border-color: #8ebee5; background: #ffadad; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.4) | border-color: #8ebee5; background: #ffadad; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.3) | border-color: #8ebee5; background: #ffd9d9; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.3) | border-color: #8ebee5; background: #ffd9d9; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.2) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.2) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} <= -0.1) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < -0.1) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < 0) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < 0) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.1) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.1) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.2) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.2) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.3) | border-color: #8ebee5; background: #d9ffd9; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.3) | border-color: #8ebee5; background: #d9ffd9; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.4) | border-color: #8ebee5; background: #adffad; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.4) | border-color: #8ebee5; background: #adffad; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.5) | border-color: #8ebee5; background: #82ee82; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.5) | border-color: #8ebee5; background: #82ee82; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.6) | border-color: #8ebee5; background: #57dd57; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.6) | border-color: #8ebee5; background: #57dd57; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.7) | border-color: #8ebee5; background: #2bdd2b; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.7) | border-color: #8ebee5; background: #2bdd2b; | border-color: #f8f8f8; }}" |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.8) | border-color: #8ebee5; background: #00cc00; | border-color: #f8f8f8; }}" |
+
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} > 0.8) | border-color: #8ebee5; background: #00cc00; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #f8f8f8; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #f8f8f8; }}" |
 
|}<noinclude>-->
 
|}<noinclude>-->

Revision as of 16:56, 16 February 2009


Usage

{{Faction Diplomacy begin}}
{{Faction Diplomacy
| faction = [[Red Hessians]]
| empathy = +0.9
}}
{{Faction Diplomacy
| faction = [[Landwirtrechtbewegung]]
| empathy = +0.7
}}
{{Faction Diplomacy
| faction = [[Outcasts]]
| empathy = -0.1
}}
{{Faction Diplomacy
| faction = [[Hogosha]]
| empathy = -0.5
}}
{{Faction Diplomacy
| faction = [[Corsairs]]
| empathy = -0.9
}}
{{Faction Diplomacy end}}

Example

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