Template:Chat and Template:Chat/Draft: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
No edit summary
 
(Created page with "<includeonly><!-- -->{{#vardefine:character|<!-- -->{{#if:{{{2|}}}<!-- -->|{{#if:{{{1|}}}<!-- -->|{{ucfirst:{{{1|}}}}}<!-- -->|{{BASEPAGENAME}}<!-- -->}}<!-- -->|{{BASEPAGENAME}}<!-- -->}}<!-- -->}}<!-- -->{{#if:{{#var:image{{#var:character}}|}}|<!-- -->|{{#vardefine:image{{#var:character}}|{{Exists|File:{{#var:character}} icon.png|{{#var:character}} icon|}}}}<!-- -->}}<!-- --><div class="chat-wrapper" style="display:flex; fle...")
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|<!--
<includeonly><!--
--><div class="chat-wrapper"><!--
-->{{#vardefine:character|<!--
  -->{{#ifeq:{{{1|}}}|Player|<!--
  -->{{#if:{{{2|}}}<!--
      --><div class="chat-player"><!--
      -->|{{#if:{{{1|}}}<!--
        --><div class="chat-player-speaker"><!--
        -->|{{ucfirst:{{{1|}}}}}<!--
            -->{{icon|Player {{#if:{{{choice|}}}|choice}}|nolink=1|notext=1|size=20}}&nbsp; '''Player:'''<!--
        -->|{{BASEPAGENAME}}<!--
        --></div><!--
        --><div class="chat-player-content">{{{2|}}}</div><!--
      --></div><!--
  -->|<!--
      -->{{#vardefine:character|<!--
        -->{{#if:{{{2|}}}<!--
            -->|{{#if:{{{1|}}}<!--
              -->|{{ucfirst:{{{1|}}}}}<!--
              -->|{{BASEPAGENAME}}<!--
            -->}}<!--
            -->|{{BASEPAGENAME}}<!--
        -->}}<!--
       -->}}<!--
       -->}}<!--
       -->{{#if:{{#var:image{{#var:character}}|}}|<!--
       -->|{{BASEPAGENAME}}<!--
        -->|{{#vardefine:image{{#var:character}}|{{Exists|File:{{#var:character}} icon.png|{{#var:character}} icon|}}}}<!--
  -->}}<!--
      -->}}<!--
-->}}<!--
      --><div class="chat-npc"><!--
-->{{#if:{{#var:image{{#var:character}}|}}|<!--
        --><div class="chat-npc-speaker"><!--
  -->|{{#vardefine:image{{#var:character}}|{{Exists|File:{{#var:character}} icon.png|{{#var:character}} icon|}}}}<!--
            -->{{icon|{{#var:image{{#var:character}}|Empty icon}}|size=25|link={{#var:character}}|notext=1}}<!--
-->}}<!--
            -->&nbsp;'''{{#var:character}}:'''<!--
--><div class="chat-wrapper" style="display:flex; flex-direction:column;"><!--
        --></div><!--
-->{{#if:{{{answer|}}}|<!--
         --><div class="chat-npc-content">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</div><!--
  --><div class="chat-player" style="display:flex; flex-direction:{{ifMobile|column|row}}; gap:0.5em;"><!--
      --><div class="chat-player-speaker" style="white-space: nowrap; min-width: 70px; color:#69ac52;"><!--
            use blank image to match left spacing naturally
         -->{{IfDesktop|{{#if:{{#var:image{{#var:character}}|}}|{{icon|Wataru icon|30}}&nbsp;}}|}}<!--
        -->'''Player:'''<!--
       --></div><!--
       --></div><!--
   -->}}<!--
      --><div class="chat-player-content">{{{answer|}}}</div><!--
  --></div><!--
  -->{{clr}}<!--
-->}}<!--
--><div class="chat-npc" style="display:flex; flex-direction:{{ifMobile|column|row}}; gap:0.5em;"><!--
   --><div class="chat-npc-speaker" style="min-width: 70px; white-space: nowrap; color:#ed7b67;"><!--
      -->{{#if:{{#var:image{{#var:character}}|}}|{{icon|{{#var:image{{#var:character}}}}|30|{{#var:character}}}}&nbsp;}}<!--
      -->'''{{#var:character}}:'''<!--
  --></div><!--
  --><div class="chat-npc-content">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</div><!--
--></div><!--
--></div><!--
--></div><!--
-->{{Namespace|main=<!--
--></includeonly>
  -->{{#if:{{{answer|}}}|[[Category:outdated chat usage]]}}<!--
-->}}<!--
-->}}</includeonly>