Template:Infobox class: Difference between revisions

From Parents
Jump to navigation Jump to search
(Add trailing "}}")
(Darken background of teacher header more)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox table|1=<tr>
<includeonly>{{Infobox table|1=<tr>
<th style="font-size: larger;">{{{teacher}}}'s {{{year}}}
<th>{{{teacher_class_name}}}'s {{{year}}}
<br/>{{{grade}}} Class{{#if:{{{image|}}}|
<br/>{{{grade}}} Class{{#if:{{{image|}}}|
<br/>[[{{{image}}}|frameless]]|}}</tr>}}</includeonly><noinclude>
<br/>[[{{{image}}}|frameless]]|}}</tr>
<tr>
<th style="background: hsl(0, 0%, 95%);">{{{teacher_page}}}</th>
</tr>{{#if:{{{teacher_email|}}}{{{teacher_phone}}}|
{{#if:{{{teacher_email}}}|<tr>
<td style="text-align: center;">[mailto:{{{teacher_email}}} {{{teacher_email}}}]</td>
</tr>|}}
{{#if:{{{teacher_phone}}}|<tr>
<td style="text-align: center;">{{{teacher_phone}}}</td>
</tr>|}}|}}}}</includeonly><noinclude>
{{Infobox class
{{Infobox class
|teacher = {{{teacher}}}
|year = {{{year}}}
|year = {{{year}}}
|grade = {{{grade}}}
|grade = {{{grade}}}
|image = {{{image}}}
|image = {{{image}}}
|teacher_page = {{{teacher_page}}}
|teacher_class_name = {{{teacher_class_name}}}
|teacher_email = {{{teacher_email}}}
}}
}}
<pre>
<pre>
{{Infobox class
{{Infobox class
|year = e.g. 2013-2014
|teacher = Ms. Teacher
|grade = First Grade, Kindergarten, Pre-K, etc.
|year = e.g. 2013-2014
|image = File:class.jpeg
|grade = First Grade, Kindergarten, etc.
|teacher_page = [[Ms. Teacher]]
|image = File:class.jpeg
|teacher_class_name = Ms. Lastname, Mr. Firstname, etc.
|teacher_email = teacher@example.edu
}}
}}
</pre>
</pre>

Latest revision as of 18:34, 8 August 2013

{{{teacher_class_name}}}'s {{{year}}}
{{{grade}}} Class
[[{{{image}}}|frameless]]
{{{teacher_page}}}
{{{teacher_email}}}
{{{teacher_phone}}}
{{Infobox class
|year               = e.g. 2013-2014
|grade              = First Grade, Kindergarten, Pre-K, etc.
|image              = File:class.jpeg
|teacher_page       = [[Ms. Teacher]]
|teacher_class_name = Ms. Lastname, Mr. Firstname, etc.
|teacher_email      = teacher@example.edu
}}