Template:Department: Difference between revisions
Content deleted Content added
Looks like the .expand div was necessary to keep the styling sane, so I'm putting it back in, blank. |
Make it possible to have an {{{overridelink}}} variable when we want to e.g. link to a job description |
||
Line 1: | Line 1: | ||
<div style="float:left; padding-top: 21px; color:#5E5E5E; font-size:13px; line-height:16px; margin-bottom:40px;"> |
<div style="float:left; padding-top: 21px; color:#5E5E5E; font-size:13px; line-height:16px; margin-bottom:40px;"> |
||
<div style="width: 160px; margin-bottom: 4px;">[[File:{{{image|Wikimedia Foundation office camera shy.png}}}|x110px|{{{head}}}]]</div> |
<div style="width: 160px; margin-bottom: 4px;">[[File:{{{image|Wikimedia Foundation office camera shy.png}}}|x110px|{{{head}}}]]</div> |
||
<div style="width:190px;"><b>{{#if:{{{username|}}}|[[User:{{{username}}}|{{{head}}}]]|{{{head}}} }}</b><div>{{{title}}} |
<div style="width:190px;"><b>{{#if:{{{username|}}}|[[User:{{{username}}}|{{{head}}}]]| {{#if:{{{overridelink|}}}|[{{{overridelink}}} {{{head}}}]|{{{head}}} }} }}</b><div>{{{title}}} |
||
{{#if:{{{image2|}}} |
{{#if:{{{image2|}}} |
||
Line 8: | Line 8: | ||
</div> |
</div> |
||
<div style="width:190px;"> |
<div style="width:190px;"> |
||
<b>{{#if:{{{username2|}}}|[[User:{{{username2}}}|{{{head2}}}]]|{{{head2}}} }}</b><div>{{{title2}}}</div> |
<b>{{#if:{{{username2|}}}|[[User:{{{username2}}}|{{{head2}}}]]| {{#if:{{{overridelink2|}}}|[{{{overridelink2}}} {{{head2}}}]|{{{head2}}} }} }}</b><div>{{{title2}}}</div> |
||
</div> |
</div> |
||
| }} |
| }} |
||
Line 16: | Line 16: | ||
</div> |
</div> |
||
<div style="width:190px;"> |
<div style="width:190px;"> |
||
<b>{{#if:{{{username3|}}}|[[User:{{{username3}}}|{{{head3}}}]]|{{{head3}}} }}</b><div>{{{title3}}}</div> |
<b><b>{{#if:{{{username3|}}}|[[User:{{{username3}}}|{{{head3}}}]]| {{#if:{{{overridelink3|}}}|[{{{overridelink3}}} {{{head3}}}]|{{{head3}}} }} }}</b><div>{{{title3}}}</div> |
||
</div> |
</div> |
||
| }} |
| }} |