Difference between revisions of "Template:STDialogue"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
(#css → #widget/css)
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>
<includeonly>
+
<includeonly>{{#widget:Template/STDialogue/css}}
 
{{#switch: {{{1}}}
 
{{#switch: {{{1}}}
| Intro = <p style="text-align:center;border:rgba(0,0,0,.3) 5px solid;border-left:none;border-right:none;background:rgba(240,240,240,.9);padding:.5em;"><span style="font-weight:bold;font-size:smaller">{{{3}}}</span><br>
+
| Intro = <p class="stdialogue-intro"><span class="stdialogue-intro-text">{{{3}}}</span><br>
<span style="color: #fff;text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;">{{{2}}}</span></p>
+
<span class="stdialogue-intro-char">{{{2}}}</span></p>
| Aside = <p style="margin:auto;text-align:center;width: 75%">''{{{2}}}''</p>
+
| End = <p class="stdialogue-end">'''The End'''</p>
| Scene = <hr>
 
| End = <p style="text-align:center;background:#000;color:#fff;padding:.5em;">'''The End'''</p>
 
| Line = <p style="display:flex;flex-direction:row;justify-content:flex-start;align-items:center"><span>{{ST|{{{2}}}}}</span><span style="padding-left:.5em;">{{{3}}}</span></p>
 
 
}}
 
}}
 
</includeonly>
 
</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