Template:Mail/doc

From Tears of Themis Wiki
< Template:Mail
Revision as of 21:20, 25 December 2022 by Harmonea (talk | contribs) (Created page with "{{doc/start}} ==Description== Template used to display and store a mail message in Cargo. The display is formatted as a Notable, so it's best placed within a NotableWrap. ==Usage== <pre>{{Mail |contact= |title= |message= |date=YYYY-MM-DD |attachment= (optional) }}</pre> ==Example== <pre>{{NotableWrap |notables= {{Mail |contact=DAVIS |title=Test Message |message=Dear Attorney,<br /> This is a test message.<br /> Don't you wish free chips were this easy? |date=2021-0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation

Description[edit source]

Template used to display and store a mail message in Cargo. The display is formatted as a Notable, so it's best placed within a NotableWrap.

Usage[edit source]

{{Mail
|contact=
|title=
|message=
|date=YYYY-MM-DD
|attachment=    (optional)
}}

Example[edit source]

{{NotableWrap
|notables=

{{Mail
|contact=DAVIS
|title=Test Message
|message=Dear Attorney,<br />
This is a test message.<br />
Don't you wish free chips were this easy?
|date=2021-07-29
|attachment={{Currency|S-Chip}} x1800
}}

}}

DAVIS: Test Message

Dear Attorney,
This is a test message.
Don't you wish free chips were this easy?

DAVIS
2021.07.29
Attached: Btn money s.pngS-Chip x1800

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.