Template:Infobox class: Difference between revisions
Jump to navigation
Jump to search
(Remove extraneous "|") |
(Darken background of teacher header more) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox table|1=<tr> |
<includeonly>{{Infobox table|1=<tr> |
||
<th |
<th>{{{teacher_class_name}}}'s {{{year}}} |
||
<br/>{{{grade}}} Class{{#if:{{{image|}}}| |
<br/>{{{grade}}} Class{{#if:{{{image|}}}| |
||
<br/>[[{{{image}}}|frameless]]|}}</tr |
<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 |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|teacher_class_name = Ms. Lastname, Mr. Firstname, etc. |
|||
|teacher_email = teacher@example.edu |
|||
}} |
|||
</pre> |
</pre> |
||
</noinclude> |
</noinclude> |
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 }}