Template:Faction
From NexusWiki
Usage
{{faction|factionname|factID|founder|alignment|membership_policy|membership|karma|level|1|2|3|4|5}}
The numbers in the template must be replaced with six-digit hex codes, otherwise the entire table will appear white with black font.
- 1: outer border color
- 2: header background color
- 3: inner border color
- 4: inner background color
- 5: inner font color
Furthermore, avoid dark/pale blue background colours - it will cause issues with the colour of the links found in the template.
There are also two completely optional parameters, faction's honor and contact information. These have to be placed after the inner font color parameter using keys honor and/or contact:
{{faction|factionname|factID|founder|alignment|membership_policy|membership|karma|level|1|2|3|4|5|honor=123}}
{{faction|factionname|factID|founder|alignment|membership_policy|membership|karma|level|1|2|3|4|5|contact=IRC #nexus}}
{{faction|factionname|factID|founder|alignment|membership_policy|membership|karma|level|1|2|3|4|5|contact=IRC #nexus|honor=123}}
Example
{{faction|The Faithful|30|Zachariel|Good|Open, No Multis|52|207|8|0098DE|FFFFFF|0098DE|FFFFFF|0098DE}}
...leads to...
| The Faithful | ||||||||||||||
|
{{faction|Random|0|Mr. Random|Neutral|Open, Multis Allowed|1|1|1|000000|969696|000000|EEEEEE|000000|contact=IRC: #nexus}}
...leads to...
| Random | ||||||||||||||||
|
{{faction|Random|0|Mr. Random|Neutral|Open, Multis Allowed|1|1|1|000000|969696|000000|EEEEEE|000000|honor=123}}
...leads to...
| Random | ||||||||||||||||
|
