Template:User info: Difference between revisions
MarcoAurelio (talk | contribs) m (Protected "Template:User info": High risk template: https://meta.wikimedia.org/w/index.php?oldid=15313236#Request_for_page_protection ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
(now setup for <languages/>) |
||
Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> |
|||
{{#switch: <translate><!--T:4--> |
|||
<tvar|x></></translate> |
|||
| = |
|||
<div style="width:25%; float:left;height:4px; background:#990000;"></div> |
<div style="width:25%; float:left;height:4px; background:#990000;"></div> |
||
<div style="width:25%; float:left;height:4px; background:#339966;"></div> |
<div style="width:25%; float:left;height:4px; background:#339966;"></div> |
||
Line 4: | Line 8: | ||
<div style="width:25%; float:left;height:4px; background:#666666;"></div> |
<div style="width:25%; float:left;height:4px; background:#666666;"></div> |
||
__NOTOC__ |
__NOTOC__ |
||
{ |
{{{!}} style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:10px; clear:left;" |
||
{{!}} style="padding:10px; vertical-align:top; width:75%;" {{!}}{{#if:{{{full name|}}}| |
|||
<div style="line-height:.7em; font-size: 270%; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{full name|}}}{{DISPLAYTITLE:{{{full name}}}}}</div>}}{{#if:{{{job title|}}}| |
<div style="line-height:.7em; font-size: 270%; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{full name|}}}{{DISPLAYTITLE:{{{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}}}{{# |
<div style="font-size: 180%; padding-top: 16px; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; line-height:30px;">{{{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', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{short quote}}}</div> |
<div style="padding-top: 16px; font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif;">{{{short quote}}}</div> |
||
{{!}} style="padding:10px 0; vertical-align:top; width:25%; text-align:center;" {{!}} [[File:{{#if:{{{image name|}}}|{{{image name}}}{{!}}alt={{{full name}}}|Wikimedia Foundation office camera shy 250px.png{{!}}alt=No photo}}|{{{image width|250px}}}|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{full name}}}, {{{job title}}}}}}}}]] |
|||
{{!}}} |
|||
|} |
|||
{ |
{{{!}} style="width:100%; margin:auto; border-collapse:collapse;" |
||
{{!}} style="padding:15px; vertical-align:top; width:37%;" {{!}} <h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{#if:{{{about|}}}|{{{about}}}|<translate><!--T:6--> |
|||
About me</translate>}}</h2> |
|||
{{{about me}}} |
{{{about me}}} |
||
{{!}} style="padding:15px; vertical-align:top; width:37%;" {{!}} <h2 style="font-family:'Helvetica Neue', 'Lucida Grande', Tahoma, Verdana, sans-serif; border-bottom:0;">{{#if:{{{work|}}}|{{{work}}}|<translate><!--T:7--> |
|||
My work</translate>}}</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;">[[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>}} }} |
||
⚫ | |||
Contact me</translate>}}</h2> |
|||
{{{contact me}}} |
{{{contact me}}} |
||
{{!}}} |
|||
⚫ | |||
| #default = |
|||
{{ {{TNTN|Template:User info/sandbox| uselang = {{{uselang|{{CURRENTCONTENTLANGUAGE}}}}} }} |
|||
| full name = {{{full name|}}} |
|||
| job title = {{{job title|}}} |
|||
| organization = {{{organization|}}} |
|||
| company = {{{company|}}} |
|||
| short quote = {{{short quote|}}} |
|||
| image name = {{{image name|}}} |
|||
| image width = {{{image width|250px}}} |
|||
| 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|}}} |
|||
}} |
|||
⚫ | |||
{{clear}} |
{{clear}} |
||
== Usage == |
== Usage == |
Revision as of 02:24, 13 March 2016
{{{short quote}}}
|
About me{{{about me}}} |
My work{{{about my work}}} |
Contact me{{{contact me}}} |
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'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 |
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 wmf:Template:User info. The following wikis have copies of this template: