Template:User info: Difference between revisions

From TestWiki
Content added Content deleted
(update)
m (94 revisions imported: testing)
 
(89 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<noinclude><languages /></noinclude>
<div style="width:25%; float:left;height:4px; background:#990000;"></div>
{{#switch: <translate><!--T:4-->
<div style="width:25%; float:left;height:4px; background:#339966;"></div>
<tvar|x></></translate>
<div style="width:25%; float:left;height:4px; background:#A7D7F9;"></div>
| =
<div style="width:25%; float:left;height:4px; background:#666666;"></div>
{{#if:{{{former|}}}| {{TNT|Former staff}}
|}}{{#if:{{{header|}}}|{{{header}}}|<div style="margin-top: 1em;">
<div style="width:25%; float:{{dir|2=right|3=left}}; height:{{{barheight|4}}}px; background:#990000;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:{{{barheight|4}}}px; background:#339966;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:{{{barheight|4}}}px; background:#0063BF;"></div>
<div style="width:25%; float:{{dir|2=right|3=left}}; height:{{{barheight|4}}}px; background:#54595d;"></div>
</div>
}}
__NOTOC__
__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|{{{image width|280px}}}|{{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>}}
{{#if:{{{job title|}}}|
<div style="font-size: 1.8em; line-height: 1.2; padding-top: .5em; font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{job title}}}{{#ifeq:{{{organization|}}}|Wikimedia Foundation|, <translate><!--T:5-->
Wikimedia Foundation</translate>|{{#if:{{{organization|{{{company|}}}}}}|, {{{organization|{{{company|}}}}}}}}}}</div>}}
<div style="padding-top: 16px; font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{short quote}}}</div>


</div>
{| style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:10px;"
| style="padding:10px; vertical-align:top; width:75%;" |
<div style="line-height:.7em; font-size: 270%; font-family:'Helvetica Neue';">{{{full name}}}</div>
<div style="font-size: 180%; padding-top: 16px; font-family: 'Helvetica Neue'; line-height:30px;">{{{job title}}}{{#if:{{{organization|{{{company|}}}}}}|, {{{organization|{{{company|}}}}}}}}</div>
<div style="padding-top: 16px; font-family:'Helvetica Neue';">{{{short quote}}}</div>


{{Clear}}
| style="padding:10px 0; vertical-align:top; width:25%; text-align:center;" | [[File:{{#if:{{{image name|}}}|{{{image name}}}|How Wikipedia Works.jpg}}|250px|{{{hover text|}}}]]


<div style="display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 1em;">
|}


<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 250px; margin-{{dir|2=left|3=right}}: 2em;">
{| style="width:100%; margin:auto; border-collapse:collapse;"
| style="padding:15px; vertical-align:top; width:37%;" | <h2 style="font-family: 'Helvetica Neue'; border-bottom:0;">About me</h2>
<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>
{{{about me}}}
{{{about me}}}
</div>
| style="padding:15px; vertical-align:top; width:37%;" | <h2 style="font-family: 'Helvetica Neue'; border-bottom:0;">My work</h2>

{{{about my work}}}{{{disclaimer|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<br /> <br />
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 250px; margin-{{dir|2=left|3=right}}: 2em;">
Although I work for the Wikimedia Foundation, contributions under this account do not necessarily represent the actions or views of the Foundation unless expressly stated otherwise. <br />}} }}}
| style="padding:15px; vertical-align:top; width:25%; background:#F4F4F4;" | <h2 style="font-family: 'Helvetica Neue'; border-bottom:0;">Contact me</h2>
<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>
{{{about my work}}}
{{#if:{{{disclaimer|}}}|<div style="color: #555; font-size: smaller; margin: 1em 0;"><translate><!--T:8-->
'''Disclaimer:'''</translate> {{{disclaimer}}}</div>|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<div style="color: #555; font-size: smaller; margin: 1em 0;">{{#if:{{{former|}}} | | [[Category:Wikimedia Foundation staff{{#translation:}}]] }} <translate><!--T:9-->
'''Disclaimer:''' I work for or provide services to the Wikimedia Foundation, and this is the account I try to use for edits or statements I make in that role. However, the Foundation does not vet all my activity, so edits, statements, or other contributions made by this account may not reflect the views of the Foundation.</translate> </div>}} }}
</div>

{{#if:{{{contact me|}}}|<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 160px; padding: 0 1em 1em 1em; background: #f4f4f4;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{#ifeq:{{{contact|}}}| |<translate><!--T:10-->
Contact me</translate>|{{{contact|Contact me}}}}}</h2>
{{{contact me}}}
{{{contact me}}}
</div>
|}<noinclude>
{{clear}}
== Usage ==
<pre>
{{user info
| full name =
| image name =
| hover text =
| job title =
| organization =
| short quote =
| about me =
| about my work =
| contact me =
| disclaimer =
}}
}}
</pre>
The "organization" parameter can also be called as "company".


</div>
The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.
| #default =
{{ {{TNTN|Template:User info| uselang = {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}} }}
| full name = {{{full name|}}}
| job title = {{{job title|}}}
| organization = {{{organization|}}}
| company = {{{company|}}}
| job title2 = {{{job title2|}}}
| organization2 = {{{organization2|}}}
| company2 = {{{company2|}}}
| short quote = {{{short quote|}}}
| image name = {{{image name|}}}
| image width = {{{image width|320px}}}
| hover text = {{{hover text|}}}
| about = {{{about|}}}
| about me = {{{about me|}}}
| work = {{{work|}}}
| about my work = {{{about my work|}}}
| disclaimer = {{{disclaimer|}}}
| contact = {{{contact|}}}
| contact me = {{{contact me|}}}
| former = {{{former|}}}
| barheight = {{{barheight|4}}}
}}
}}<noinclude>
{{Clear}}
{{Documentation|Template:User info/doc}}
</noinclude>
</noinclude>

Latest revision as of 15:46, 3 January 2020

No photo
{{{full name}}}, {{{job title}}}


{{{short quote}}}

About me

{{{about me}}}

My work

{{{about my work}}}