Template:LabeledDialogueBox: Difference between revisions

Add ability to specify character for title, will show thumbnail
(Created page with "{|class="wikitable mw-collapsible mw-collapsed" style="width:60%; border-radius:5px;" | style="border-radius: 5px; padding-left: 10px;" | {{{title|''Dialogue''}}} |- |{{{1|}}} |}")
 
(Add ability to specify character for title, will show thumbnail)
Line 1: Line 1:
{|class="wikitable mw-collapsible mw-collapsed" style="width:60%; border-radius:5px;"
{|class="wikitable mw-collapsible mw-collapsed" style="width:60%; border-radius:5px;"
| style="border-radius: 5px; padding-left: 10px;" | {{{title|''Dialogue''}}}
|{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px]]}} {{{title|''Dialogue''}}}
|-
|-
|{{{1|}}}
|{{{1|}}}
|}
|}
{{#if: {{{character|}}} character exists!}}
<noinclude>
{{labeledDialogueBox|character=Player|title=What's on your mind?|
{{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=No.|text=How cruel!}}
  {{labeledDialogueBox|character=Mother Gothel|title=How cruel!|
  {{dialogue|character=Mother Gothel|text=How cruel!}}
  {{dialogue|character=Player|text=Yep, I'm the worst.}}
  }}
}}
{{labeledDialogueBox|character=Anna|title=What's your favorite food?|
{{dialogue|character=Anna|text=What's your favorite food?}}
{{dialogue|character=WALL-E|answer=Sandwiches|text=Whoopee!}}
}}
{{labeledDialogueBox|title=What's your favorite food?|
{{dialogue|character=Anna|text=What's your favorite food?}}
{{dialogue|character=WALL-E|answer=Sandwiches|text=Whoopee!}}
}}
{{labeledDialogueBox|
{{dialogue|character=Anna|text=What's your favorite food?}}
{{dialogue|character=WALL-E|answer=Sandwiches|text=Whoopee!}}
}}
</noinclude>
moderator
26,807

edits