User:Richard Nevell (WMUK)/Sandbox: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
{{#if:{{{image}}}| <div style="-webkit-box-shadow:0 0 5px 1px silver; -moz-box-shadow:0 0 5px 1px silver; box-shadow:0 0 5px 1px silver; border: 5px solid white; width:200px; margin-left:auto !important; margin-right:auto !important; margin-top: 10px;">[[Image:{{{image}}}|center|200px|{{{name|Example Name}}}]]</div>}}
{{#if:{{{image}}}| <div style="-webkit-box-shadow:0 0 5px 1px silver; -moz-box-shadow:0 0 5px 1px silver; box-shadow:0 0 5px 1px silver; border: 5px solid white; width:200px; margin-left:auto !important; margin-right:auto !important; margin-top: 10px;">[[Image:{{{image}}}|center|200px|{{{name|Example Name}}}]]</div>}}
{{#if:{{{twitter|}}}|<div style="text-align:center; width:205px; margin:auto; width:100%;"></span class="plainlinks">[http://www.twitter.com/{{{twitter|}}} @{{{twitter|}}}]</span></div>}}
{{#if:{{{twitter|}}}|<div style="text-align:center; width:205px; margin:auto; width:100%;"></span class="plainlinks">[http://www.twitter.com/{{{twitter|}}} @{{{twitter|}}}]</span></div>}}
{{#if:{{{job description|}}}|<div style="text-align:center; width:205px; margin:auto; width:100%;"></span class="plainlinks">[http://www.twitter.com/{{{twitter|}}} @{{{twitter|}}}]</span></div>}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Revision as of 15:29, 18 June 2013



Documentation

All optional variables can be left blank: leave image variable in as |image = if no picture for staff member. Using an example:

{{User:Richard Nevell (WMUK)/Sandbox
| name = John Doe  (Required: Name of Staff member )
| username = John Doe (Optional: Username of staff member, no User: prefix. Will link name to wiki userpage)
| position = Head of Administration (Required: Position title. Will link to description page if exists.)
| image = Example.JPG (Optional: Image title with no File: or Image: prefixes)
| twitter = Example (Optional: Twitter handle only; no @ or URL)
| jobdescription = Running Wikimedia UK (Optional)
}}

Full example

Example name
Position
Example name
@Example



{{User:Richard Nevell (WMUK)/Sandbox
| name = Example name
| username = Example
| position = Position
| twitter = Example
| image = foo.jpg
}}