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}} }} | ? }} }} }} }} }}
</includeonly><noinclude>
</includeonly><noinclude>
[[Category:Templates]]
[[Category:Templates]]
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.  
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:
Usage:
Line 10: Line 14:
{{FactionFeeling|49}}
{{FactionFeeling|49}}
</syntaxhighlight>
</syntaxhighlight>
{{FactionFeeling|49}}
...which results in: {{FactionFeeling|49}}


{| class="wikitable"
{| class="wikitable"
!Reputation
!Relationship
|-
|-
|
! Reputation !! Relationship
|-
| ≥ 100 || {{color | G | Loved}}
|-
| 99 − 50 || {{color | g | Liked }}
|-
| 49 − -49 || {{color | C | Neutral }}
|-
| -50 − -99 || {{color | r | Disliked }}
|-
|-
|
| ≤ -100 || {{color | R | Hated }}
|}
|}


</noinclude>
</noinclude>

Revision as of 09:28, 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