Template:Dialogue: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
No edit summary
(Adjust examples)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →  {{{answer|}}} |}}
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →  {{{answer|}}} |}}
{{!}}-
{{!}}-
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#switch:{{{character|}}}
{{!}} id="dialogue-text" {{!}} "{{{text|}}}"
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text|}}} {{#if: {{{text2|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text2|}}}</tr>|}} {{#if: {{{text3|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text3|}}}</tr>|}} {{#if: {{{text4|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="dialogue-text" style=""{{!}}<nowiki/>
{{{text4|}}}</tr>|}}
|}</includeonly><noinclude>{{dialogueBox
|}</includeonly><noinclude>{{dialogueBox
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
Line 13: Line 38:
{{dialogue|character=WALL-E|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=WALL-E|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=The Forgotten|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Dark Portal|text=dialogue 4 dialogue 4 dialogue}}
}}
{{dialogue|character=Dark Portal|text=dialogue dialogue dialogue}}
{{dialogue|character=The Forgotten|text=dialogue dialogue dialogue}}
'''Hang Out Start Response:'''
* {{dialogue|character=Mirabel|text=
*Need some help? I'm your girl!
*Oh, I am definitely in. Let's go!
*You want to do some stuff? Let's do some stuff!
}}
{{labeledDialogueBox|title=Daily discussion prompt title [Added 1.3]|
  {{dialogue|character=Ariel|text=Oh, PLAYER, I was wondering... have you made friends with any of the turtles around Dazzle Beach?}}
  {{labeledDialogueBox|indent=1|isAnswer=1|character=Player|title=Example using labeledDialogueBox isAnswer=1|
    {{dialogue|character=Player|text=A dialogue template.}}
    {{dialogue|character=Ariel|text=A new dialogue template <span class="properName">'''a properName span'''</span> some more text.}}
    {{dialogue|character=Ariel|text=Another dialogue template.}}
  }}
  {{dialogue|answer=Example using answer|character=Ariel|text=Text in text param.|text2=Text in text2 param.|text3=Text in text3 param <span class="properName">'''a properName span'''</span> some more text.|text4=Text in text4 param.}}
}}</noinclude>
}}</noinclude>

Latest revision as of 17:48, 22 June 2023

Dialogue
Anna.png

dialogue dialogue dialogue

Elsa.png

dialogue dialogue dialogue 2

Goofy.png

dialogue dialogue dialogue 3

Mickey Mouse.png

dialogue dialogue dialogue 4

→  What?
Anna.png

dialogue 2 dialogue 2

→  No?
Merlin.png

dialogue 3 dialogue 3

WALL-E.png

dialogue 4 dialogue 4 dialogue

player

dialogue 4 dialogue 4 dialogue

The Forgotten.png

dialogue 4 dialogue 4 dialogue

Anna.png

dialogue 4 dialogue 4 dialogue

Dark Portal

dialogue 4 dialogue 4 dialogue

Dark Portal

dialogue dialogue dialogue

The Forgotten.png

dialogue dialogue dialogue

Hang Out Start Response:

Mirabel.png
  • Need some help? I'm your girl!
  • Oh, I am definitely in. Let's go!
  • You want to do some stuff? Let's do some stuff!
Daily discussion prompt title [Added 1.3]
Ariel.png

Oh, PLAYER, I was wondering... have you made friends with any of the turtles around Dazzle Beach?

→   Example using labeledDialogueBox isAnswer=1
player

A dialogue template.

Ariel.png

A new dialogue template a properName span some more text.

Ariel.png

Another dialogue template.

→  Example using answer
Ariel.png Text in text param.
Ariel.png Text in text2 param.
Ariel.png Text in text3 param a properName span some more text.
Ariel.png Text in text4 param.