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 5: Line 5:
 
{| style="width: 244px; height: 30px; margin: 0px 2px 4px 2px; padding: 1px;" cellspacing="1" cellpadding="0"
 
{| style="width: 244px; height: 30px; margin: 0px 2px 4px 2px; padding: 1px;" cellspacing="1" cellpadding="0"
 
|-
 
|-
| colspan="20" style="text-align: center; font: smaller Arial;" |
+
| colspan="20" style="text-align: center; font: smaller Arial;" | {{#ifexpr: {{{empathy}}} >= 0.8 | <span style="color: #009900;">Allied</span>}}{{#ifexpr: ({{{empathy}}} >= 0.4) and ({{{empathy}}} < 0.8) | <span style="color: #33cc33;">Friendly</span>}}{{#ifexpr: ({{{empathy}}} > -0.4) and ({{{empathy}}} < 0.4) | <span style="color: #888888;">Neutral</span>}}{{#ifexpr: ({{{empathy}}} <= -0.4) and ({{{empathy}}} > -0.8) | <span style="color: #ff6600;">Unfriendly</span>}}{{#ifexpr: {{{empathy}}} <= -0.8 | <span style="color: #990000;">Hostile</span>}}
{{#ifexpr: {{{empathy}}} >= 0.8 | <span style="color: #009900;">Allied</span>
 
}}{{#ifexpr: ({{{empathy}}} >= 0.4) and ({{{empathy}}} < 0.8) | <span style="color: #33cc33;">Friendly</span>
 
}}{{#ifexpr: ({{{empathy}}} > -0.4) and ({{{empathy}}} < 0.4) | <span style="color: #888888;">Neutral</span>
 
}}{{#ifexpr: ({{{empathy}}} <= -0.4) and ({{{empathy}}} > -0.8) | <span style="color: #ff6600;">Unfriendly</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) | 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; }}" |

Revision as of 16:52, 16 February 2009


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
Corsairs
Unfriendly