Template:User info: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (+ image)  | 
				 (Update)  | 
				||
| (26 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="  | <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:#A7D7F9;"></div>  | ||
<  | <div style="width:25%; float:left;height:4px; background:#666666;"></div>  | ||
__NOTOC__  | |||
<  | {| style="width:100%; margin:auto; border-collapse:collapse; margin-bottom:10px; clear:left;"  | ||
| 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;">{{{name|<noinclude>Example name</noinclude>}}}</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}}}, {{{organisation|Wikimedia UK}}}</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;" | [[{{#if:{{{imagename|}}}|{{{imagename}}}{{!}}alt={{{name}}}|File:Wikimedia UK Office Clocks, 2013.jpg{{!}}alt=No photo}}|250px|{{#if:{{{hover text|}}}|{{{hover text|}}}|{{{hover text|{{{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;">Biography</h2>  | |||
{{{bio}}}  | |||
| 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>  | |||
{{{work}}}  | |||
| 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>  | |||
{{{contact}}}  | |||
|}  | |||
<  | <noinclude>  | ||
== Usage ==  | |||
</  | <pre>  | ||
{{User info  | |||
|navbarlink=  | |||
|navbarlinkname=  | |||
|name=  | |||
|job title=  | |||
|organisation=  | |||
|short quote=  | |||
|imagename=  | |||
|hover text=  | |||
|bio=  | |||
|work=  | |||
|contact=  | |||
}}</pre>  | |||
{|   | == Parameters ==  | ||
{| class="wikitable"  | |||
! style="text-align: left" | Parameter  | |||
'''  | ! style="text-align: left" | Explanation  | ||
</  | |-  | ||
|   | |<code>navbarlink</code>  | ||
|An optional link; defaults to People  | |||
'''  | |-  | ||
</  | |<code>navbarlinkname</code>  | ||
|   | |What you want to link to appear as.  | ||
|-  | |||
|<code>name</code>  | |||
</  | |Full name '''(compulsory)'''  | ||
|-  | |||
|<code>job title</code>  | |||
|Just your job title - don't link it. '''(compulsory)'''  | |||
|-  | |||
|<code>organisation</code>  | |||
|The organisation you work for (defaults to Wikimedia UK).  | |||
|-  | |||
|<code>short quote</code>  | |||
|Something witty, meaningful or anything else.  | |||
|-  | |||
|<code>imagename</code>  | |||
|Include "File:" but don't include [[]]  | |||
|-  | |||
|<code>hover text</code>  | |||
|What text would you like to appear when the image is hovered-over?  | |||
|-  | |||
|<code>bio</code>  | |||
|Some information about you and your background.  | |||
|-  | |||
|<code>work</code>  | |||
|Some information about what you do.  | |||
|-  | |||
|<code>contact</code>  | |||
|Contact details  | |||
|-  | |||
|}  | |}  | ||
== Examples ==  | |||
*[[Template:Staff userpage]]  | |||
*[[Template:Board userpage]]  | |||
*[[Template:Volunteer userpage]]  | |||
</noinclude>  | |||
Latest revision as of 17:10, 16 November 2015
| 
 Example name 
{{{short quote}}} 
 | 
Biography{{{bio}}}  | 
My work{{{work}}}  | 
Contact me{{{contact}}}  | 
Usage
{{User info
|navbarlink=
|navbarlinkname=
|name=
|job title=
|organisation=
|short quote=
|imagename=
|hover text=
|bio=
|work=
|contact=
}}
Parameters
| Parameter | Explanation | 
|---|---|
navbarlink
 | 
An optional link; defaults to People | 
navbarlinkname
 | 
What you want to link to appear as. | 
name
 | 
Full name (compulsory) | 
job title
 | 
Just your job title - don't link it. (compulsory) | 
organisation
 | 
The organisation you work for (defaults to Wikimedia UK). | 
short quote
 | 
Something witty, meaningful or anything else. | 
imagename
 | 
Include "File:" but don't include [[]] | 
hover text
 | 
What text would you like to appear when the image is hovered-over? | 
bio
 | 
Some information about you and your background. | 
work
 | 
Some information about what you do. | 
contact
 | 
Contact details |