Template:Infobox class: Difference between revisions

From Parents
Jump to navigation Jump to search
No edit summary
(Add teacher page, email and phone)
Line 1: Line 1:
<includeonly>{{Infobox table|1=<tr>
<includeonly>{{Infobox table|1=<tr>
<th>{{{teacher}}}'s {{{year}}}
<th>{{{teacher_class_name}}}'s {{{year}}}
<br/>{{{grade}}} Class{{#if:{{{image|}}}|
<br/>{{{grade}}} Class{{#if:{{{image|}}}|
<br/>[[{{{image}}}|frameless]]|}}</tr>{{#if:{{{teacher_email|}}}|
<br/>[[{{{image}}}|frameless]]|}}</tr>
<tr>
<tr>
<td>[mailto:{{{teacher_email}}} {{{teacher_email}}}]</td>
<th>[[{{{teacher_page}}}|Leslay Durant]]</th>
</tr>{{#if:{{{teacher_email|}}}{{{teacher_phone}}}|
<tr>
{{#if:{{{teacher_email}}}|<td style="text-align: center;">[mailto:{{{teacher_email}}} {{{teacher_email}}}]</td>|}}
{{#if:{{{teacher_phone}}}|<td style="text-align: center;">{{{teacher_phone}}}</td>|}}
</tr>|}}}}</includeonly><noinclude>
</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}}}
|teacher_email = {{{teacher_email}}}
}}
}}
<pre>
<pre>
{{Infobox class
{{Infobox class
|teacher = Ms. Teacher
|year = e.g. 2013-2014
|year = e.g. 2013-2014
|grade = First Grade, Kindergarten, Pre-K, etc.
|grade = First Grade, Kindergarten, etc.
|image = File:class.jpeg
|image = File:class.jpeg
|teacher_page = [[Ms. Teacher]]
|teacher_class_name = Ms. Lastname, Mr. Firstname, etc.
|teacher_email = teacher@example.edu
|teacher_email = teacher@example.edu
}}
}}
</pre>
</pre>

Revision as of 18:17, 8 August 2013

{{{teacher_class_name}}}'s {{{year}}}
{{{grade}}} Class
[[{{{image}}}|frameless]]
[[{{{teacher_page}}}|Leslay Durant]]
{{{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
}}