Template:MomoTalk: Difference between revisions

3,192 bytes added ,  1 month ago
transfer dark mode fixes by User:JoeXYZ
(WIP)
 
(transfer dark mode fixes by User:JoeXYZ)
 
(26 intermediate revisions by the same user not shown)
Line 1:
<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">
{{#fornumargs: index | value
<tr><td>[[File:Shiroko.png|100px]]</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></td></tr>
|{{#switch:{{#var: value}}
<tr><td></td><td><div class="momotalk-sensei-line momotalk-dialog-text">Test2</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> }}<!--
--><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>
</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>