Template:Infobox staff: Difference between revisions

From Parents
Jump to navigation Jump to search
(Remove whitespace that's affecting formatting)
(Use Template:Infobox table)
Line 1: Line 1:
<includeonly>{{Infobox table|<tr>
<includeonly><table class="infobox" style="float: right; clear: right; margin: 0 0 2em 2em; border: thin solid; padding: 0 0.5em; box-sizing: border-box; width: 20em; max-width: 33.3%; background: hsl(0, 0%, 98%);">
<tr>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
</tr>
</tr>
Line 11: Line 10:
{{#if:{{{email|}}}{{{phone|}}}|<tr>
{{#if:{{{email|}}}{{{phone|}}}|<tr>
<td colspan="2" style="text-align: center;">{{#if:{{{email|}}}|[mailto:{{{email}}} {{{email}}}]{{#if:{{{phone|}}}| <br/>||}}||}}{{#if:{{{phone|}}}|{{{phone}}}||}}</td>
<td colspan="2" style="text-align: center;">{{#if:{{{email|}}}|[mailto:{{{email}}} {{{email}}}]{{#if:{{{phone|}}}| <br/>||}}||}}{{#if:{{{phone|}}}|{{{phone}}}||}}</td>
</tr>||}}
</tr>||}}}}</includeonly><noinclude>
</table></includeonly><noinclude>
{{Infobox staff
{{Infobox staff
|name = {{{name}}}
|name = {{{name}}}

Revision as of 14:14, 8 August 2013

{{{1}}}
{{Infobox staff
|name   = First Last
|image  = File:portrait.jpeg
|title  = e.g. Kindergarten Teacher
|school = School (link)
|email  = user@example.org
|phone  = 000-000-0000
}}