Template:Chat and Template:Chat/Draft: Difference between pages
(Difference between pages)
Jump to navigation
Jump to search
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 | <includeonly><!-- | ||
-->{{#vardefine:character|<!-- | |||
-->{{#if:{{{2|}}}<!-- | |||
-->|{{#if:{{{1|}}}<!-- | |||
-->|{{ucfirst:{{{1|}}}}}<!-- | |||
-->|{{BASEPAGENAME}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
-->{{#if:{{#var:image{{#var:character}}|}}|<!-- | -->|{{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; flex-direction:column;"><!-- | |||
-->{{#if:{{{answer|}}}|<!-- | |||
--> | --><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}} }}|}}<!-- | |||
-->'''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}}}} }}<!-- | |||
-->'''{{#var:character}}:'''<!-- | |||
--></div><!-- | |||
--><div class="chat-npc-content">{{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}</div><!-- | |||
--></div><!-- | |||
--></div><!-- | --></div><!-- | ||
--> | --></includeonly> | ||