No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<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 37: Line 37:
|}}
|}}
<tr><td colspan=2><hr/></td></tr>
<tr><td colspan=2><hr/></td></tr>
{{#if:{{{website|}}}|
<tr>
<tr>
<td class="td-left">[[File:X logo.svg|frameless|16px]]</td>
<td class="td-left">Website</td>
<td class="td-right>[https://x.com/@{{{x_handle}}} @{{{x_handle}}}]</td>
<td class="td-right" style="font-weight: unset">{{{website}}}</td>
</tr>
</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>
Line 54: Line 74:
   | specialties=Diffusion, Perfusion
   | specialties=Diffusion, Perfusion
   | esmrmb_role=Board member
   | esmrmb_role=Board member
  | website=https://esmrmb.org
  | x_handle=MriResearcher
  | facebook_handle=mri.researcher
  | instagram_handle=MriInstagram
}}</pre>
}}</pre>
{{UserBox
{{UserBox
   | name=First Last
   | name=First Last
  | photo=Emptyframe_unsplash.jpg
   | affiliation=University of XXX
   | affiliation=University of XXX
   | position=Postdoc
   | position=Postdoc
   | specialties=Diffusion, Perfusion
   | specialties=Diffusion, Perfusion
   | esmrmb_role=Board member
   | esmrmb_role=Board member
  | website=https://esmrmb.org
  | x_handle=MriResearcher
  | facebook_handle=mri.researcher
  | instagram_handle=MriInstagram
}}
}}
[[Category:Userspace templates]]
[[Category:Userspace templates]]
</noinclude>
</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