Template:User info: Difference between revisions

switching left/right for rtl languages
m (abandon)
(switching left/right for rtl languages)
Line 5:
{{#if:{{{former|}}}| {{TNT|Former staff}}
|}}<div style="margin-top: 1em;">
<div style="width:25%; float:{{dir|2=right|3=left}}; height:4px; background:#b32424;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:4px; background:#14866d;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:4px; background:#d5fdf4;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:4px; background:#54595d;"></div>
</div>
__NOTOC__
<div style="padding-top: 2em;">
[[File:{{#if:{{{image name|}}}|{{{image name}}}{{!}}alt={{{full name}}}|Wikimedia Foundation office camera shy.jpg{{!}}alt=No photo}}|frameless|320px|{{dir|2=left|3=right}}|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}, {{{job title}}}}}}}}]]
{{#if:{{{full name|}}}|
<div style="font-size: 2.6em; line-height: 1.2; font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{full name|}}}</div>}}
Line 27:
<div style="display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 1em;">
 
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-{{dir|2=left|3=right}}: 2em;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{about|}}}||<translate><!--T:6-->
About me</translate>|{{{about|About me}}}}}</h2>
Line 33:
</div>
 
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-{{dir|2=left|3=right}}: 2em;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{work|}}}||<translate><!--T:7-->
My work</translate>|{{{work|My work}}}}}</h2>