Difference between revisions of "Template:STDialogue"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
(#css → #widget/css)
 
(72 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{NoticeUnderConstruction}}
+
<noinclude>
Dialogue template for stories.
+
{{doc}}
 
 
{{CastleStories
 
|Id=0
 
|Title=title
 
|Event=event
 
|ReleaseDate=
 
|FeaturedCharacters=
 
|Dialogue=
 
{{STDialogue
 
|Siren=Ohmigosh, GUYS—wasn't that concert sooooo much fun?
 
{{STIntro|Siren|Dragon Songstress}}
 
}}
 
<center>'''The End'''</center>
 
}}
 
 
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>
<includeonly><div align="left">{{ST|{{{1}}}}} {{{2}}}</div></includeonly>
+
<includeonly>{{#widget:Template/STDialogue/css}}
 +
{{#switch: {{{1}}}
 +
| Intro = <p class="stdialogue-intro"><span class="stdialogue-intro-text">{{{3}}}</span><br>
 +
<span class="stdialogue-intro-char">{{{2}}}</span></p>
 +
| End = <p class="stdialogue-end">'''The End'''</p>
 +
}}
 +
</includeonly>

Latest revision as of 18:03, 23 February 2020

50px Documentation

Dialogue templates for stories.

Types:

  • Intro
  • End



Character Intro

This generates an intro card for a character. Used when the game switches screens to show a character with their name and title.
Indicated with type: Intro

Parameters:

  1. Type
  2. Character
  3. Text


Example:

  • {{STDialogue|Intro|Siren|Dragon Songstress}}


Dragon Songstress
Siren


Story Outro

This generates an outro card for the story. Used at the end, if the story specifies "The End".
Indicated with type: End

Parameters:

  1. Type


Example:

  • {{STDialogue|End}}


The End