Difference between revisions of "Template:Faction Diplomacy"

From Discovery Wiki
Jump to navigationJump to search
(+/-0.9 no longer fills out the last slot on either side completely.)
 
Line 30: Line 30:
  
 
==Usage==
 
==Usage==
<pre>{{Faction Diplomacy begin}}
+
<pre>{{Faction Diplomacy/begin}}
 
{{FD | <faction name/link>| <empathy between -1 and +1>}}
 
{{FD | <faction name/link>| <empathy between -1 and +1>}}
 
{{FD | <faction name/link>| <empathy between -1 and +1>}}
 
{{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==
<pre>{{Faction Diplomacy begin}}
+
<pre>{{Faction Diplomacy/begin}}
 
{{FD | [[Others]]| +0.9}}
 
{{FD | [[Others]]| +0.9}}
 
{{FD | [[Red Hessians]]| +0.85}}
 
{{FD | [[Red Hessians]]| +0.85}}
Line 47: Line 47:
 
{{FD | [[Corsairs]]| -0.85}}
 
{{FD | [[Corsairs]]| -0.85}}
 
{{FD | [[Others]]| -0.9}}
 
{{FD | [[Others]]| -0.9}}
{{Faction Diplomacy end}}</pre>
+
{{Faction Diplomacy/end}}</pre>
  
 
Result would look like:
 
Result would look like:
  
{{Faction Diplomacy begin}}
+
{{Faction Diplomacy/begin}}
 
{{FD | [[Others]]| +0.9}}
 
{{FD | [[Others]]| +0.9}}
 
{{FD | [[Red Hessians]]| +0.85}}
 
{{FD | [[Red Hessians]]| +0.85}}
Line 59: Line 59:
 
{{FD | [[Corsairs]]| -0.85}}
 
{{FD | [[Corsairs]]| -0.85}}
 
{{FD | [[Others]]| -0.9}}
 
{{FD | [[Others]]| -0.9}}
{{Faction Diplomacy end}}
+
{{Faction Diplomacy/end}}
  
== Faction Diplomacy begin and its Variables: Format and Examples ==
+
== Faction Diplomacy/begin and its Variables: Format and Examples ==
 
* If the first field is unused, it will default to "Faction"
 
* If the first field is unused, it will default to "Faction"
 
* If the second field is unused, it will default to "Relationship"
 
* If the second field is unused, it will default to "Relationship"
Line 67: Line 67:
 
* If both fields are used and left empty, the header will be skipped.
 
* If both fields are used and left empty, the header will be skipped.
 
=== Default Headers ===
 
=== Default Headers ===
<pre>{{Faction Diplomacy begin}}
+
<pre>{{Faction Diplomacy/begin}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}</pre>
+
{{Faction Diplomacy/end}}</pre>
{{Faction Diplomacy begin}}
+
{{Faction Diplomacy/begin}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}
+
{{Faction Diplomacy/end}}
 
=== Custom Headers ===
 
=== Custom Headers ===
<pre>{{Faction Diplomacy begin|first|second}}
+
<pre>{{Faction Diplomacy/begin|first|second}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}</pre>
+
{{Faction Diplomacy/end}}</pre>
{{Faction Diplomacy begin|first|second}}
+
{{Faction Diplomacy/begin|first|second}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}
+
{{Faction Diplomacy/end}}
 
=== No Headers ===
 
=== No Headers ===
<pre>{{Faction Diplomacy begin||}}
+
<pre>{{Faction Diplomacy/begin||}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}</pre>
+
{{Faction Diplomacy/end}}</pre>
{{Faction Diplomacy begin||}}
+
{{Faction Diplomacy/begin||}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | 0.7}}
 
{{FD | ... | -0.7}}
 
{{FD | ... | -0.7}}
{{Faction Diplomacy end}}
+
{{Faction Diplomacy/end}}
  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Latest revision as of 02:01, 6 February 2012


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 Diplomacy/begin}}
{{FD | [[Others]]| +0.9}}
{{FD | [[Red Hessians]]| +0.85}}
{{FD | [[Landwirtrechtbewegung]]| +0.7}}
{{FD | [[Outcasts]]| 0.05}}
{{FD | [[Hogosha]]| -0.5}}
{{FD | [[Corsairs]]| -0.85}}
{{FD | [[Others]]| -0.9}}
{{Faction Diplomacy/end}}

Result would look like:


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


Faction Diplomacy/begin and its Variables: Format and Examples

  • If the first field is unused, it will default to "Faction"
  • If the second field is unused, it will default to "Relationship"
  • If either field is used but left empty, it will be blank
  • If both fields are used and left empty, the header will be skipped.

Default Headers

{{Faction Diplomacy/begin}}
{{FD | ... | 0.7}}
{{FD | ... | -0.7}}
{{Faction Diplomacy/end}}
Faction Relationship
...
Friendly
...
Hostile

Custom Headers

{{Faction Diplomacy/begin|first|second}}
{{FD | ... | 0.7}}
{{FD | ... | -0.7}}
{{Faction Diplomacy/end}}
first second
...
Friendly
...
Hostile

No Headers

{{Faction Diplomacy/begin||}}
{{FD | ... | 0.7}}
{{FD | ... | -0.7}}
{{Faction Diplomacy/end}}
...
Friendly
...
Hostile