Template:Faction feeling description: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<gallery>
</gallery>
<includeonly>
<includeonly>
{{#ifexpr: {{{1}}} <= -100 | {{Tooltip | {{{1}}} Reputation | {{color | R | Hated}} }} | {{#ifexpr: {{{1}}} <= -50 | {{Tooltip | {{{1}}} Reputation | {{color | r | Disliked}} }} | {{#ifexpr: {{{1}}} <= 49 | {{Tooltip | {{{1}}} Reputation | {{color | C | Neutral}} }} | {{#ifexpr: {{{1}}} <= 99 | {{Tooltip | {{{1}}} Reputation | {{color | g | Liked}} }}  | {{#ifexpr: {{{1}}} >= 100 | {{Tooltip | {{{1}}} Reputation | {{color | G | Loved}} }} | ? }} }} }} }} }}
{{#ifexpr: {{{1}}} <= -100 | {{Tooltip | {{{1}}} Reputation | {{color | R | Hated}} }} | {{#ifexpr: {{{1}}} <= -50 | {{Tooltip | {{{1}}} Reputation | {{color | r | Disliked}} }} | {{#ifexpr: {{{1}}} <= 49 | {{Tooltip | {{{1}}} Reputation | {{color | C | Neutral}} }} | {{#ifexpr: {{{1}}} <= 99 | {{Tooltip | {{{1}}} Reputation | {{color | g | Liked}} }}  | {{#ifexpr: {{{1}}} >= 100 | {{Tooltip | {{{1}}} Reputation | {{color | G | Loved}} }} | ? }} }} }} }} }}

Revision as of 10:49, 4 October 2020

Takes a non-player creature's reputation value with a faction and displays the creature's relationship with that faction, with a tooltip displaying the value.


Usage:

{{FactionFeeling|49}}

...which results in: Neutral 49 Reputation


Reputation Relationship
≥ 100 Loved
99 − 50 Liked
49 − -49 Neutral
-50 − -99 Disliked
≤ -100 Hated