Template:MomoTalk: Difference between revisions

Jump to navigation Jump to search
m
adjust image size so that height of profile equals student name + 1 line of student text
m (should not have used id)
m (adjust image size so that height of profile equals student name + 1 line of student text)
Line 5:
|{{#switch:{{#var: value}}
|sensei=<tr><td></td><td><div class="momotalk-sensei-line-container"><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|50px58px]]</td> | <td></td> }}<!--
--><td>{{#if: {{{ name{{#var:index}}| }}} | <div class{{=}}"momotalk-student-name">{{{ name{{#var:index}}| }}}</div> |}} <div class{{=}}"momotalk-student-line-container"><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><!--
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu