Template:Card rewards page: Difference between revisions
From Tears of Themis Wiki
(adding third text message block to accommodate SRs with an in-story text) |
(adding formal story references section (hopefully)) |
||
Line 133: | Line 133: | ||
|notables= | |notables= | ||
{{{storyCharacters|}}} | {{{storyCharacters|}}} | ||
}} }}<!-- | |||
-->{{#if: {{{storyReferences|}}} | <nowiki /> | |||
===Story References=== | |||
{{ROOTPAGENAME}} card story contains brief mentions or references of events that took place in the following: | |||
{{#vardefine:i|0}}{{#while: | |||
| {{#if: {{#explode:{{{storyReferences|}}}|,|{{#var:i}}}} | true }} | |||
| <nowiki/> | |||
* {{#explode:{{{storyReferences|}}}|,|{{#var:i}}}} | |||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |||
}} }} | }} }} | ||
{{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | | [[Category:Card rewards]] }}</includeonly> | {{#ifeq: {{PAGENAME}} | {{BASEPAGENAME}} | | [[Category:Card rewards]] }}</includeonly> |
Revision as of 19:17, 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
After Story script
Story References
Card rewards page card story contains brief mentions or references of events that took place in the following:
The above documentation is transcluded from Template:Card rewards page/doc. (edit | history)