Template:Infobox staff: Difference between revisions

From Parents
Jump to navigation Jump to search
Content deleted Content added
Set proper background color and provide example and usage
Fix color definition typo and reformat example
Line 1: Line 1:
<includeonly>
<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%, 90%;">
<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%, 90%);">
<tr>
<tr>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
<th colspan="2" style="font-size: larger;">{{{name}}}</th>
Line 28: Line 28:
}}
}}
<pre>{{Infobox staff
<pre>{{Infobox staff
|name = First Last
|name = First Last
|image = File:portrait.jpeg
|image = File:portrait.jpeg
|title = e.g. Kindergarten Teacher
|title = e.g. Kindergarten Teacher
|school = School (link)
|school = School (link)
|email = user@example.org
|email = user@example.org
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Revision as of 13:00, 8 August 2013


{{{name}}}
[[{{{image}}}|frameless]]
{{{title}}}
{{{school}}}
{{{email}}}


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