Template:LabeledDialogueBox: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Add ability to specify character for title, will show thumbnail)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|class="wikitable mw-collapsible mw-collapsed" style="width:79%; border-radius:5px; {{#if:{{{indent|}}}|margin-left:50px;}};"|}}"
|{{#if: {{{isAnswer|}}}| →&nbsp;&nbsp; |}}{{#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''}}}
|-
|{{{1|}}}
|}<noinclude>
Almost there, vertical padding issues still for Player:
{|class="wikitable mw-collapsible mw-collapsed" style="width:60%; border-radius:5px;"
{|class="wikitable mw-collapsible mw-collapsed" style="width:60%; border-radius:5px;"
|{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><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''}}}
|-
|-
|{{{1|}}}
|{{{1|}}}
|}
|}


{{#if: {{{character|}}} character exists!}}


<noinclude>
{{labeledDialogueBox|character=Player|indent=1|title=What's on your mind?|
 
{{labeledDialogueBox|character=Player|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.}}
Line 32: Line 36:
{{dialogue|character=Anna|text=What's your favorite food?}}
{{dialogue|character=Anna|text=What's your favorite food?}}
{{dialogue|character=WALL-E|answer=Sandwiches|text=Whoopee!}}
{{dialogue|character=WALL-E|answer=Sandwiches|text=Whoopee!}}
}}
{| class="wikitable"
|+ 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
|<!--
-->
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
! Why do you like him? &nbsp;
|-
| [[File:Minnie Mouse.png|40px]]
| 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
|
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%; margin:0;"
! 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.
|}
|}
|}
BEFORE
{{labeledDialogueBox|title=How are you today?|
{{dialogue|character=Player|text=How are you today?}}
{{dialogue|character=Maui|text=I can tell what you're thinking. How does he have such great hair? It's kind of my thing.}}
{{dialogue|answer=That's EXACTLY what I was thinking.|character=Maui|text=See! And to answer your obvious next question...}}
  {{labeledDialogueBox|indent=1|character=Maui|title=See! And to answer your obvious next question...|
  {{dialogue|character=Maui|text=See! And to answer your obvious next question...}}
  {{dialogue|character=Maui|text=Yes, I DO wake up looking this good. I don't think your human brains could handle me looking any better.}}
  {{dialogue|answer=Actually, your hair is a bit frizzy today...|character=Maui|text=What?! Too much salt spray? I've er....gotta go. Bye!}}
  {{dialogue|answer=Keep doing what you're doing!|character=Maui|text=TODOResponseKeepDoing}}
  }}
{{dialogue|answer=That's NOT what I was thinking. At. All.|character=Maui|text=Oh? Then you were admiring my tattoos.}}
  {{labeledDialogueBox|indent=1|character=Maui|title=Oh? Then you were admiring my tattoos.|
  {{dialogue|character=Maui|text=Oh? Then you were admiring my tattoos.}}
  {{dialogue|character=Player|text=I was thinking...}}
  {{dialogue|answer=Your hair's a bit flat today.|character=Maui|text=What?! How did that happen? Too much salt spray? I've, er... gotta go. Bye!}}
  {{dialogue|answer=You're too full of yourself.|character=Maui|text=Hey, it's hard being this perfect all the time. Maybe that's my flaw... I'm too perfect.}}
  {{dialogue2|answer=Just keep doing what you're doing!|character=Maui|text=Right! Why improve on perfection? YOU are smart.|text2=It's always great talking to you, '''''Player'''''.}}
  }}
}}
AFTER
{{labeledDialogueBox|title=How are you today?|
{{dialogue|character=Player|text=How are you today?}}
{{dialogue|character=Maui|text=I can tell what you're thinking. How does he have such great hair? It's kind of my thing.}}
  {{labeledDialogueBox|isAnswer=1|indent=1|character=Player|title=That's EXACTLY what I was thinking.|
  {{dialogue|character=Player|text=That's EXACTLY what I was thinking.}}
  {{dialogue|character=Maui|text=See! And to answer your obvious next question...}}
  {{dialogue|character=Maui|text=Yes, I DO wake up looking this good. I don't think your human brains could handle me looking any better.}}
  {{dialogue|answer=Actually, your hair is a bit frizzy today...|character=Maui|text=What?! Too much salt spray? I've er....gotta go. Bye!}}
  {{dialogue|answer=Keep doing what you're doing!|character=Maui|text=TODOResponseKeepDoing}}
  }}
  {{labeledDialogueBox|isAnswer=1|indent=1|character=Player|title=That's NOT what I was thinking. At. All.|
  {{dialogue|character=Player|text=That's NOT what I was thinking. At. All.}}
  {{dialogue|character=Maui|text=Oh? Then you were admiring my tattoos.}}
  {{dialogue|character=Player|text=I was thinking...}}
  {{dialogue|answer=Your hair's a bit flat today.|character=Maui|text=What?! How did that happen? Too much salt spray? I've, er... gotta go. Bye!}}
  {{dialogue|answer=You're too full of yourself.|character=Maui|text=Hey, it's hard being this perfect all the time. Maybe that's my flaw... I'm too perfect.}}
  {{dialogue2|answer=Just keep doing what you're doing!|character=Maui|text=Right! Why improve on perfection? YOU are smart.|text2=It's always great talking to you, '''''Player'''''.}}
  }}
}}
}}


</noinclude>
</noinclude>
moderator
26,813

edits

Navigation menu