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
m
Line 47: Line 47:
 
{{Faction Diplomacy end}}
 
{{Faction Diplomacy end}}
  
== Optional Variables of Faction Diplomacy begin ==
+
== Faction Diplomacy begin and its Variables: Format and Examples ==
* First and Second
+
* If the first field is unused, it will default to "Faction"
* if unused, they will default to "Faction" and "Relationship" respectively
+
* If the second field is unused, it will default to "Relationship"
* if left blank <nowiki>{{Faction Diplomacy begin|fheader=|rheader=}}</nowiki>, the header row will be skipped
+
* 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 ===
 +
<pre>{{Faction Diplomacy begin}}
 +
{{FD | ... | 0.7}}
 +
{{FD | ... | -0.7}}
 +
{{Faction Diplomacy end}}</pre>
 +
{{Faction Diplomacy begin}}
 +
{{FD | ... | 0.7}}
 +
{{FD | ... | -0.7}}
 +
{{Faction Diplomacy end}}
 
=== Custom Headers ===
 
=== Custom Headers ===
 
<pre>{{Faction Diplomacy begin|first|second}}
 
<pre>{{Faction Diplomacy begin|first|second}}

Revision as of 17:24, 25 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


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