Difference between revisions of "Avatar"
From ACES
(Created page with "<div class="avatar"> <div class="avatar-img">{{{Photo}}}</div> <div class="avatar-text"> {{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}} {{#if:{{{Title|}}}|<sp...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="avatar"> | <includeonly><div class="avatar"><!-- | ||
<div class="avatar-img">{{{Photo}}}</div> | --><div class="avatar-img">{{#ifexist:File:{{{Photo}}}|[[File:{{{Photo}}}]]|[[File:Portrait Placeholder.png]]}}</div><!-- | ||
<div class="avatar-text"> | --><div class="avatar-text"><!-- | ||
{{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}} | -->{{#if:{{{Name|}}}|<span class="avatar-name">{{{Name}}}</span>}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{Email|}}}|<span class="avatar-email">[mailto:{{{Email}}} <span class="material-icons">mail_outline</span>]</span>}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{Cv|}}}|<span class="avatar-cv">[[:File:{{{Cv}}}]]</span>}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{Title|}}}|<span class="avatar-title">{{{Title}}}</span>}}<!-- | ||
</div> | --></div><!-- | ||
</div> | --></div></includeonly><noinclude> | ||
== Example == | |||
{{Avatar | |||
|Photo = [[File:Portrait Placeholder.png]] | |||
|Name = Placeholder | |||
|Title = Title123 | |||
|Email = example@example.edu | |||
|Cv = Portrait Placeholder.png | |||
}} | |||
</noinclude> |