Template:Infobox staff: Difference between revisions

From Parents
Jump to navigation Jump to search
(Testing background)
(Remove extraneous "|")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox table|1=<tr>
<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-color: red;">
<tr>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
</tr>
</tr>
{{#if:{{{image|}}}|<tr>
{{#if:{{{image|}}}|<tr>
<th colspan="2">[[{{{image}}}|frameless]]</th>
<th colspan="2">[[{{{image}}}|frameless]]</th>
</tr>||}}
</tr>|}}
{{#if:{{{title|}}}|<tr>
<th colspan="2">{{{title}}}</th>
</tr>||}}
<tr>
<tr>
<td colspan="2" style="text-align: center; font-size: smaller;">{{{school}}}</td>
<td colspan="2" style="text-align: center;"><strong>{{{title}}}</strong> <br/><span style="font-size: smaller;">{{{school}}}</span></td>
</tr>
</tr>
{{#if:{{{email|}}}{{{phone|}}}|<tr>
{{#if:{{{email|}}}{{{phone|}}}|<tr>
{{#if:{{{email|}}}|<td colspan="2" style="text-align: center;">[mailto:{{{email}}} {{{email}}}]</td>||}}
<td colspan="2" style="text-align: center;">{{#if:{{{email|}}}|[mailto:{{{email}}} {{{email}}}]{{#if:{{{phone|}}}| <br/>|}}|}}{{#if:{{{phone|}}}|{{{phone}}}|}}</td>
</tr>|}}}}</includeonly><noinclude>
{{#if:{{{phone|}}}|<td colspan="2" style="text-align: center;">{{{phone}}}</td>||}}
</tr>||}}
</table>
</includeonly>
<noinclude>
{{Infobox staff
{{Infobox staff
|name = First/Last Name
|name = {{{name}}}
|image = File:portrait.jpeg
|image = {{{image}}}
|title = Grade Teacher
|title = {{{title}}}
|school = [[Sagamore Hills Elementary School]]
|school = {{{school}}}
|email = kamilah_a_danhi@fc.dekalb.k12.ga.us
|email = {{{email}}}
|phone = {{{phone}}}
}}
}}
<pre>{{Infobox staff
<pre>{{Infobox staff
|name = Kamilah Danhi
|name = First Last
|image = File:2012-12-21 Danhi Class (8).jpeg
|image = File:portrait.jpeg
|title = Kindergarten Teacher
|title = e.g. Kindergarten Teacher
|school = [[Sagamore Hills Elementary School]]
|school = School (link)
|email = kamilah_a_danhi@fc.dekalb.k12.ga.us
|email = user@example.org
|phone = 000-000-0000
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 15:40, 8 August 2013

{{{name}}}
[[{{{image}}}|frameless]]
{{{title}}}
{{{school}}}
{{{email}}}
{{{phone}}}
{{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
}}