Template:Phone history/doc

From Tears of Themis Wiki
< Template:Phone history
Revision as of 18:41, 5 November 2021 by imported>Harmonea (tweaking icon field notes)
Template-info.png Documentation

Description

Template used to display a script of any phone history item (Texts, calls, messages) using Template:Script while also storing information about the it to Cargo for querying on other pages.

Usage

{{Phone history
|name=
|historyType=
|contact=
|unlock=
|script=
}}
  • The "name" field should display any label under which the call is stored in the phone object. For Video Calls this is typically the card name (when the call is attached to a card). For Text Messages, this is the "topic" tab.
  • The "historyType" field should be one of the following if you'd like the script to go through to the Phone page:
    • Text Message
    • Video Call
    • Voice Call
    • Voice Message
  • The "contact" field is the male lead involved in the call or message.
  • The "unlock" field is optional and should contain any information about how to unlock the call or message other than the name of the card or story.
  • The "script" field should contain the script of the call or message using Template:SL and Template:SC as needed.
  • An optional "icon" field exists to override the default icon filename if needed (applies to video calls only).

Example

{{Phone history
|name=Sweet and Sour Pork
|historyType=Text Message
|contact=Artem
|unlock=After Story 3
|script=
{{SL|You|Mr. Wing, can you teach me how to make sweet and sour pork?}}
{{SL|Artem|Why are you asking about that all of a sudden?}}
}}
Text Message: Sweet and Sour Pork (After Story 3)

You: Mr. Wing, can you teach me how to make sweet and sour pork?

Artem: Why are you asking about that all of a sudden?

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