Template:User info: Difference between revisions
Jump to navigation
Jump to search
(min-height rather than height, doesn't align top & bottom in smaller resolution but at least text doesn't overflow) |
(Update) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<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:#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> | <noinclude> | ||
== Usage == | == Usage == | ||
| Line 86: | Line 65: | ||
|- | |- | ||
|<code>imagename</code> | |<code>imagename</code> | ||
|Include "File:" but don't | |Include "File:" but don't include [[]] | ||
|- | |- | ||
|<code>hover text</code> | |<code>hover text</code> | ||
|What would you like to appear when the image is hovered over? | |What text would you like to appear when the image is hovered-over? | ||
|- | |- | ||
|<code>bio</code> | |<code>bio</code> | ||
| | |Some information about you and your background. | ||
|- | |- | ||
|<code>work</code> | |<code>work</code> | ||
| | |Some information about what you do. | ||
|- | |- | ||
|<code>contact</code> | |<code>contact</code> | ||
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 |