User:Mzs/Template:Gain
From Fallen London Wiki
< User:Mzs
See Blog:Mzs/Request for Feedback: Non-Standard Gain Messages for more details.
Examples[edit]
Setting value with custom message[edit]
Old way:
{{Gain|Transformed by Stairs|Discrete = yes}} ''THE STAIRS HAVE YOU NOW'' (Sets {{IL|Transformed by Stairs}} to 10)
- You've gained ? Transformed by Stairs THE STAIRS HAVE YOU NOW (Sets Transformed by Stairs to 10)
New way:
{{Gain|Transformed by Stairs|Discrete = yes|message = THE STAIRS HAVE YOU NOW|now = 10}}
- THE STAIRS HAVE YOU NOW (Sets Transformed by Stairs to 10)
Increase value with custom message[edit]
Old way:
{{Gain|Haunted by Stairs}} ''THE STAIRS HAVE YOU NOW'' (Increases {{IL|Haunted by Stairs}} by 2 CP)
- Haunted by Stairs is increasing… (+? CP) THE STAIRS HAVE YOU NOW (Increases Haunted by Stairs by 2 CP)
New way:
{{Gain|Haunted by Stairs|message = THE STAIRS HAVE YOU NOW|2 CP}}
- THE STAIRS HAVE YOU NOW (Increases Haunted by Stairs by 2 CP)
Increase Discrete value with custom message[edit]
Old way:
{{Gain|Marsh-Mired in Dreams of Sustenance|Discrete = yes}} ''Time, the Healer, will take Marsh-Mired from you when she passes.'' (Increases {{IL|Marsh-Mired in Dreams of Sustenance}} by 1)
- You've gained ? Marsh-Mired in Dreams of Sustenance Time, the Healer, will take Marsh-Mired from you when she passes. (Increases Marsh-Mired in Dreams of Sustenance by 1)
New way:
{{Gain|Marsh-Mired in Dreams of Sustenance|Discrete = yes|message = Time, the Healer, will take Marsh-Mired from you when she passes.|1}}
- Time, the Healer, will take Marsh-Mired from you when she passes. (Increases Marsh-Mired in Dreams of Sustenance by 1)
Hidden gain[edit]
Old way:
{{Gain|Discovered: the Shuttered Palace|Discrete = yes|occurrence = 1}} {{hidden}}
- An occurrence! Your 'Discovered: the Shuttered Palace' Quality is now 1! (hidden)
New way:
{{Gain|Discovered: the Shuttered Palace|Discrete = yes|now = 1|occurrence = yes|hidden = yes}}
- An occurrence! Your 'Discovered: the Shuttered Palace' Quality is now 1! (hidden)
An occurrence![edit]
Old way:
{{Gain|Transformed by Stairs|Discrete = yes|occurrence = 10}}
- An occurrence! Your 'Transformed by Stairs' Quality is now 10!
New way (making now
the universal "set this value to" parameter with messaging defined by other parameters):
{{Gain|Transformed by Stairs|Discrete = yes|now = 10|occurrence = yes}}
- An occurrence! Your 'Transformed by Stairs' Quality is now 10!
Old way still supported:
{{Gain|Transformed by Stairs|Discrete = yes|occurrence = 10}}
- An occurrence! Your 'Transformed by Stairs' Quality is now 10!