More actions
Tag: Undo |
Added mentortype toggle to consolidate templates. |
||
| Line 5: | Line 5: | ||
{| class="infoboxmentortable" | {| class="infoboxmentortable" | ||
|- | |- | ||
! colspan="2" class="infoboxmentornamebluewhite" | [[{{{mentor page name}}}|{{#ifexist: {{{mentor page name}}}|<span style="color:orange;">{{{mentor name}}}</span>|<span style="color:lightgrey;">{{{mentor name}}}</span>}}]] | ! colspan="2" class={{#switch: {{lc:{{{mentortype}}}}} | mentor = "infoboxmentornamebluewhite" | officer = "infoboxmentornameyellow" | manager = "infoboxmentornamegreen" }} | [[{{{mentor page name}}}|{{#ifexist: {{{mentor page name}}}| <span style={{#switch: {{lc:{{{mentortype}}}}} | mentor = "color:orange;" | officer = "color:#ffd200;" | manager = "color:orange;" }}>{{{mentor name}}}</span>|<span style="color:lightgrey;">{{{mentor name}}}</span>}}]] | ||
|- style="text-align:center" | |- style="text-align:center" | ||
| colspan="2" style="padding:0.0em;" | | | colspan="2" style="padding:0.0em;" | | ||
| Line 17: | Line 17: | ||
{{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }} | {{#if: {{{caption|}}} | {{!}} colspan="2" style="padding:0.5em;" {{!}} ''{{{caption|}}}'' }} | ||
|- | |- | ||
! colspan="2" class="infoboxmentordescriptionbluewhite" | Details | ! colspan="2" class={{#switch: {{lc:{{{mentortype}}}}} | mentor = "infoboxmentordescriptionbluewhite" | officer = "infoboxmentordescriptionyellow" | manager = "infoboxmentordescriptiongreen" }} | Details | ||
|- | |- | ||
! colspan="2" style="width:100%;" | | ! colspan="2" style="width:100%;" | | ||