Difference between revisions of "Template:Choice"

From Stardew Valley Wiki
Jump to navigation Jump to search
(creation)
 
m (fix)
Line 1: Line 1:
'''<span style="color:{{#iferror:{{#ifexpr:{{{1}}}>0|green|{{#ifexpr:{{{1}}}<0|red|black}}}}|black}};">{{{0}}}</span>''' ''({{#iferror:{{#ifexpr:{{{1}}}>0|+{{{1}}}|{{#ifexpr:{{{1}}}<0|-{{{1}}}|no effect on}}}}|no effect on}} [[social|friendship]].)''<noinclude>
+
'''<span style="color:{{#iferror:{{#ifexpr:{{{2}}}>0|green|{{#ifexpr:{{{2}}}<0|red|black}}}}|black}};">{{{1}}}</span>''' ''({{#iferror:{{#ifexpr:{{{2}}}>0|+{{{2}}}|{{#ifexpr:{{{2}}}<0|{{{2}}}|no effect on}}}}|no effect on}} [[social|friendship]].)''<noinclude>
 
{{{{FULLPAGENAME}}/doc}}</noinclude>
 
{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 00:34, 19 September 2016

{{{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}}