Template:MomoTalk: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
(change class names and add relationship story button)
(transfer dark mode fixes by User:JoeXYZ)
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="MomoTalk/style.css" />
<includeonly><templatestyles src="MomoTalk/style.css" /><div class="momotalk-container">
<div class="momotalk-top mw-no-invert"><span class="momotalk-logo-text">MomoTalk</span><span class="momotalk-close">✕</span></div>
<div class="momotalk-container">
<div class="momotalk-top"><span class="momotalk-logo-text">MomoTalk</span><span class="momotalk-close">✕</span></div>
<table class="momotalk-table">
<table class="momotalk-table">
{{#fornumargs: index | value
<tr><td class="momotalk-profile-picture">[[File:Shiroko.png|50px]]</td><td><div class="momotalk-student-line-container"><div class="momotalk-student-name">Shiroko dddd</div><div class="momotalk-student-line momotalk-dialog-text">Test1</div><div class="momotalk-student-line momotalk-dialog-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div></div></td></tr>
|{{#switch:{{#var: value}}
<tr><td></td><td><div class="momotalk-sensei-line momotalk-dialog-text">Test2</div></td></tr>
<tr><td></td><td><div class="momotalk-reply-container"><div class="momotalk-reply-header">Reply</div><hr><div class="momotalk-reply-option">What's up?</div><div class="momotalk-reply-option">Hello?</div></div></td></tr>
|sensei=<tr {{#if:{{{ group{{#var:index}}|}}}|class="momotalk-student-option-{{{ group{{#var:index}} | }}}-{{{ option{{#var:index}} }}}"}}><td></td><td><div class="momotalk-sensei-line-container mw-no-invert"><div class{{=}}"momotalk-sensei-line">{{{ text{{#var:index}} }}}</div></div></td></tr>
|student-text=<tr {{#if:{{{ group{{#var:index}}|}}}|class="momotalk-student-option-{{{ group{{#var:index}} | }}}-{{{ option{{#var:index}} }}}"}}>{{#if: {{{ profile{{#var:index}}| }}} | <td class{{=}}"momotalk-profile-picture">[[File:{{{ profile{{#var:index}}| }}}.png|58px]]</td> | <td></td> }}<!--
<tr><td></td><td><div class="momotalk-relationship-story-container"><div class="momotalk-relationship-story-header">Reply</div><hr><div class="momotalk-relationship-story-option">To Shiroko's relationship story</div></div></td></tr>
--><td>{{#if: {{{ name{{#var:index}}| }}} | <div class{{=}}"momotalk-student-name">{{{ name{{#var:index}}| }}}</div> |}} <div class{{=}}"momotalk-student-line-container mw-no-invert"><div class{{=}}"momotalk-student-line">{{{ text{{#var:index}} }}}</div></div></td></tr>
|reply=<tr><td></td><td><div {{#if:{{{ group{{#var:index}}|}}}|id="momotalk-sensei-option-group-{{{ group{{#var:index}} | }}}"}} class="momotalk-reply-container"><div class="momotalk-reply-header">Reply</div><hr><!--
-->{{#loop:option_i | 1 | 4 | {{#if:{{{ option{{#var:index}}_{{#var:option_i}} | }}} | <div class="momotalk-reply-option">{{{ option{{#var:index}}_{{#var:option_i}} }}}</div> | }} }}<!--
--></div></td></tr>
|relationship=<tr><td></td><td><div class="momotalk-relationship-story-container"><div class="momotalk-relationship-story-header">Relationship Event</div><hr><div class="momotalk-relationship-story-option mw-no-invert">To {{{ name{{#var:index}} }}}'s Relationship Story</div></div></td></tr>
|student-image=<tr>{{#if: {{{ profile{{#var:index}}| }}} | <td class{{=}}"momotalk-profile-picture">[[File:{{{ profile{{#var:index}}| }}}.png|58px]]</td> | <td></td> }}<!--
--><td>{{#if: {{{ name{{#var:index}}| }}} | <div class{{=}}"momotalk-student-name">{{{ name{{#var:index}}| }}}</div> |}} <div class{{=}}"momotalk-student-line-container">[[File:{{{ file{{#var:index}} }}}.png|class=momotalk-image]]</div></td></tr>
}}
}}
</table>
</table>
</div></includeonly><noinclude>
</div>
{{MomoTalk

|1=student-text
|name1=Shiroko
|profile1=Shiroko
|text1=Sensei

|2=student-text
|text2=Can I go to your Schale office today? The Abydos Foreclosure Taskforce needs your advice on something. Ayane is busy with selling scrap metal, so she sent me to talk to you.

|3=sensei
|text3=Sure

|4=reply
|option4_1=Come to my office at 3pm
|option4_2=Meet me in my office whenever you are ready
|group4=999

|5=student-text
|name5=Shiroko
|profile5=Shiroko
|text5=See you in Schale

|6=relationship
|name6=Shiroko

|7=student-text
|name7=Miyako
|profile7=Miyako
|text7=Sensei, I got reports of a female student going into a room with a suspicious adult

|8=student-text
|text8=Do you know anything about it?

|9=reply
|option9_1=Uhhh... No?
|option9_2=Trust me! I can explain everything.
|option9_3=Uohhhhhhhhh. Shiroko is the best! And so are you, Miyako!
|group9=1

|10=student-text
|name10=Miyako
|profile10=Miyako
|group10=1
|option10=1
|text10=Ok. We will keep investigating.

|11=student-text
|name11=Miyako
|profile11=Miyako
|group11=1
|option11=2
|text11=Sensei! What are you doing with your student alone in a room?

|12=student-text
|name12=Miyako
|profile12=Miyako
|group12=1
|option12=3
|text12=Sensei! Don't say jokes like that.

|13=student-image
|name13=Serika
|profile13=Serika
|file13=Mo_Serika_01

|14=student-text
|name14=Serika
|profile14=Serika
|text14=Ooops
}}

</noinclude>

Latest revision as of 22:23, 17 May 2024

MomoTalk
Shiroko
Sensei
Can I go to your Schale office today? The Abydos Foreclosure Taskforce needs your advice on something. Ayane is busy with selling scrap metal, so she sent me to talk to you.
Sure
Reply

Come to my office at 3pm
Meet me in my office whenever you are ready
Shiroko
See you in Schale
Relationship Event

To Shiroko's Relationship Story
Miyako
Sensei, I got reports of a female student going into a room with a suspicious adult
Do you know anything about it?
Reply

Uhhh... No?
Trust me! I can explain everything.
Uohhhhhhhhh. Shiroko is the best! And so are you, Miyako!
Miyako
Ok. We will keep investigating.
Miyako
Sensei! What are you doing with your student alone in a room?
Miyako
Sensei! Don't say jokes like that.
Serika
Serika
Ooops