Template:Letter: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 29: | Line 29: | ||
Attachment | Attachment | ||
-->{{#if:{{{attachment|}}}|<div class="ci-letter-attachment"><!-- | -->{{#if:{{{attachment|}}}|<div class="ci-letter-attachment"><!-- | ||
-->{{Card list|{{{attachment|}}}|show_caption=0|x= | -->{{Card list|{{{attachment|}}}|show_caption=0|x=0}}<!-- | ||
--></div>}}<!-- | --></div>}}<!-- | ||
--></div><!-- | --></div><!-- |
Revision as of 05:32, 3 August 2023
Note: parts of or the entire template might not be visible without values provided.
Main | Documentation | Sandbox | Usage |
This template is used to display letters received by the player in the standard format.
Syntax
{{Letter
|sender =
|content =
|opening =
|closing =
|attachment =
}}
attachment
— semicolon list of item attached, following format of{{Card list}}
with default item amount of defaults to 1
Examples
{{Letter
|sender = Sunny
|content = You passed out last night lying face down. Thought it was a dead body. Scared the heck out of me!<br /><br />I found you pretty late, hope you weren’t staying up past midnight. Not good for ya. I had Yuri carry you home and make sure you’re okay. Your medical bill should be attached.
|opening = ''Player'',
|closing = Be well kiddo!
|title = Sleep next time
}}
yields:
I found you pretty late, hope you weren’t staying up past midnight. Not good for ya. I had Yuri carry you home and make sure you’re okay. Your medical bill should be attached.
{{Letter
|sender = Grandma
|content = Your parents sent us an article about you making a quarter of a million coins! We’re so happy you’ve found your community and thriving on Coral Island. We sent some extra money to add to the pile! The kittens are taking over our bedroom. We will let them sleep there with us. There is no winning with those cuties.<br /><br />We’re beyond proud of you, ''Player''.
|opening = To our ''Player'',
|closing = Love,
|attachment = Coin*1000
}}
yields:
We’re beyond proud of you, Player.