Template:LabeledDialogueBox: Difference between revisions

Jump to navigation Jump to search
(Add ability to specify character for title, will show thumbnail)
(Undo, image still doesn't work if you don't provide character name, and don't want to force widespread changes.)
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;"
|{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px]]}} {{{title|''Dialogue''}}}
| {{{title|''Dialogue''}}}
|-
|-
|{{{1|}}}
|{{{1|}}}
|}
|}


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


<noinclude>
<noinclude>
Does not work yet:
{|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''}}}
|-
|{{{1|}}}
|}


{{labeledDialogueBox|character=Player|title=What's on your mind?|
{{labeledDialogueBox|character=Player|title=What's on your mind?|