Template:User info: Difference between revisions
Jump to navigation
Jump to search
(add markup to emit hCard microformat) |
m (better) |
||
| Line 3: | Line 3: | ||
<tr> | <tr> | ||
<td class="onglet" style="text-align: center; padding: 0.3em; 0; font-size: 100%; {{#ifeq:{{FULLPAGENAME}}|User:{{BASEPAGENAME}}|background: #108de6; background: -moz-linear-gradient(top, #108de6 0%, #7db9e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#108de6), color-stop(100%,#7db9e8)); background: -webkit-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -o-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -ms-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: linear-gradient(top, #108de6 0%,#7db9e8 100%);|background-color:transparent;}} -moz-border-radius: 7px 0 0 7px; -webkit-border-radius: 7px 0 0 7px; border-radius: 7px 0 0 7px;" width="14.666666666667%"> | <td class="onglet" style="text-align: center; padding: 0.3em; 0; font-size: 100%; {{#ifeq:{{FULLPAGENAME}}|User:{{BASEPAGENAME}}|background: #108de6; background: -moz-linear-gradient(top, #108de6 0%, #7db9e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#108de6), color-stop(100%,#7db9e8)); background: -webkit-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -o-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -ms-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: linear-gradient(top, #108de6 0%,#7db9e8 100%);|background-color:transparent;}} -moz-border-radius: 7px 0 0 7px; -webkit-border-radius: 7px 0 0 7px; border-radius: 7px 0 0 7px;" width="14.666666666667%"> | ||
[[User:{{BASEPAGENAME}}|<span style="color:#{{#ifeq:{{FULLPAGENAME}}|User:{{BASEPAGENAME}}|fcfcfc|000}};">'''About | [[User:{{BASEPAGENAME}}|<span style="color:#{{#ifeq:{{FULLPAGENAME}}|User:{{BASEPAGENAME}}|fcfcfc|000}};">'''About me'''</span>]]</td> | ||
<td class="onglet" style="text-align: center; padding: 0.3em; border-left:1px solid #C2dfff; font-size: 100%; {{#ifeq:{{FULLPAGENAME}}|Help:Contents|background: #108de6; background: -moz-linear-gradient(top, #108de6 0%, #7db9e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#108de6), color-stop(100%,#7db9e8)); background: -webkit-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -o-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -ms-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: linear-gradient(top, #108de6 0%,#7db9e8 100%);|background-color:transparent;}}" width="14.666666666667%"> | <td class="onglet" style="text-align: center; padding: 0.3em; border-left:1px solid #C2dfff; font-size: 100%; {{#ifeq:{{FULLPAGENAME}}|Help:Contents|background: #108de6; background: -moz-linear-gradient(top, #108de6 0%, #7db9e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#108de6), color-stop(100%,#7db9e8)); background: -webkit-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -o-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: -ms-linear-gradient(top, #108de6 0%,#7db9e8 100%); background: linear-gradient(top, #108de6 0%,#7db9e8 100%);|background-color:transparent;}}" width="14.666666666667%"> | ||
'''[[Staff|<span style="color:#{{#ifeq:{{{FULLPAGENAME}}|Staff|fcfcfc|000}};">Other staff</span>]]'''</td> | '''[[Staff|<span style="color:#{{#ifeq:{{{FULLPAGENAME}}|Staff|fcfcfc|000}};">Other staff</span>]]'''</td> | ||
| Line 24: | Line 24: | ||
<div style="float:left; margin-top:-10px; margin-right:50px; color:#000; text-align:left; font-size:42px; font-family:Calibri, Verdana, Arial, sans-serif; line-height:0.5em;"> | <div style="float:left; margin-top:-10px; margin-right:50px; color:#000; text-align:left; font-size:42px; font-family:Calibri, Verdana, Arial, sans-serif; line-height:0.5em;"> | ||
<p style="margin:15px 0 0;">'''{{{name|John Doe}}}'''</p> | <p style="margin:15px 0 0;">'''<span class="fn">{{{name|John Doe}}}</span>'''</p> | ||
<div style="font-size: 24px; line-height7px;"><span class="title">{{#ifexist:{{{job title|job title}}}|[[{{{job title|job title}}}]]|{{{job title|Mouse-chaser}}}}}</span>, <span class="org">{{{organisation|Wikimedia UK}}}</span></div> | <div style="font-size: 24px; line-height7px;"><span class="title">{{#ifexist:{{{job title|job title}}}|[[{{{job title|job title}}}]]|{{{job title|Mouse-chaser}}}}}</span>, <span class="org">{{{organisation|Wikimedia UK}}}</span></div> | ||
<div style="padding-top: 10px; font-size: 15px;"><i>{{{short quote|}}}</i></div> | <div style="padding-top: 10px; font-size: 15px;"><i>{{{short quote|}}}</i></div> | ||
Revision as of 17:20, 15 June 2012
|
Biography foo |
What I do foo |
Contact me foo |
Usage
{{Staff userpage
|name=
|job title=
|organisation=
|short quote=
|imagename=
|hover text=
|bio=
|work=
|contact=
}}
Parameters
| Parameter | Explanation |
|---|---|
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 link it. |
hover text
|
What would you like to appear when the image is hovered over? |
bio
|
This parameter is pretty self-explanatory. |
work
|
What do you do at Wikimedia UK? |
contact
|
Contact details |