Template:Dialogue2: Difference between revisions

From Dreamlight Valley Wiki
Jump to navigation Jump to search
(Didn't make much progress here - still can't figure out how to do multiple thumbnails for multiple rows on a nested response to an answer.)
No edit summary
Line 3: Line 3:
{{!}}-
{{!}}-
{{!}}{{#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|}}}{{{response2|}}}{{{response3|}}}
{{!}} id="dialogue-text" {{!}}{{{text|}}}
{{#if: {{{text2|}}} |
{{!}}-
{{!}}{{#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|}}} | }}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{dialogue2|character=Player|text=dialogue2 test2 test3}}
{{dialogue2|character=Player|text=dialogue2 test2 test3}}
Line 12: Line 15:
{{dialogue2|character=Player | answer=Maybe| text=ResponseToMaybeFirst}}
{{dialogue2|character=Player | answer=Maybe| text=ResponseToMaybeFirst}}
{{dialogue2|character=Player | text=ResponseToMaybeSecond | answer=Maybe }}
{{dialogue2|character=Player | text=ResponseToMaybeSecond | answer=Maybe }}
{{dialogue2 |character=Merlin| text=ResponseToNo | response2=AnotherPage | response3="Yet another page"|answer=No?}}
{{dialogue2|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"}}
{{dialogue2| character=Mickey Mouse|text=test}}
{{dialogue2| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue2| character=Mickey Mouse|text=A different line}}
{{dialogue2| character=Scar|text=One lengthy line...}}
{{dialogue2| character=Scar|text=One lengthy line...}}


Line 23: Line 27:
{{dialogue|character=Player | answer=Maybe| text=ResponseToMaybeFirst}}
{{dialogue|character=Player | answer=Maybe| text=ResponseToMaybeFirst}}
{{dialogue|character=Player | text=ResponseToMaybeSecond | answer=Maybe }}
{{dialogue|character=Player | text=ResponseToMaybeSecond | answer=Maybe }}
{{dialogue |character=Merlin| text=ResponseToNo | response2=AnotherPage |answer=No?}}
{{dialogue|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"}}
{{dialogue| character=Mickey Mouse|text=dialogue}}
{{dialogue| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue| character=Mickey Mouse|text=A different line}}
{{dialogue| character=Scar|text=One lengthy line...}}
{{dialogue| character=Scar|text=One lengthy line...}}
</noinclude>
</noinclude>

Revision as of 20:20, 22 December 2022


player
dialogue2 test2 test3
Stitch.png dialogue2
→  Yes
Anna.png ResponseToYes
→  Maybe
player
ResponseToMaybeFirst
→  Maybe
player
ResponseToMaybeSecond
→  No?
Merlin.png ResponseToNo
Merlin.png AnotherPageOfResponseToNo
Mickey Mouse.png test1
Mickey Mouse.png test2
Mickey Mouse.png A different line
Scar.png One lengthy line...


COMPARE TO DIALOGUE

player

dialogue test2 test3

Stitch.png

dialogue

→  Yes
Anna.png

ResponseToYes

→  Maybe
player

ResponseToMaybeFirst

→  Maybe
player

ResponseToMaybeSecond

→  No?
Merlin.png ResponseToNo
Merlin.png AnotherPageOfResponseToNo
Merlin.png "Yet another page"
Mickey Mouse.png test1
Mickey Mouse.png test2
Mickey Mouse.png

A different line

Scar.png

One lengthy line...