Template

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:{{{Title|}}}|<span class="avatar-title">{{{Title}}}</span>}}
-->{{#if:{{{Email|}}}|<span class="avatar-email">[mailto:{{{Email}}} <span class="material-icons">mail_outline</span>]</span>}}<!--
{{#if:{{{Email|}}}|<span class="avatar-email">{{{Email}}}</span>}}
-->{{#if:{{{Cv|}}}|<span class="avatar-cv">[[:File:{{{Cv}}}]]</span>}}<!--
{{#if:{{{Cv|}}}|<span class="avatar-cv">{{{Cv}}}</span>}}
-->{{#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>

Latest revision as of 01:31, 15 September 2021