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;" | {{#ifexpr: {{{2}}} >= 0.8 | <span style="color: #009900;">Allied</span>}}{{#ifexpr: ({{{2}}} >= 0.4) and ({{{2}}} < 0.8) | <span style="color: #33cc33;">Friendly</span>}}{{#ifexpr: ({{{2}}} > -0.4) and ({{{2}}} < 0.4) | <span style="color: #888888;">Neutral</span>}}{{#ifexpr: ({{{2}}} <= -0.4) and ({{{2}}} > -0.7) | <span style="color: #ff6600;">Unfriendly</span>}}{{#ifexpr: ({{{2}}} <= -0.7) and ({{{2}}} > -0.9) | <span style="color: #cc0000;">Hostile</span>}}{{#ifexpr: {{{2}}} <= -0.9 | <span style="color: #000000; font-weight: bold; background: #000099;">At War</span>}}
+
| colspan="20" style="text-align: center; font: smaller Arial;" | {{#ifexpr: {{{2}}} >= 0.8 | <span style="color: #009900;">Allied</span>}}{{#ifexpr: ({{{2}}} >= 0.4) and ({{{2}}} < 0.8) | <span style="color: #33cc33;">Friendly</span>}}{{#ifexpr: ({{{2}}} > -0.4) and ({{{2}}} < 0.4) | <span style="color: #888888;">Neutral</span>}}{{#ifexpr: ({{{2}}} <= -0.4) and ({{{2}}} > -0.7) | <span style="color: #ff6600;">Unfriendly</span>}}{{#ifexpr: ({{{2}}} <= -0.7) and ({{{2}}} > -0.9) | <span style="color: #cc0000;">Hostile</span>}}{{#ifexpr: {{{2}}} <= -0.9 | <span style="color: #cc0000; font-weight: bold;">At War</span>}}
 
|- style="height: 16px;"
 
|- style="height: 16px;"
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #232746; }}" |
 
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} <= -0.9) | border-color: #8ebee5; background: #cc0000; | border-color: #232746; }}" |

Revision as of 13:17, 23 August 2011


Usage

{{Faction Diplomacy begin}}
{{FD | <faction name/link>| <empathy between -1 and +1>}}
{{FD | <faction name/link>| <empathy between -1 and +1>}}
...
{{Faction Diplomacy end}}

Note: The empathy numbers follow the same convention as those within Freelancer INI files.

Example

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