No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<templatestyles src="UserBox/style.css"/>
<templatestyles src="UserBox/style.css"/>
<div id="userbox-div" style="width:33% ; float: right;">
<div id="userbox-div" style="width:40% ; float: right;">
<table>
<table>
<tr>
<tr>
Line 11: Line 12:
{{{name}}}
{{{name}}}
</td>
</td>
{{#if:{{{affiliation|}}}|
</tr>
</tr>
<tr>
<tr>
Line 16: Line 18:
<td class="td-right">{{{affiliation}}}</td>
<td class="td-right">{{{affiliation}}}</td>
</tr>
</tr>
|}}
{{#if:{{{position|}}}|
<tr>
<tr>
<td class="td-left">Position</td>
<td class="td-left">Position</td>
<td class="td-right">{{{position}}}</td>
<td class="td-right">{{{position}}}</td>
</tr>
</tr>
|}}
<tr>
{{#if:{{{specialties|}}}|
<td class="td-left">Specialties</td>
<td class="td-right">{{{specialties}}}</td>
</tr>
|}}
{{#if:{{{esmrmb_role|}}}|
<td class="td-left">ESMRMB role</td>
<td class="td-right">{{{esmrmb_role}}}</td>
</tr>
|}}
<tr><td colspan=2><hr/></td></tr>
{{#if:{{{website|}}}|
<tr>
<td class="td-left">Website</td>
<td class="td-right" style="font-weight: unset">{{{website}}}</td>
</tr>
|}}
{{#if:{{{x_handle|}}}|
<tr>
<td class="td-left">[[File:X logo.png|frameless|16px]]</td>
<td class="td-right">[https://x.com/@{{{x_handle}}} @{{{x_handle}}}]</td>
</tr>
|}}
{{#if:{{{facebook_handle|}}}|
<tr>
<td class="td-left">[[File:Facebook logo.png|frameless|16px]]</td>
<td class="td-right">[https://facebook.com/{{{facebook_handle}}} {{{facebook_handle}}}]</td>
</tr>
|}}
{{#if:{{{instagram_handle|}}}|
<tr>
<td class="td-left">[[File:Instagram logo.png|frameless|16px]]</td>
<td class="td-right">[https://www.instagram.com/{{{instagram_handle}}} @{{{instagram_handle}}}]</td>
</tr>
|}}
</table>
</table>
</div>
</div>
</includeonly>
<noinclude>
== Usage example ==
<pre>
{{UserBox
  | name=First Last
  | photo=myphoto.jpg
  | affiliation=University of XXX
  | position=Postdoc
  | specialties=Diffusion, Perfusion
  | esmrmb_role=Board member
  | website=https://esmrmb.org
  | x_handle=MriResearcher
  | facebook_handle=mri.researcher
  | instagram_handle=MriInstagram
}}</pre>
{{UserBox
  | name=First Last
  | affiliation=University of XXX
  | position=Postdoc
  | specialties=Diffusion, Perfusion
  | esmrmb_role=Board member
  | website=https://esmrmb.org
  | x_handle=MriResearcher
  | facebook_handle=mri.researcher
  | instagram_handle=MriInstagram
}}
[[Category:Userspace templates]]
</noinclude>

Latest revision as of 09:49, 8 August 2024


Usage example

{{UserBox
  | name=First Last
  | photo=myphoto.jpg
  | affiliation=University of XXX
  | position=Postdoc
  | specialties=Diffusion, Perfusion
  | esmrmb_role=Board member
  | website=https://esmrmb.org
  | x_handle=MriResearcher
  | facebook_handle=mri.researcher
  | instagram_handle=MriInstagram
}}

First Last

Affiliation University of XXX
Position Postdoc
Specialties Diffusion, Perfusion
ESMRMB role Board member

Website https://esmrmb.org
@MriResearcher
mri.researcher
@MriInstagram