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
 
(53 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="infoboxtable"
{{#css:
|-
  .mw-collapsible span.mw-collapsible-toggle {
! colspan="2" class="infoboxnameorange" | [[{{{mentor page name}}}|{{{mentor name}}}]]
    float: left;
|- style="text-align:center"
    padding-left: auto;
| colspan="2" style="padding:0.5em;" | [[{{{image}}}|{{#if: {{{size|}}} | {{{size}}}|250px}}|link={{{mentor page name}}}]]
  }
|- style="text-align:center"
}}
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }}
 
|-
{{Infobox
! colspan="2" class="infoboxdescriptionorange" | Details
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
|-
| bodystyle    = width: 26em;
{{#if: {{{time|}}} | {{!}} width=80 {{!}} <div>Experience</div> {{!!}} {{{time}}} }}
 
|-
| title        =
{{#if: {{{skillpoints|}}} | {{!}} <div>Skillpoints</div> {{!!}} {{{skillpoints}}} }}
| above        = {{#if: {{{mentor name|}}}
|-
                  | {{#ifexist: User:{{{mentor page name|}}}
{{#if: {{{skillset|}}} | {{!}} <div>Skillset</div> {{!!}} <div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;">
                    | [[User:{{{mentor page name}}}|<span {{#ifeq: {{lc: {{{mentortype}}} }}| officer | style="color: #FFD200;"}}>{{{mentor name}}}</span>]]
<div style="font-weight:bold;line-height:1.6;">Skillset</div>
                    | {{{mentor name}}}
<div class="mw-collapsible-content">{{{skillset}}}</div></div> }}
                    }}
|-
                  | Mentor name?
{{#if: {{{playtimes        |}}} | {{!}} <div>Playtimes</div> {{!!}} {{{playtimes}}} }}
                }}
|-
| abovestyle  = {{#switch: {{lc: {{{mentortype|}}} }}
{{#if: {{{biography        |}}} | {{!}} <div>Biography</div> {{!!}} <div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;">
                  | #default = background: #172489;
<div style="font-weight:bold;line-height:1.6;">Skillset</div>
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
<div class="mw-collapsible-content">{{{biography}}}</div></div> }}
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
|-
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
{{#if: {{{campus        |}}} | {{!}} <div>Primary Campus</div> {{!!}} {{{Campus}}} }}
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
|-
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
{{#if: {{{contact        |}}} | {{!}} <div>Contact</div> {{!!}} {{{contact}}} }}
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
|-
                              color: lightgrey;
{{#if: {{{language        |}}} | {{!}} <div>Language</div> {{!!}} {{{language}}} }}
                  | manager = background: #3DAC00;
|}{{InfoboxCSS}}</includeonly>#invoke:collapsible list<noinclude>
                              background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                              color: lightgrey;
                  | officer = background: #C1C100;
                              background-image: -moz-linear-gradient(center top, #C1C100 0%, #919100 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#C1C100), color-stop(100%,#919100));
                              background-image: -webkit-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: -o-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: -ms-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: linear-gradient(to bottom, #C1C100 0%, #919100 100%);
                              color: lightgrey;
                }}
 
| image        = <table class="infoboxtable"><tr style="width:350px">
                <td style="width:75px">[[File:64pxNull.png|64px]]</td>
                <td>{{#if: {{{image|}}} | [[File:{{{image}}}|200px|link= {{#ifexist: User:{{{mentor page name|}}} | User:{{{mentor page name}}} }}|{{{mentor name}}}]]}}</td>
                <td style="width:75px" valign="top">{{#if: {{{imagecorp|}}} | <div style="float: right;">[[File:{{{imagecorp}}}|64px]]<br>{{#if: {{{imagealliance|}}} | [[File:{{{imagealliance}}}|64px]]}}</div>}}</td>
                </tr></table>
 
| headerstyle  = {{#switch: {{lc: {{{mentortype|}}} }}
                  | #default = background: #172489;
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
                              color: white;
                  | manager = background: #3DAC00;
                              background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
                              color: white;
                  | officer = background: #C1C100;
                              background-image: -moz-linear-gradient(center top, #C1C100 0%, #919100 100%);
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#C1C100), color-stop(100%,#919100));
                              background-image: -webkit-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: -o-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: -ms-linear-gradient(top, #C1C100 0%, #919100 100%);
                              background-image: linear-gradient(to bottom, #C1C100 0%, #919100 100%);
                              color: white;
                }}
 
| header1      = Details
 
| label2      = Experience
| data2        = {{{time|}}}
 
| label3      = Skillpoints
| data3        = {{{skillpoints|}}}
 
| label4      = Skillset
| data4        = {{#if: {{{skillset|}}}|<div class="mw-collapsible mw-collapsed"><br>{{{skillset}}}</div>}}
 
| label5      = Playtimes
| 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>}}
 
| label6      = Biography
| data6        = {{#if: {{{biography|}}}|<div class="mw-collapsible mw-collapsed"><br>{{{biography}}}</div>}}
 
| label7      = Primary community
| data7        = {{{primary community|}}}
 
| label8      = Contact
| data8        = {{{contact|}}}
 
| label9      = Language
| data9        = {{{language|}}}
 
| below        = {{#switch: {{lc: {{{mentortype|}}} }}
                  | mentor = Mentor
                  | manager = [[Mentor Department|Mentor manager]]
                  | officer = [[Mentor Department|Mentor officer]]
                }}
 
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>