Template:Dialogue: Difference between revisions

2,190 bytes added ,  20:55, 15 March 2023
Add text2, text3, text4 params. Remove surrounding quotes. Remove id=dialogue-text - was causing italics on character dialogue. Leave italics on player answers for now. New testing text
No edit summary
(Add text2, text3, text4 params. Remove surrounding quotes. Remove id=dialogue-text - was causing italics on character dialogue. Leave italics on player answers for now. New testing text)
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|}}}"
{{!}} class="" {{!}}{{{text|}}} {{#if: {{{text2|}}}|
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}{{{text2|}}}</tr>|}} {{#if: {{{text3|}}}|
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}{{{text3|}}}</tr>|}} {{#if: {{{text4|}}}|
<tr>
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="dialogue-text" style=""{{!}}{{{text4|}}}</tr>|}}
|}</includeonly><noinclude>{{dialogueBox
|}</includeonly><noinclude>{{dialogueBox
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
Line 14: Line 23:
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
}}</noinclude>
}}
 
{{labeledDialogueBox|title=Do you have anything on your mind? [Added 1.3]|
  {{dialogue|character=Ariel|text=Oh, '''''Player''''', I was wondering... have you made friends with any of the turtles around Dazzle Beach?}}
  {{dialogue|answer=It seems to take a lot of patience.|character=Ariel|text=Well, they are very shy. But if you wait quietly for them, they'll poke their heads out of their shells...|text2=And then you can give them some <span class="properName">'''Seaweed'''</span> and make a new friend!}}
  {{labeledDialogueBox|indent=1|isAnswer=1|character=Player|title=Remind me...|
    {{dialogue|character=Ariel|text=The turtles around here are very shy. When they see someone they don't know, they head right back into their shells. You have to wait until they come back out.}}
    {{dialogue|character=Ariel|text=Then you can give them some <span class="properName">'''Seaweed'''</span> to eat.}}
    {{dialogue|character=Ariel|text=And that's how you make a new friend!}}
  }}
  {{dialogue|answer=I have no idea. Please help me.|character=Ariel|text=Oh, don't worry. It's really easy. You just need to remember a few things.|text2=The turtles around here are very shy. When they see someone they don't know, they head right back into their shells. You have to wait until they come back out.|text3=Then you can give them some <span class="properName">'''Seaweed'''</span> to eat.|text4=And that's how you make a new friend!}}
}}
</noinclude>
moderator
26,624

edits