Template:Letter

From Coral Island Wiki
Revision as of 09:21, 2 August 2023 by Admin coral island (talk | contribs) (Created page with "<includeonly><!-- --><div class="ci-letter-wrapper"><!-- Header --><div class="ci-letter-header"><!-- Title -->{{#if:{{{title|}}}|<div class="ci-letter-title"><!-- -->{{{title|}}}<!-- --></div><hr />}}<!-- Opening --><div class="ci-letter-opening"><!-- -->{{#replace:{{{opening|''Player'',}}}|''Player''|{{Color|player|''Player''}}}}<!-- --></div><!-- --></div><!-- Content --><div class="ci-lette...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

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.