Template:User info: Difference between revisions
rv; if there's a problem with thumbnail generation, talk to ops and have the problem properly addressed, please don't implement hacks |
LincolnBot (talk | contribs) |
||
(35 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{former|}}}| {{Former staff}} }} |
|||
⚫ | |||
<div style="width:25%; float:left;height:4px; background:# |
<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:# |
<div style="width:25%; float:left; height:4px; background:#339966;"></div> |
||
<div style="width:25%; float:left;height:4px; background:# |
<div style="width:25%; float:left; height:4px; background:#0063BF;"></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|}}}| |
|||
⚫ | |||
{{#if:{{{job title|}}}| |
|||
⚫ | |||
⚫ | |||
{| style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:10px;" |
|||
| style="padding:10px; vertical-align:top; width:75%;" | |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| 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: 260px; margin-right: 2em;"> |
|||
⚫ | |||
{{{about me}}} |
{{{about me}}} |
||
</div> |
|||
⚫ | |||
⚫ | |||
<div style="flex-grow: 1; flex-shrink: 0; flex-basis: 260px; margin-right: 2em;"> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | {{#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;"> |
|||
⚫ | |||
{{{contact me}}} |
{{{contact me}}} |
||
</div> |
|||
⚫ | |||
⚫ | |||
</div> |
|||
== Usage == |
|||
<pre> |
|||
⚫ | |||
{{user info |
|||
{{Clear}} |
|||
| full name = |
|||
{{Documentation}} |
|||
| image name = |
|||
| hover text = |
|||
| job title = |
|||
| organization = |
|||
| short quote = |
|||
| about me = |
|||
⚫ | |||
| 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: |
|||
<code> |
|||
| image name = BobaFett.jpg |
|||
⚫ | |||
*The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image. |
|||
</noinclude> |
</noinclude> |
Latest revision as of 23:41, 21 March 2024
About me
{{{about me}}}
My work
{{{about my work}}}
Contact me
{{{contact me}}}
NOTE: Per the Wikimedia Foundation's internal guide to creating a global user page, user pages should be setup on Meta-Wiki. |
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Full name | full name | Your full name, like "John Smith" or "Samantha Jones". | String | optional |
Position | job title | The position or job title you wish to show you have, if any | String | optional |
Organisation | organization 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. | String | optional |
Quote | short quote | A short quote that you would like to show that represents how you feel | String | optional |
Image | image name | The name of a file that you would like to show about you, normally a photo of you like "Example.jpg" | File | optional |
Image hover | hover text | The label to show when people hover your image, or for screenreaders. | String | optional |
About me | about me | Some information about you and your background. | String | optional |
About my work | about my work | Some details about what you do on the wikis and why. | String | optional |
Disclaimer | disclaimer | A disclaimer about your work, if any. If your organisation is set to "Wikimedia Foundation", it will show the regular Foundation staff disclaimer. | String | optional |
Contact me | contact me | Details of how you can be contacted beyond on-wiki methods. | String | optional |
About me label | about | Text to display instead of "About me" as a section header. | String | optional |
About my work label | work | Text to display instead of "About my work" as a section header. | String | optional |
Contact me label | contact | Text to display instead of "Contact me" as a section header. | String | optional |
Copies
The master version of this template is at Template:User info. The following wikis have copies of this template: