Difference between revisions of "Template:Choice"

From Stardew Valley Wiki
Jump to navigation Jump to search
(update link)
(+ optional 'with X' for events where multiple NPCs are involved)
Line 1: Line 1:
'''<span style="color:{{#iferror:{{#ifexpr:{{{2}}}>0|#060|{{#ifexpr:{{{2}}}<0|#600|#000}}}}|#000}};">{{{1}}}</span>''' <small>''({{#iferror:{{#ifexpr:{{{2}}}>0|+{{{2}}}|{{#ifexpr:{{{2}}}<0|{{{2}}}|No effect on}}}}|No effect on}} [[friendship]].)''</small><noinclude>
+
'''<span style="color:{{#iferror:{{#ifexpr:{{{2}}}>0|#060|{{#ifexpr:{{{2}}}<0|#600|#000}}}}|#000}};">{{{1}}}</span>''' <small>''({{#iferror:{{#ifexpr:{{{2}}}>0|+{{{2}}}|{{#ifexpr:{{{2}}}<0|{{{2}}}|No effect on}}}}|No effect on}} [[friendship]]{{#if:{{{3|}}}|&#32; with {{{3}}}}}.)''</small><noinclude>
 
{{{{FULLPAGENAME}}/doc}}</noinclude>
 
{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 15:46, 19 December 2018

{{{1}}} (No effect on friendship.)

Description

This template formats a dialogue choice on a villager's page.

Use

* {{choice|A positive option|50}}
* {{choice|A neutral option|0}}
* {{choice|A negative option|-50}}
* {{choice|A negative option for a specific NPC|-50|Linus}}