Template:Card rewards page: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
m (spacing)
imported>Harmonea
No edit summary
Line 2: Line 2:


### Variable Define
### Variable Define
 
-->{{#switch:{{{cardContact|}}}
-->{{#switch:{{{cardContact|}}}
|Luke={{#vardefine:scriptChars|You!Main Character,Luke!Luke Pearce}}
|Luke={{#vardefine:scriptChars|You!Main Character,Luke!Luke Pearce}}
Line 9: Line 9:
|Marius={{#vardefine:scriptChars|You!Main Character,Marius!Marius von Hagen}}
|Marius={{#vardefine:scriptChars|You!Main Character,Marius!Marius von Hagen}}
|#default={{#vardefine:scriptChars|{{{scriptChars|You!Main Character}}}}}
|#default={{#vardefine:scriptChars|{{{scriptChars|You!Main Character}}}}}
}}<!--
}}<!--


### Template Display
### Template Display


-->{{#if: {{{story1Summary|}}} | ===Story Summary===
-->
{{#spoiler:show=Story 1 Spoiler|{{{story1Summary|}}} }} {{#if: {{{story2Summary|}}} |
{{#if: {{{story1Summary|}}} | &#32;
===Story Summary===
{{#spoiler:show=Story 1 Spoiler|{{{story1Summary|}}} }}
{{#if: {{{story2Summary|}}} | {{#spoiler:show=Story 2 Spoiler|{{{story2Summary|}}} }} }}
{{#if: {{{story3Summary|}}} | {{#spoiler:show=Story 3 Spoiler|{{{story3Summary|}}} }} }}
{{#if: {{{story4Summary|}}} | {{#spoiler:show=Story 4 Spoiler|{{{story4Summary|}}} }} }}
{{#if: {{{story5Summary|}}} | {{#spoiler:show=Story 5 Spoiler|{{{story5Summary|}}} }} }}
{{#if: {{{story6Summary|}}} | {{#spoiler:show=Story 6 Spoiler|{{{story6Summary|}}} }} }}


{{#spoiler:show=Story 2 Spoiler|{{{story2Summary|}}} }} }} {{#if: {{{story3Summary|}}} |
}}<!--
 
{{#spoiler:show=Story 3 Spoiler|{{{story3Summary|}}} }} }} {{#if: {{{story4Summary|}}} |
 
{{#spoiler:show=Story 4 Spoiler|{{{story4Summary|}}} }} }} {{#if: {{{story5Summary|}}} |
 
{{#spoiler:show=Story 5 Spoiler|{{{story5Summary|}}} }} }} {{#if: {{{story6Summary|}}} |


{{#spoiler:show=Story 6 Spoiler|{{{story6Summary|}}} }} }}
-->{{#if: {{{privateMessage1Title|}}} | &#32;
 
===Private Messages===
}}
{{#if: {{{privateMessage1Title|}}} | ===Private Messages===
{{Tab/start}}
{{Tab/start}}
{{Tab/header|{{Private Message header
{{Tab/header|{{Private Message header
Line 51: Line 51:
{{Tab/end}}
{{Tab/end}}


}}
}}<!--
{{#if: {{{textMessage1Title|}}} | ===Text Messages===
 
-->{{#if: {{{textMessage1Title|}}} | &#32;
===Text Messages===
{{Tab/start}}
{{Tab/start}}
{{Tab/header|{{Phone history
{{Tab/header|{{Phone history
Line 80: Line 82:
{{Tab/end}}
{{Tab/end}}


}}
}}<!--
{{#if: {{{videoCallTitle|}}} | ===Video Call===
 
-->{{#if: {{{videoCallTitle|}}} | &#32;
===Video Call===
{{Phone history
{{Phone history
|name={{{videoCallTitle|}}}
|name={{{videoCallTitle|}}}
Line 95: Line 99:
}}
}}


}}
}}<!--
{{#if: {{{afterStoryScript|}}} | ===After Story===
 
-->{{#if: {{{afterStoryScript|}}} | &#32;
===After Story===
{{Script
{{Script
|scriptHeader=After Story script
|scriptHeader=After Story script
Line 104: Line 110:
}}
}}


}}
}}<!--
{{#if: {{{storyLocations|}}} | ===Story Locations===
 
-->{{#if: {{{storyLocations|}}} | &#32;
===Story Locations===
{{NotableWrap
{{NotableWrap
|notables=
|notables=
{{{storyLocations|}}}
{{{storyLocations|}}}
}} }}</includeonly>
}} }}</includeonly>

Revision as of 17:27, 27 May 2022

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

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.