Template:Card rewards page: Difference between revisions
From Tears of Themis Wiki
(Should have added the else block?) |
(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) |
||
Line 52: | Line 52: | ||
|default=None | |default=None | ||
}}}} | }}}} | ||
}}<!-- | |||
-->{{#if: {{{videoCallTitle|}}} | <nowiki /> | |||
===Video Call=== | |||
{{Phone history | |||
|name={{{videoCallTitle|}}} | |||
|historyType=Video Call | |||
|contact={{{cardContact|}}} | |||
|unlock={{{videoCallUnlock|After Story 6}}} | |||
}} | |||
{{Script | |||
|scriptHeader=Video Call script | |||
|script= | |||
{{{videoCallScript|}}} | |||
}} | |||
}}<!-- | }}<!-- | ||
Line 68: | Line 84: | ||
|script= | |script= | ||
{{{textMessage1Script|}}} | {{{textMessage1Script|}}} | ||
}} | }}{{#if: {{{textMessage2Title|}}} | <nowiki /> | ||
{{Tab/header|{{Phone history | {{Tab/header|{{Phone history | ||
|name={{{textMessage2Title|}}} | |name={{{textMessage2Title|}}} | ||
Line 82: | Line 98: | ||
{{Tab/end}} | {{Tab/end}} | ||
}} | }} }}<!-- | ||
}}<!-- | |||
-->{{#if: {{{afterStoryScript|}}} | <nowiki /> | -->{{#if: {{{afterStoryScript|}}} | <nowiki /> |
Revision as of 08:11, 17 March 2024
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
The above documentation is transcluded from Template:Card rewards page/doc. (edit | history)