User:Mzs/Template:Item Gain
From Fallen London Wiki (Staging)
< User:Mzs
Examples[edit]
Setting value with custom message[edit]
Old way:
{{Gain|Piece of Rostygold}} ''Custom message'' (You now have 10 x {{IL|Piece of Rostygold}})
New way:
{{Gain|Piece of Rostygold|message = Custom message|now = 10 x}}
Setting value to 1 x with custom message[edit]
Old way:
{{Gain|The Clay Tailor Club}} ''You have joined the Clay Tailor Club.'' (Gains {{IL|The Clay Tailor Club}})
New way:
{{Gain|The Clay Tailor Club|message = You have joined the Clay Tailor Club.|now = 1 x}}
Increase value with custom message[edit]
Old way:
{{Gain|Severed Chimaerical Head of the Vake}} ''Your inventory of Vake Heads is expanding.'' (Gains 1 x {{IL|Severed Chimaerical Head of the Vake}})
New way:
{{Gain|Severed Chimaerical Head of the Vake|message = Your inventory of Vake Heads is expanding.|1 x}}
Hidden increase[edit]
Old way:
{{Gain|Piece of Rostygold|10 x}} {{hidden}}
- You've gained 10 x Piece of Rostygold (hidden)
New way:
{{Gain|Piece of Rostygold|hidden = yes|10 x}}
- You've gained 10 x Piece of Rostygold (hidden)
Hidden increase with custom message[edit]
Old way:
{{Gain|Piece of Rostygold}} ''Custom message'' (You now have 10 x {{IL|Piece of Rostygold}}) {{hidden}}
- Custom message (You now have 10 x ) (hidden)
New way:
{{Gain|Piece of Rostygold|message = Custom message|hidden = yes|now = 10 x}}
- Custom message (You now have 10 x ) (hidden)