Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Mentors: Difference between revisions

Template page
Jalxan (talk | contribs)
No edit summary
Jalxan (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#css:
  .mw-collapsible span.mw-collapsible-toggle {
    float: left;
    padding-left: auto;
  }
}}
{{Infobox
{{Infobox
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
Line 38: Line 45:
                 }}
                 }}


| image        = {{#if: {{{imagecorp|}}}
| image        = <table class="infoboxtable"><tr style="width:350px">
                  | <div style="float: right;">[[File:{{{imagecorp}}}|64px]]{{#if: {{{imagealliance|}}}
                <td style="width:75px">[[File:64pxNull.png|64px]]</td>
                          | <br>[[File:{{{imagealliance}}}|64px]]
                <td>{{#if: {{{image|}}} | [[File:{{{image}}}|200px|link= {{#ifexist: User:{{{mentor page name|}}} | User:{{{mentor page name}}} }}|{{{mentor name}}}]]}}</td>
                        }}</div>}}{{#if: {{{image|}}}
                <td style="width:75px" valign="top">{{#if: {{{imagecorp|}}} | <div style="float: right;">[[File:{{{imagecorp}}}|64px]]<br>{{#if: {{{imagealliance|}}} | [[File:{{{imagealliance}}}|64px]]}}</div>}}</td>
                  | [[File:{{{image}}}|200px|link= {{#ifexist: User:{{{mentor page name|}}} | User:{{{mentor page name}}} }}|{{{mentor name}}}]]
                 </tr></table>
                 }}


| headerstyle  = {{#switch: {{lc: {{{mentortype|}}} }}
| headerstyle  = {{#switch: {{lc: {{{mentortype|}}} }}
Line 84: Line 90:


| label5      = Playtimes
| label5      = Playtimes
| data5        = {{#if: {{{playtimesed|}}}
| data5        = {{#if: {{{playtimesed|}}} | Everyday: {{{playtimesed}}} | <div class="mw-collapsible mw-collapsed"><br>{{#if: {{{playtimesday|}}} | Weekdays: {{{playtimesday}}}<br>}}{{#if: {{{playtimesend|}}} | Weekends: {{{playtimesend}}}<br>}}{{#if: {{{playtimesmon|}}} | Mondays: {{{playtimesmon}}}<br>}}{{#if: {{{playtimestue|}}} | Tuesdays: {{{playtimestue}}}<br>}}{{#if: {{{playtimeswed|}}} | Wednesdays: {{{playtimeswed}}}<br>}}{{#if: {{{playtimesthu|}}} | Thursdays: {{{playtimesthu}}}<br>}}{{#if: {{{playtimesfri|}}} | Fridays: {{{playtimesfri}}}<br>}}{{#if: {{{playtimessat|}}} | Saturdays: {{{playtimessat}}}<br>}}{{#if: {{{playtimessun|}}} | Sundays: {{{playtimessun}}}<br>}}</div>}}
                  | {{{playtimesed}}}
                  | {{#if: {{{playtimes|}}}
                    | <div class="mw-collapsible mw-collapsed"><br>{{{playtimes}}}</div>
                    }}
                }}


| label6      = Biography
| label6      = Biography
Line 100: Line 101:
| data8        = {{{contact|}}}
| data8        = {{{contact|}}}


| label9      = Language<br>
| label9      = Language
| data9        = {{{language|}}}
| data9        = {{{language|}}}


| below        = {{#switch: {{lc: {{{mentortype|}}} }}
| below        = {{#switch: {{lc: {{{mentortype|}}} }}
                  | mentor = Mentor
                   | manager = [[Mentor Department|Mentor manager]]
                   | manager = [[Mentor Department|Mentor manager]]
                   | officer = [[Mentor Department|Mentor officer]]
                   | officer = [[Mentor Department|Mentor officer]]