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 searchLine 8: | Line 8: | ||
|- 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; }}" | | ||
− | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.9) | background: #cc0000; }}" | {{#ifexpr: ({{{2}}} < -0.8 and {{{2}}} > -0.9) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.8 | + | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.9) | background: #cc0000; }}" | {{#ifexpr: ({{{2}}} < -0.8 and {{{2}}} > -0.9) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.8)*1000}}%; background-color: #cc0000; margin-left: auto;"></div> }} |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.8) | background: #dd2b2b; }}" | {{#ifexpr: ({{{2}}} < -0.7 and {{{2}}} > -0.8) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.7)*1000}}%; background-color: #dd2b2b; margin-left: auto;"></div> }} | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.8) | background: #dd2b2b; }}" | {{#ifexpr: ({{{2}}} < -0.7 and {{{2}}} > -0.8) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.7)*1000}}%; background-color: #dd2b2b; margin-left: auto;"></div> }} | ||
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.7) | background: #dd5757; }}" | {{#ifexpr: ({{{2}}} < -0.6 and {{{2}}} > -0.7) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.6)*1000}}%; background-color: #dd5757; margin-left: auto;"></div> }} | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} < -0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} <= -0.7) | background: #dd5757; }}" | {{#ifexpr: ({{{2}}} < -0.6 and {{{2}}} > -0.7) | <div style="height: 14px; width: {{#expr: (-{{{2}}}-0.6)*1000}}%; background-color: #dd5757; margin-left: auto;"></div> }} | ||
Line 25: | Line 25: | ||
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.7) | background: #57dd57; }}" | {{#ifexpr: ({{{2}}} > 0.6 and {{{2}}} < 0.7) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.6)*1000}}%; background-color: #57dd57;"></div> }} | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.6) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.7) | background: #57dd57; }}" | {{#ifexpr: ({{{2}}} > 0.6 and {{{2}}} < 0.7) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.6)*1000}}%; background-color: #57dd57;"></div> }} | ||
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.8) | background: #2bdd2b; }}" | {{#ifexpr: ({{{2}}} > 0.7 and {{{2}}} < 0.8) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.7)*1000}}%; background-color: #2bdd2b;"></div> }} | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.7) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.8) | background: #2bdd2b; }}" | {{#ifexpr: ({{{2}}} > 0.7 and {{{2}}} < 0.8) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.7)*1000}}%; background-color: #2bdd2b;"></div> }} | ||
− | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.8 | + | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} > 0.8) | border-color: #8ebee5; | border-color: #232746; }}{{#ifexpr: ({{{2}}} >= 0.9) | background: #00cc00; }}" | {{#ifexpr: ({{{2}}} > 0.8 and {{{2}}} < 0.9) | <div style="height: 14px; width: {{#expr: ({{{2}}}-0.8)*1000}}%; background-color: #00cc00;"></div> }} |
| style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" | | | style="width: 5%; border: 1px solid; {{#ifexpr: ({{{2}}} >= 0.9) | border-color: #8ebee5; background: #00cc00; | border-color: #232746; }}" | | ||
|}<noinclude>--> | |}<noinclude>--> | ||
Line 31: | Line 31: | ||
==Usage== | ==Usage== | ||
<pre>{{Faction Diplomacy begin}} | <pre>{{Faction Diplomacy begin}} | ||
− | {{FD | <faction name/link>| <empathy between - | + | {{FD | <faction name/link>| <empathy between -1 and +1>}} |
− | {{FD | <faction name/link>| <empathy between - | + | {{FD | <faction name/link>| <empathy between -1 and +1>}} |
... | ... | ||
{{Faction Diplomacy end}}</pre> | {{Faction Diplomacy end}}</pre> | ||
− | '''Note:''' The empathy numbers follow the same convention as those within Freelancer INI files | + | '''Note:''' The empathy numbers follow the same convention as those within Freelancer INI files. |
==Example== | ==Example== |
Revision as of 12:08, 1 May 2010
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 |
| ||||||||||||||||||||||||||||||||||||||||
Landwirtrechtbewegung |
| ||||||||||||||||||||||||||||||||||||||||
Outcasts |
| ||||||||||||||||||||||||||||||||||||||||
Hogosha |
| ||||||||||||||||||||||||||||||||||||||||
Corsairs |
|