User:Mzs/Template:Gain

From Fallen London Wiki

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)

New way:

 {{Gain|Transformed by Stairs|Discrete = yes|message = THE STAIRS HAVE YOU NOW|now = 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)

New way:

 {{Gain|Haunted by Stairs|message = THE STAIRS HAVE YOU NOW|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)

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

Hidden gain[edit]

Old way:

 {{Gain|Discovered: the Shuttered Palace|Discrete = yes|occurrence = 1}} {{hidden}}

New way:

 {{Gain|Discovered: the Shuttered Palace|Discrete = yes|now = 1|occurrence = yes|hidden = yes}}

An occurrence![edit]

Old way:

 {{Gain|Transformed by Stairs|Discrete = yes|occurrence = 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}}

Old way still supported:

 {{Gain|Transformed by Stairs|Discrete = yes|occurrence = 10}}