Template:Letter/doc

From Coral Island Wiki
Jump to navigation Jump to search
This is the documentation page for Letter.
It contains usage information, categories, and other content not part of the original template page.

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:

Sleep next time

Player,
You passed out last night lying face down. Thought it was a dead body. Scared the heck out of me!

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:

To our Player,
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.

We’re beyond proud of you, Player.