Template:Card rewards page: Difference between revisions

From Tears of Themis Wiki
(adding conditional for second text message, to accommodate card stories with mid-story texts + moving video call section above texts for when both are present)
(adding third text message block to accommodate SRs with an in-story text)
Line 95: Line 95:
|script=
|script=
{{{textMessage2Script|}}}
{{{textMessage2Script|}}}
}}{{#if: {{{textMessage3Title|}}} | <nowiki />
{{Tab/header|{{Phone history
|name={{{textMessage3Title|}}}
|historyType=Text Message
|contact={{{cardContact|}}}
|unlock={{{textMessage3Unlock|In-Story}}}
}}}}
{{Script
|scriptHeader=Text Message script
|script=
{{{textMessage3Script|}}}
}}
}}
{{Tab/end}}
{{Tab/end}}


}} }}<!--
}} }} }}<!--


-->{{#if: {{{afterStoryScript|}}} | <nowiki />
-->{{#if: {{{afterStoryScript|}}} | <nowiki />

Revision as of 17:08, 17 March 2024

Template-info.png Documentation

Description

Used to standardize the format of Card Reward pages. Includes options for many types of card rewards; typically the various sections will show or hide based on the presence or absence of the first variable in their section.

Usage

{{Card rewards page
|cardContact=

|story1Summary=
|story2Summary=
|story3Summary=
|story4Summary=
|story5Summary=
|story6Summary=
|storyLocations=
|storyCharacters=
|storyReferences=
|storyYear=

|privateMessage1Title=
|privateMessage1Script=
|privateMessage2Title=
|privateMessage2Script=

|textMessage1Title=
|textMessage1Script=
|textMessage2Title=
|textMessage2Script=

|videoCallTitle=
|videoCallScript=

|afterStoryScript=

|tokenScript=
|tokenImage=
}}

Example

{{Card rewards page
|cardContact=Marius

|story1Summary=This is an example summary for card story 1. Use them like you would a stage page's summary section.
|story2Summary=If present, each story up to 6 will show a new spoiler button.
|story3Summary=Use the storyLocations and storyCharacters headers the way you would a stage page's locations/characters section
|story4Summary=(not demonstrated here to avoid storing extra BackgroundLocations into cargo)

|afterStoryScript=
{{SL|Marius|The script headers and character links on ALL script sections are automatically created.}}
{{SL|You|So for every script shown, editors can just jump straight to inputting raw script lines without worrying about the container.}}

|storyReferences=[[Tears of Themis Wiki]],[[Cards]],[[Character Stories]]
|storyYear=AU
}}

Story Summary

Illustrations

None

After Story

After Story script

Marius: The script headers and character links on all script sections are automatically created.

You: So for every script shown, editors can just jump straight to inputting raw script lines without worrying about the container.