Template:Dialogue2: Difference between revisions

Jump to navigation Jump to search
No edit summary
(2 lines of dialogue on response with thumbnail images working, param = text2)
Line 1: Line 1:
<includeonly>{|style="{{#if:{{{answer|}}}|margin-left:50px}};"
<includeonly>{|style="{{#if:{{{answer|}}}|margin-left:50px;}};"
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →&nbsp;&nbsp;{{{answer|}}} |}}
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →&nbsp;&nbsp;{{{answer|}}} |}}
{{!}}-
{{!}}-
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} id="dialogue-text" {{!}}{{{text|}}}
{{!}} id="dialogue-text" style=""{{!}}{{{text|}}}
{{#if: {{{text2|}}} |  
{{#if: {{{text2|}}}|
{{!}}-
{{!}}-
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} id="dialogue-text" {{!}}{{{text2|}}} | }}
{{!}} style=""{{!}}{{{text2|}}} |}}
{{#if: {{{text3|}}} |
{{!}}-
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} id="dialogue-text" {{!}}{{{text3|}}} | }}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{dialogue2|character=Player|text=dialogue2 test2 test3}}
{{dialogue2|character=Player|text=dialogue2 test2 test3}}
{{dialogue2|character=Stitch | text=dialogue2}}
{{dialogue2|character=Stitch | text=dialogue2}}