Template:User info: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
MZMcBride (talk | contribs)
make job title not so mandatory
m →‎top: clean up using AWB: spacing / header formatting
 
(31 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{#if:{{{former|}}}| {{Former staff}} }}
<div style="width:25%; float:left;height:4px; background:#990000;"></div>
<div style="width:25%; float:left;height:4px; background:#339966;"></div>
<div style="margin-top: 1em;">
<div style="width:25%; float:left; height:4px; background:#990000;"></div>
<div style="width:25%; float:left;height:4px; background:#A7D7F9;"></div>
<div style="width:25%; float:left; height:4px; background:#339966;"></div>
<div style="width:25%; float:left;height:4px; background:#666666;"></div>
<div style="width:25%; float:left; height:4px; background:#0063BF;"></div>
<div style="width:25%; float:left; height:4px; background:#54595d;"></div>
</div>
__NOTOC__
__NOTOC__
<div style="padding-top: 2em;">
[[File:{{#if:{{{image name|}}}|{{{image name}}}{{!}}alt={{{full name}}}|Wikimedia Foundation hall blurred.jpg{{!}}alt=No photo}}|frameless|320px|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|}}}{{DISPLAYTITLE:{{{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}}}{{#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>
{| 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', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{full name}}}</div>{{#if:{{{job title|}}}|
<div style="font-size: 180%; padding-top: 16px; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; line-height:30px;">{{{job title}}}{{#if:{{{organization|{{{company|}}}}}}|, {{{organization|{{{company|}}}}}}}}</div>}}
<div style="padding-top: 16px; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{short quote}}}</div>


</div>
| style="padding:10px 0; vertical-align:top; width:25%; text-align:center;" | [[File:{{#if:{{{image name|}}}|{{{image name}}}|Wikimedia Foundation office camera shy 250px.png}}|250px|{{{hover text|}}}]]


{{Clear}}
|}


{| style="width:100%; margin:auto; border-collapse:collapse;"
<div style="display: flex; flex-direction: row; flex-wrap: wrap; margin-top: 1em;">

| style="padding:15px; vertical-align:top; width:37%;" | <h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">About me</h2>
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{about|About me}}}</h2>
{{{about me}}}
{{{about me}}}
</div>
| style="padding:15px; vertical-align:top; width:37%;" | <h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">My work</h2>

{{{about my work}}}{{#if:{{{disclaimer|}}}|<div style="color: #555; font-size: smaller; margin: 1em 0;">'''Disclaimer:''' {{{disclaimer}}}</div>|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<div style="color: #555; font-size: smaller; margin: 1em 0;">'''Disclaimer:''' 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. For example, edits to articles or uploads of other media are done in my individual, personal capacity unless otherwise stated. </div>}} }}
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;">
| style="padding:15px; vertical-align:top; width:25%; background:#F4F4F4;" | <h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">Contact me</h2>
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{work|My work}}}</h2>
{{{about my work}}}
{{#if:{{{disclaimer|}}}|<div style="color: #555; font-size: smaller; margin: 1em 0;">'''Disclaimer:''' {{{disclaimer}}}</div>|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<div style="color: #555; font-size: smaller; margin: 1em 0;">'''Disclaimer:''' I work for the Wikimedia Foundation, and this is the account I intend 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.</div>}} }}
</div>

<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 140px; padding: 0 1em 1em 1em; background: #f8f9fa;">
<h2 style="font-family:'Helvetica Neue', Helvetica, 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0; display: block;">{{{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".
*To include an image, put the name of the file where it says "image name", excluding the word "file" from the front. Example:
<code>
| image name = BobaFett.jpg
</code>
*The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.


</div>
== Copies ==
The master version of this template is at [[wmf:Template:User info]]. The following wikis have copies of this template:


<noinclude>
* [[w:en:Template:User info]]
{{Clear}}
* [[mw:Template:User info]]
{{Documentation}}
* [[m:Template:User info]]
</noinclude>
</noinclude>

Latest revision as of 23:41, 21 March 2024

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


{{{short quote}}}

About me

{{{about me}}}

My work

{{{about my work}}}

Contact me

{{{contact me}}}


Template documentation

Usage

{{user info
| full name = 
| image name =
| hover text = 
| job title = 
| organization = 
| short quote =
| about me = 
| about my work = 
| contact me = 
| disclaimer =
}}
  • The "organization" parameter can also be called as "company".
  • To include an image, put the name of the file where it says "image name", excluding the word "file" from the front. Example:

| image name = BobaFett.jpg

  • Add your languages in standard format, like: {{#babel:la-N|en-3}}.
  • The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.

TemplateData

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Full namefull name

Your full name, like "John Smith" or "Samantha Jones".

Stringoptional
Positionjob title

The position or job title you wish to show you have, if any

Stringoptional
Organisationorganization company

The organisation to which your "position" refers, if any. If you work for the Wikimedia Foundation, this should be exactly "Wikimedia Foundation". This will be shown after your position.

Stringoptional
Quoteshort quote

A short quote that you would like to show that represents how you feel

Stringoptional
Imageimage name

The name of a file that you would like to show about you, normally a photo of you like "Example.jpg"

Fileoptional
Image hoverhover text

The label to show when people hover your image, or for screenreaders.

Stringoptional
About meabout me

Some information about you and your background.

Stringoptional
About my workabout my work

Some details about what you do on the wikis and why.

Stringoptional
Disclaimerdisclaimer

A disclaimer about your work, if any. If your organisation is set to "Wikimedia Foundation", it will show the regular Foundation staff disclaimer.

Stringoptional
Contact mecontact me

Details of how you can be contacted beyond on-wiki methods.

Stringoptional
About me labelabout

Text to display instead of "About me" as a section header.

Stringoptional
About my work labelwork

Text to display instead of "About my work" as a section header.

Stringoptional
Contact me labelcontact

Text to display instead of "Contact me" as a section header.

Stringoptional

Copies

The master version of this template is at Template:User info. The following wikis have copies of this template: