Template:LabeledDialogueBox: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
m (No real changes, just experimenting with alternate formats and learning about table templating)
(Add indent param - only 1 level option though, not sure how to use variables for mathematical expressions)
Line 1: Line 1:
{|class="wikitable mw-collapsible mw-collapsed" style="width:80%; border-radius:5px;"
{|class="wikitable mw-collapsible mw-collapsed" style="width:80%; border-radius:5px; {{#if:{{{indent|}}}|margin-left:50px;}};"|}}"
|{{#if: {{{character|}}} | {{#ifeq:{{{character|}}}|Player|<!--div style="width:40px;height: 40px;margin-top: 12px;float:left;"><small>player</small></div-->|[[File:{{{character|}}}.png|40px]]}}  | }} {{{title|''Dialogue''}}}
|{{#if: {{{character|}}} | {{#ifeq:{{{character|}}}|Player|<!--div style="width:40px;height: 40px;margin-top: 12px;float:left;"><small>player</small></div-->|[[File:{{{character|}}}.png|40px]]}}  | }} {{{title|''Dialogue''}}}
|-
|-
Line 12: Line 12:
|}
|}


{{labeledDialogueBox|character=Player|title=What's on your mind?|
{{labeledDialogueBox|character=Player|indent=1|title=What's on your mind?|
{{dialogue|character=Mother Gothel|text=Oh, nothing. Will you help?}}
{{dialogue|character=Mother Gothel|text=Oh, nothing. Will you help?}}
{{dialogue|character=Mother Gothel|answer=Yes.|text=You're a doll.}}
{{dialogue|character=Mother Gothel|answer=Yes.|text=You're a doll.}}
{{dialogue|character=Mother Gothel|answer=No.|text=How cruel!}}
{{dialogue|character=Mother Gothel|answer=No.|text=How cruel!}}
   {{labeledDialogueBox|character=Mother Gothel|title=How cruel!|
   {{labeledDialogueBox|character=Mother Gothel|indent=true|title=How cruel!|
   {{dialogue|character=Mother Gothel|text=How cruel!}}
   {{dialogue|character=Mother Gothel|text=How cruel!}}
   {{dialogue|character=Player|text=Yep, I'm the worst.}}
   {{dialogue|character=Player|text=Yep, I'm the worst.}}

Revision as of 22:51, 6 January 2023

Dialogue

Almost there, vertical padding issues still for Player:

Dialogue
What's on your mind?
Mother Gothel.png

Oh, nothing. Will you help?

→  Yes.
Mother Gothel.png

You're a doll.

→  No.
Mother Gothel.png

How cruel!

Mother Gothel.png How cruel!
Mother Gothel.png

How cruel!

player

Yep, I'm the worst.

Anna.png What's your favorite food?
Anna.png

What's your favorite food?

→  Sandwiches
WALL-E.png

Whoopee!

What's your favorite food?
Anna.png

What's your favorite food?

→  Sandwiches
WALL-E.png

Whoopee!

Dialogue
Anna.png

What's your favorite food?

→  Sandwiches
WALL-E.png

Whoopee!


So you and Mickey...
Player So you and Mickey...
Minnie Mouse Isn't Mickey the sweetest? I'm so happy that we're together.
Player
Why do you like him?  
Minnie Mouse.png Well, he cares about everyone, and he's so optimistic. And he always makes me laugh.
Minnie Mouse What do you look for in a partner?
Player
Player What do you look for in a partner?
Humor. TODOResponsetoAnswerHumor.
Intelligence. TODOResponsetoAnswerIntelligence.
Money. Oh. That's never been very important to us, but I hope you find whatever makes you happy.