Template:Dialogue: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Add text2, text3, text4 params. Remove surrounding quotes. Remove id=dialogue-text - was causing italics on character dialogue. Leave italics on player answers for now. New testing text)
(Add switch for Dark Portal)
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;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#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="" {{!}}{{{text|}}} {{#if: {{{text2|}}}|
{{!}} class="" {{!}}{{{text|}}} {{#if: {{{text2|}}}|
<tr>
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#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="" {{!}}{{{text2|}}}</tr>|}} {{#if: {{{text3|}}}|
{{!}} class="" {{!}}{{{text2|}}}</tr>|}} {{#if: {{{text3|}}}|
<tr>
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#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="" {{!}}{{{text3|}}}</tr>|}} {{#if: {{{text4|}}}|
{{!}} class="" {{!}}{{{text3|}}}</tr>|}} {{#if: {{{text4|}}}|
<tr>
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#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=""{{!}}{{{text4|}}}</tr>|}}
{{!}} class="dialogue-text" style=""{{!}}{{{text4|}}}</tr>|}}
|}</includeonly><noinclude>{{dialogueBox
|}</includeonly><noinclude>{{dialogueBox
Line 23: Line 35:
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|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 4 dialogue 4 dialogue}}


{{labeledDialogueBox|title=Do you have anything on your mind? [Added 1.3]|
{{labeledDialogueBox|title=Do you have anything on your mind? [Added 1.3]|

Revision as of 17:40, 8 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
Anna.png dialogue 4 dialogue 4 dialogue
Dark Portal
dialogue 4 dialogue 4 dialogue
Dark Portal
dialogue 4 dialogue 4 dialogue
Do you have anything on your mind? [Added 1.3]
Ariel.png Oh, Player, I was wondering... have you made friends with any of the turtles around Dazzle Beach?
→  It seems to take a lot of patience.
Ariel.png Well, they are very shy. But if you wait quietly for them, they'll poke their heads out of their shells...
Ariel.png And then you can give them some Seaweed and make a new friend!
→   Remind me...
Ariel.png The turtles around here are very shy. When they see someone they don't know, they head right back into their shells. You have to wait until they come back out.
Ariel.png Then you can give them some Seaweed to eat.
Ariel.png And that's how you make a new friend!
→  I have no idea. Please help me.
Ariel.png Oh, don't worry. It's really easy. You just need to remember a few things.
Ariel.png The turtles around here are very shy. When they see someone they don't know, they head right back into their shells. You have to wait until they come back out.
Ariel.png Then you can give them some Seaweed to eat.
Ariel.png And that's how you make a new friend!