Template:Dialogue: Difference between revisions

Jump to navigation Jump to search
2,625 bytes added ,  17:48, 22 June 2023
Adjust examples
No edit summary
(Adjust examples)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →  {{{answer|}}} |}}
{{#if: {{{answer|}}}|{{!}}colspan=2 style="font-style:italic;"{{!}} →  {{{answer|}}} |}}
{{!}}-
{{!}}-
{{!}}{{#ifeq:{{{character|}}}|Player|<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>|[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}}{{#switch:{{{character|}}}
{{!}} id="dialogue-text" {{!}} "{{{text|}}}"
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text|}}} {{#if: {{{text2|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text2|}}}</tr>|}} {{#if: {{{text3|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="" {{!}}<nowiki/>
{{{text3|}}}</tr>|}} {{#if: {{{text4|}}}|
<tr>
{{!}}{{#switch:{{{character|}}}
  |Player=<div style="width:40px;height: 40px;margin-top: 12px;"><small>player</small></div>
  |Dark Portal=<div style="width:40px;height: 40px;margin-top: 0px; line-height: .8em;"><small>Dark Portal</small></div>
  |#default=[[File:{{{character|}}}.png|40px|link={{{character|}}}]]}}
{{!}} class="dialogue-text" style=""{{!}}<nowiki/>
{{{text4|}}}</tr>|}}
|}</includeonly><noinclude>{{dialogueBox
|}</includeonly><noinclude>{{dialogueBox
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
|{{dialogue|character=Anna|text=dialogue dialogue dialogue}}
Line 13: Line 38:
{{dialogue|character=WALL-E|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=WALL-E|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Player|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=The Forgotten|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Anna|text=dialogue 4 dialogue 4 dialogue}}
{{dialogue|character=Dark Portal|text=dialogue 4 dialogue 4 dialogue}}
}}
{{dialogue|character=Dark Portal|text=dialogue dialogue dialogue}}
{{dialogue|character=The Forgotten|text=dialogue dialogue dialogue}}
'''Hang Out Start Response:'''
* {{dialogue|character=Mirabel|text=
*Need some help? I'm your girl!
*Oh, I am definitely in. Let's go!
*You want to do some stuff? Let's do some stuff!
}}
{{labeledDialogueBox|title=Daily discussion prompt title [Added 1.3]|
  {{dialogue|character=Ariel|text=Oh, PLAYER, I was wondering... have you made friends with any of the turtles around Dazzle Beach?}}
  {{labeledDialogueBox|indent=1|isAnswer=1|character=Player|title=Example using labeledDialogueBox isAnswer=1|
    {{dialogue|character=Player|text=A dialogue template.}}
    {{dialogue|character=Ariel|text=A new dialogue template <span class="properName">'''a properName span'''</span> some more text.}}
    {{dialogue|character=Ariel|text=Another dialogue template.}}
  }}
  {{dialogue|answer=Example using answer|character=Ariel|text=Text in text param.|text2=Text in text2 param.|text3=Text in text3 param <span class="properName">'''a properName span'''</span> some more text.|text4=Text in text4 param.}}
}}</noinclude>
}}</noinclude>
moderator
27,059

edits

Navigation menu