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 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 | #8ebee5; background: #cc0000; | #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 | #8ebee5; background: #cc0000; | #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 | #8ebee5; background: #dd2b2b; | #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 | #8ebee5; background: #dd5757; | #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 | #8ebee5; background: #ee8282; | #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 | #8ebee5; background: #ffadad; | #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 | #8ebee5; background: #ffd9d9; | #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 | #8ebee5; background: #ffffff; | #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 | #8ebee5; background: #ffffff; | #f8f8f8; }}" |
| style="width: 5%; border: 1px solid {{#ifexpr: {{{empathy}}} < 0 | #8ebee5; background: #ffffff; | #f8f8f8;}}" |
+
| style="width: 5%; border: 1px solid {{#ifexpr: {{{empathy}}} < 0 | #8ebee5; background: #ffffff; | #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 | #8ebee5; background: #ffffff; | #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 | #8ebee5; background: #ffffff; | #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 | #8ebee5; background: #ffffff; | #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 | #8ebee5; background: #d9ffd9; | #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 | #8ebee5; background: #adffad; | #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 | #8ebee5; background: #82ee82; | #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 | #8ebee5; background: #57dd57; | #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 | #8ebee5; background: #2bdd2b; | #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 | #8ebee5; background: #00cc00; | #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 | #8ebee5; background: #00cc00; | #f8f8f8; }}" |
 
|}
 
|}
 
<noinclude>-->
 
<noinclude>-->

Revision as of 16:43, 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

Allied



style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #d9ffd9;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #adffad;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #82ee82;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #57dd57;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #2bdd2b;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #00cc00;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #00cc00;" |


Corsairs


Unfriendly

style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #dd5757;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ee8282;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffadad;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffd9d9;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. 8ebee5; background: #ffffff;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |
style="width: 5%; border: 1px solid
  1. f8f8f8;" |