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"
Line 12: | Line 12: | ||
{{#ifexpr: {{{empathy}}} <= -0.8 | <span style="color: #990000;">Hostile</span>}} | {{#ifexpr: {{{empathy}}} <= -0.8 | <span style="color: #990000;">Hostile</span>}} | ||
|- style="height: 16px; background: #f8f8f8;" | |- style="height: 16px; background: #f8f8f8;" | ||
− | | style="width: 5%; border: 1px solid {{#ifexpr: ({{{empathy}}} <= -0.9) | #8ebee5; background: #cc0000; | #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) | #8ebee5; background: #cc0000; | #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) | #8ebee5; background: #dd2b2b; | #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) | #8ebee5; background: #dd5757; | #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) | #8ebee5; background: #ee8282; | #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) | #8ebee5; background: #ffadad; | #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) | #8ebee5; background: #ffd9d9; | #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) | #8ebee5; background: #ffffff; | #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) | #8ebee5; background: #ffffff; | #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) | #8ebee5; background: #ffffff; | #f8f8f8; }}" | | + | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{empathy}}} < 0) | border-color: #8ebee5; background: #ffffff; | border-color: #f8f8f8; }}" | |
<!-- center --> | <!-- center --> | ||
− | | style="width: 5%; border: 1px solid {{#ifexpr: ({{{empathy}}} > 0) | #8ebee5; background: #ffffff; | #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) | #8ebee5; background: #ffffff; | #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) | #8ebee5; background: #ffffff; | #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) | #8ebee5; background: #d9ffd9; | #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) | #8ebee5; background: #adffad; | #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) | #8ebee5; background: #82ee82; | #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) | #8ebee5; background: #57dd57; | #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) | #8ebee5; background: #2bdd2b; | #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) | #8ebee5; background: #00cc00; | #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) | #8ebee5; background: #00cc00; | #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:47, 16 February 2009
| style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | | style="width: 5%; border: 1px solid; Expression error: Unrecognized punctuation character "{"." | |} -->
Usage
{{Faction Diplomacy begin}} {{Faction Diplomacy | faction = [[Red Hessians]] | empathy = +0.9 }} {{Faction Diplomacy | faction = [[Corsairs]] | empathy = -0.6 }} {{Faction Diplomacy end}}
Example
Faction | Relationship | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Red Hessians |
| ||||||||||||||||||||||||||||||||||||||||
Corsairs |
|