Created page with "<div style="width:33% ; float: right;"> <table style="background-color: #d2ebe8; border: 1px solid black; border-color: black; text-align: center; width: 100%"> <tr> <td colspan=2> x300px </td> </tr> <tr> <td colspan=2 style="font-weight: bold; font-size: 1.2em;"> Francesco Santini </td> </tr> <tr> <td style="width: 40%; text-align: right; padding-right: 5px;">''Affiliation''</td> <td style="text-align: left; padding-left: 5px;">'''Universi..."
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="width:33% ; float: right;">
<includeonly>
<table style="background-color: #d2ebe8; border: 1px solid black; border-color: black; text-align: center; width: 100%">
<templatestyles src="UserBox/style.css"/>
<div id="userbox-div" style="width:40% ; float: right;">
<table>
<tr>
<tr>
<td colspan=2>
<td colspan=2>
[[File:Francesco Santini.jpg|x300px]]
[[File:{{{photo|Emptyframe_unsplash.jpg}}}|x300px]]
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td colspan=2 style="font-weight: bold; font-size: 1.2em;">
<td colspan=2 style="font-weight: bold; font-size: 1.2em;">
Francesco Santini
{{{name}}}
</td>
</td>
{{#if:{{{affiliation|}}}|
</tr>
</tr>
<tr>
<tr>
<td style="width: 40%; text-align: right; padding-right: 5px;">''Affiliation''</td>
<td class="td-left">Affiliation</td>
<td style="text-align: left; padding-left: 5px;">'''University of Basel'''</td>
<td class="td-right">{{{affiliation}}}</td>
</tr>
</tr>
|}}
{{#if:{{{position|}}}|
<tr>
<tr>
<td>''Position''</td>
<td class="td-left">Position</td>
<td>'''Group Leader'''</td>
<td class="td-right">{{{position}}}</td>
</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