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
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style=display:inline-table>
{{#css:
{|
  .mw-collapsible span.mw-collapsible-toggle {
|-
    float: left;
|  
    padding-left: auto;
{| class="infoboxmentortable" style="border: solid red;"
  }
|-
}}
! colspan="2" class="infoboxmentornamebluewhite" | [[{{{mentor page name}}}|{{{mentor name}}}]]
 
|- style="text-align:center"
{{Infobox
| colspan="2" style="padding:0.0em;" |
| name        = <!-- left empty, to NOT have edit links at the bottom of the box.-->
{| style="width: 100%; text-align: center; border: solid red;
| bodystyle    = width: 26em;
|-
 
| scope="col" style="width: 65px; border: solid red;" |
| title        =  
| scope="col" style="width: 200px; border: solid red;" | [[{{{image}}}|200px|link={{{mentor page name}}}]]
| above        = {{#if: {{{mentor name|}}}
| scope="col" style="width: 65px; border: solid red;" | [[{{{imagecorp}}}|64px]]<br>[[{{{imagealliance}}}|64px]]
                  | {{#ifexist: User:{{{mentor page name|}}}
|}
                    | [[User:{{{mentor page name}}}|<span {{#ifeq: {{lc: {{{mentortype}}} }}| officer | style="color: #FFD200;"}}>{{{mentor name}}}</span>]]
|- style="text-align:center; border: solid red;"
                    | {{{mentor name}}}
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }}
                    }}
|-
                  | Mentor name?
! colspan="2" class="infoboxmentordescriptionbluewhite" | Details
                }}
|-
| abovestyle  = {{#switch: {{lc: {{{mentortype|}}} }}
! colspan="2" style="border: solid red; width:100%;" |
                  | #default = background: #172489;
{| style="height:180px; margin-left: auto; margin-right: auto; width:100%; border: none; background:#000000; text-align:center; style="vertical-align: top; border: solid red;"
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
|- style="height:0px"
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#172489), color-stop(100%,#3D85C6));
! style="width:85px;" |
                              background-image: -webkit-linear-gradient(top, #172489 0%, #3D85C6 100%);
! style="width:240px;" |
                              background-image: -o-linear-gradient(top, #172489 0%, #3D85C6 100%);
|-
                              background-image: -ms-linear-gradient(top, #172489 0%, #3D85C6 100%);
{{#if: {{{time|}}} | {{!}} width=80 {{!}} <div>Experience</div> {{!!}} {{{time}}} }}
                              background-image: linear-gradient(to bottom, #172489 0%, #3D85C6 100%);
|-
                              color: lightgrey;
{{#if: {{{skillpoints|}}} | {{!}} <div>Skillpoints</div> {{!!}} {{{skillpoints}}} }}
                  | manager = background: #3DAC00;
|-
                              background-image: -moz-linear-gradient(center top, #3DAC00 0%, #2E8100 100%);
{{#if: {{{skillset|}}} | {{!}} <div>Skillset</div> {{!!}} <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto; max-width: 300px;">
                              background-image: -webkit-gradient(linear, center top, left bottom, color-stop(0%,#3DAC00), color-stop(100%,#2E8100));
<div style="font-weight:bold;line-height:1.6;text-align:left;">Skillset</div>
                              background-image: -webkit-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
<div class="mw-collapsible-content" style="text-align:left;">{{{skillset}}}</div></div> }}
                              background-image: -o-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
|-
                              background-image: -ms-linear-gradient(top, #3DAC00 0%, #2E8100 100%);
{{#if: {{{playtimesed        |}}} | {{!}} <div>Playtimes</div> {{!!}} {{{playtimesed}}} }}
                              background-image: linear-gradient(to bottom, #3DAC00 0%, #2E8100 100%);
|-
                              color: lightgrey;
{{#if: {{{playtimes        |}}} | {{!}} <div>Playtimes</div> {{!!}} <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto; max-width: 300px;">
                  | officer = background: #C1C100;
<div style="font-weight:bold;line-height:1.6;text-align:left;">Playtimes</div>
                              background-image: -moz-linear-gradient(center top, #C1C100 0%, #919100 100%);
<div class="mw-collapsible-content" style="text-align:left;">{{{playtimes}}}</div></div> }}
                              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%);
{{#if: {{{biography        |}}} | {{!}} <div>Biography</div> {{!!}} <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto; max-width: 300px;">
                              background-image: -o-linear-gradient(top, #C1C100 0%, #919100 100%);
<div style="font-weight:bold;line-height:1.6;text-align:left;">Biography</div>
                              background-image: -ms-linear-gradient(top, #C1C100 0%, #919100 100%);
<div class="mw-collapsible-content" style="text-align:left;">{{{biography}}}</div></div> }}
                              background-image: linear-gradient(to bottom, #C1C100 0%, #919100 100%);
|-
                              color: lightgrey;
{{#if: {{{campus        |}}} | {{!}} <div>Primary Campus</div> {{!!}} {{{Campus}}} }}
                }}
|-
 
{{#if: {{{contact        |}}} | {{!}} <div>Contact</div> {{!!}} {{{contact}}} }}
| image        = <table class="infoboxtable"><tr style="width:350px">
|-
                <td style="width:75px">[[File:64pxNull.png|64px]]</td>
{{#if: {{{language       |}}} | {{!}} <div>Language</div> {{!!}} {{{language}}} }}
                <td>{{#if: {{{image|}}} | [[File:{{{image}}}|200px|link= {{#ifexist: User:{{{mentor page name|}}} | User:{{{mentor page name}}} }}|{{{mentor name}}}]]}}</td>
|- style="height:100%;"
                <td style="width:75px" valign="top">{{#if: {{{imagecorp|}}} | <div style="float: right;">[[File:{{{imagecorp}}}|64px]]<br>{{#if: {{{imagealliance|}}} | [[File:{{{imagealliance}}}|64px]]}}</div>}}</td>
! colspan="2" style="width:100%;|
                </tr></table>
|}
 
|}
| headerstyle  = {{#switch: {{lc: {{{mentortype|}}} }}
|}
                  | #default = background: #172489;
</div>
                              background-image: -moz-linear-gradient(center top, #172489 0%, #3D85C6 100%);
{{infoboxMentorCSS}}</includeonly><noinclude>
                              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>