Template:User info/el: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> |
<noinclude><languages /></noinclude> |
||
{{#switch: |
{{#switch: |
||
| = |
| = |
||
{{#if:{{{former|}}}| {{TNT|Former staff}} }} |
{{#if:{{{former|}}}| {{TNT|Former staff}} }} |
||
<div class="userinfo mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:User info}}}}" lang="{{#invoke:Caller title|lang|base=Template:User info}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:User info}}}}"> |
<div class="userinfo mw-content-{{dir|{{#invoke:Caller title|lang|base=Template:User info}}}}" lang="{{#invoke:Caller title|lang|base=Template:User info}}" dir="{{dir|{{#invoke:Caller title|lang|base=Template:User info}}}}"> |
||
<templatestyles src="User info/styles.css" /> |
<templatestyles src="User info/styles.css" /> |
||
{{#if:{{{header|}}}|{{{header}}}|<div |
{{#if:{{{header|}}}|{{{header}}}|<div style="width:calc((100% - {{{image width|{{{image_width|300px}}}}}})/2); float:left;height:4px; background:{{{c1|#990000}}};"></div> |
||
<div style="width:calc((100% - {{{image width|{{{image_width|300px}}}}}})/2); float:left;height:4px; background:{{{c2|#339966}}};"></div> |
|||
<div class="userinfo-bar-1"></div> |
|||
<div style="width:{{{image width|{{{image_width|300px}}}}}}; float:left;height:4px; background:{{{c3|#A7D7F9}}};"></div>}} |
|||
<div class="userinfo-bar-2"></div> |
|||
| ⚫ | |||
<div class="userinfo-bar-3"></div> |
|||
{{clear}} |
|||
<div class="userinfo-bar-4"></div> |
|||
<div class="userinfo-basic" style = "display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between;" > |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | [[File:{{#if:{{{image name|}}}|{{{image name}}}{{!}}alt={{{full name}}}|Wikimedia Foundation hall blurred.jpg{{!}}alt=<span lang="en" dir="ltr" class="mw-content-ltr">No photo</span>}}|frameless|{{{image width| |
||
{{#if:{{{full name|<noinclude>1</noinclude>}}}|<div class="userinfo-fullname" lang="" dir="auto">{{{full name}}}</div>}} |
{{#if:{{{full name|<noinclude>1</noinclude>}}}|<div class="userinfo-fullname" lang="" dir="auto">{{{full name}}}</div>}} |
||
{{#if:{{{job title|<noinclude>1</noinclude>}}}|<div class="userinfo-jobtitle" lang="" dir="auto">{{{job title}}}{{#ifeq:{{{organization|}}}|Wikimedia Foundation|, Ίδρυμα Wikimedia|{{#if:{{{organization|{{{company|}}}}}}|, {{{organization|{{{company|}}}}}}}}}}</div>}} |
{{#if:{{{job title|<noinclude>1</noinclude>}}}|<div class="userinfo-jobtitle" lang="" dir="auto">{{{job title}}}{{#ifeq:{{{organization|}}}|Wikimedia Foundation|, Ίδρυμα Wikimedia|{{#if:{{{organization|{{{company|}}}}}}|, {{{organization|{{{company|}}}}}}}}}}</div>}} |
||
{{#if:{{{short quote|<noinclude>1</noinclude>}}}|<div class="userinfo-quote" lang="" dir="auto">{{{short quote}}}</div>}} |
{{#if:{{{short quote|<noinclude>1</noinclude>}}}|<div class="userinfo-quote" lang="" dir="auto">{{{short quote}}}</div>}} |
||
| ⚫ | |||
<div class="userinfo-basic-column" style = "flex: 0 0 {{{image width|{{{image_width|300px}}}}}}"> |
|||
| ⚫ | [[File:{{#if:{{{image name|}}}|{{{image name}}}{{!}}alt={{{full name}}}{{!}}{{{image width|{{{image_width|300px}}}}}}|Wikimedia Foundation hall blurred.jpg{{!}}alt=<span lang="en" dir="ltr" class="mw-content-ltr">No photo</span>}}|frameless|{{{image width|{{{image_width|300px}}}}}}|{{dir|{{#invoke:Caller title|lang|base=Template:User info}}|left|right}}|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}, {{{job title}}}}}}}}]] |
||
</div> |
|||
</div> |
</div> |
||
<div class="userinfo-detailed"> |
<div class="userinfo-detailed"> |
||
<div class="userinfo-detailed-column"> |
<div class="userinfo-detailed-column"> |
||
<h2 {{#if:{{{about|}}}|lang="" dir="auto">{{{about}}}|><span lang="en" dir="ltr" class="mw-content-ltr">About me</span>}}</h2> |
<h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;" {{#if:{{{about|}}}|lang="" dir="auto">{{{about}}}|><span lang="en" dir="ltr" class="mw-content-ltr">About me</span>}}</h2> |
||
<div lang="" dir="auto"> |
<div lang="" dir="auto"> |
||
{{{about me}}} |
{{{about me}}} |
||
</div> |
</div> |
||
</div> |
</div> |
||
<div class="userinfo-detailed-column"> |
<div class="userinfo-detailed-column"> |
||
<h2 {{#if:{{{work|}}}|lang="" dir="auto">{{{work}}}|><span lang="en" dir="ltr" class="mw-content-ltr">My work</span>}}</h2> |
<h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;" {{#if:{{{work|}}}|lang="" dir="auto">{{{work}}}|><span lang="en" dir="ltr" class="mw-content-ltr">My work</span>}}</h2> |
||
<div lang="" dir="auto"> |
<div lang="" dir="auto"> |
||
{{{about my work}}} |
{{{about my work}}} |
||
</div> |
</div> |
||
{{#if:{{{disclaimer|}}}|<div class="userinfo-disclaimer" lang="" dir="auto"><bdi lang="{{#invoke:Caller title|lang|base=Template:User info}}"><span lang="en" dir="ltr" class="mw-content-ltr">'''Disclaimer:'''</span></bdi> {{{disclaimer}}}</div>|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<div class="userinfo-disclaimer">{{#if:{{{former|}}} | | [[Category:Wikimedia Foundation staff{{#translation:}}]] }} |
{{#if:{{{disclaimer|}}}|<div class="userinfo-disclaimer" lang="" dir="auto"><bdi lang="{{#invoke:Caller title|lang|base=Template:User info}}"><span lang="en" dir="ltr" class="mw-content-ltr">'''Disclaimer:'''</span></bdi> {{{disclaimer}}}</div>|{{#ifeq:{{{organization|}}}|Wikimedia Foundation|<div class="userinfo-disclaimer">{{#if:{{{former|}}} | | [[Category:Wikimedia Foundation staff{{#translation:}}]] }}<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
'''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. |
'''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. |
||
</div></div>}} }} |
</div></div>}} }} |
||
</div> |
</div> |
||
{{#if:{{{contact me|<noinclude>1</noinclude>}}}|<div class="userinfo-contact" style="flex: 0 0 calc({{{image width|{{{image_width|300px}}}}}} - 2em)"> |
|||
| ⚫ | |||
{{#if:{{{contact me|}}}|<div class="userinfo-contact"> |
|||
| ⚫ | |||
<div lang="" dir="auto"> |
<div lang="" dir="auto"> |
||
{{{contact me}}} |
{{{contact me}}} |
||
| Line 47: | Line 46: | ||
</div> |
</div> |
||
</div> |
</div> |
||
| #default = |
| #default = |
||
{{ {{TNTN|Template:User info| uselang = {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}} }} |
{{ {{TNTN|Template:User info| uselang = {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}} }} |
||
| Line 58: | Line 58: | ||
| short quote = {{{short quote|}}} |
| short quote = {{{short quote|}}} |
||
| image name = {{{image name|}}} |
| image name = {{{image name|}}} |
||
| image width = {{{image width| |
| image width = {{{image width|300px}}} |
||
| hover text = {{{hover text|}}} |
| hover text = {{{hover text|}}} |
||
| about = {{{about|}}} |
| about = {{{about|}}} |
||
| about me = {{{about me|}}} |
| about me = {{{about me<includeonly>|</includeonly>}}} |
||
| work = {{{work|}}} |
| work = {{{work|}}} |
||
| about my work = {{{about my work|}}} |
| about my work = {{{about my work<includeonly>|</includeonly>}}} |
||
| disclaimer = {{{disclaimer|}}} |
| disclaimer = {{{disclaimer|}}} |
||
| contact = {{{contact|}}} |
| contact = {{{contact|}}} |
||
| contact me = {{{contact me|}}} |
| contact me = {{{contact me<includeonly>|</includeonly>}}} |
||
| former = {{{former|}}} |
| former = {{{former|}}} |
||
| barheight = {{{barheight|4}}} |
| barheight = {{{barheight|4}}} |
||
Revision as of 14:38, 22 February 2021
About me
{{{about me}}}
My work
{{{about my work}}}
Contact me
{{{contact me}}}
| This template uses TemplateStyles: |
Usage - anyone
This header template has a user talk page variant formatted in a matching style, available at {{User info talk}}. On a mobile device, the columns are ignored and text is reflowed into sections stacked vertically.
To use this template, copy and paste the text below into your user page.
{{user info
| full name =
| image name =
| image width =
| 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}}. These are usually placed at the end of the "contact me" section. - The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.
Usage - Wikimedia Foundation staff
{{user info
| full name =
| image name =
| hover text =
| job title =
| organization = Wikimedia Foundation
| short quote =
| about me =
| about my work =
| contact me =
| disclaimer =
}}
- See the Wikimedia Foundation's internal guide to creating a global user page for more details.
- 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}}. These are usually placed at the end of the "contact me" section. - The "hover text" parameter is for the little pop-up text that comes up when your mouse hovers over the image.
Offboarding note: During off-boarding, the parameter | former = true should be added to the userpage. This will add the {{Former staff}} template, and remove the page from the category Category:Wikimedia Foundation staff.
TemplateData
TemplateData for User info
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Full name | full name | Your full name, like "John Smith" or "Вася Пупкин". | 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" without any link. This will be shown after your position. | String | optional |
| Quote | short quote | A short quote that you'd like to show that represents how you feel | String | optional |
| Image | image name | The name of a file that you'd 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 |
| Former staff identifier | former | If the account belongs to a former Wikimedia Foundation staff member, this should be set to 'true' (or to any string) to tag the account as belonging to a former staff member.
| String | optional |
| uselang | uselang | no description | Unknown | optional |
| image width | image width | no description | Unknown | optional |
| Bar height | barheight | Height, in pixels, of the coloured bars
| String | optional |
| header | header | no description | Unknown | optional |
| Bar color 1 | bar color 1 | Override the color of the first header bar (from the left)
| String | optional |
| Bar color 2 | bar color 2 | Override the color of the second header bar (from the left)
| Unknown | optional |
| Bar color 3 | bar color 3 | Override the color of the third header bar (from the left)
| String | optional |
| Bar color 4 | bar color 4 | Override the color of the fourth header bar (from the left)
| String | optional |
| about | about | no description | Unknown | optional |
| work | work | no description | Unknown | optional |
| contact | contact | no description | Unknown | optional |
| job title2 | job title2 | no description | Unknown | optional |
| organization2 | organization2 | no description | Unknown | optional |
| company2 | company2 | no description | Unknown | optional |
Copies
The main version of this template is at wmf:Template:User info. The following wikis have copies of this template:
- Template:User info 2024 (alterative responsive styled template)
- w:en:Template:User info
- mw:Template:User info
- m:Template:User info
- Template:User info (Q7608023) (50+ more)
