Template:Dialogue2: Difference between revisions

544 bytes added ,  20:46, 5 January 2023
Adding back text3 param, and a text4. Still causes single line dialogue to be spacey, but currently only using this template for responses with multi line responses
(add id=dialogue-text to text2 line, adds italicization)
(Adding back text3 param, and a text4. Still causes single line dialogue to be spacey, but currently only using this template for responses with multi line responses)
Line 8: Line 8:
{{!}}{{#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" style=""{{!}}{{{text2|}}} |}}
{{!}} id="dialogue-text" 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" style=""{{!}}{{{text3|}}} |}}
{{#if: {{{text4|}}}|
{{!}}-
{{!}}{{#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" style=""{{!}}{{{text4|}}} |}}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
Line 16: Line 24:
{{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|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"}}
{{dialogue2|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"|text4=...}}
{{dialogue2| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue2| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue2| character=Mickey Mouse|text=A different line}}
{{dialogue2| character=Mickey Mouse|text=A different line}}
Line 35: Line 43:
{{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|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"}}
{{dialogue|answer=No?|character=Merlin|text=ResponseToNo|text2=AnotherPageOfResponseToNo|text3="Yet another page"|text4=...}}
{{dialogue| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue| character=Mickey Mouse|text=test1|text2=test2}}
{{dialogue| character=Mickey Mouse|text=A different line}}
{{dialogue| character=Mickey Mouse|text=A different line}}
{{dialogue| character=Scar|text=One lengthy line...}}
{{dialogue| character=Scar|text=One lengthy line...}}
</noinclude>
</noinclude>
moderator
27,098

edits