Difference between revisions of "Template:Infobox"

From Open Montessori
Jump to navigation Jump to search
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ infobox
+
<div class="infobox">
| abovestyle  =
+
{{#if:{{{image|}}}|
| above      =
+
<div class="infobox-image">[[File:{{{image}}}|320px]]</div>}}
| image      =
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
| caption     =
+
<table>{{#if:{{{param1|}}}|<tr>
| headerstyle =
+
    <th>Subject:</th>
| header1     =
+
     <td>{{{param1}}}</td>
| label1      =
+
</tr>}}{{#if:{{{param2|}}}|<tr>
| data1      =
+
    <th>Classroom:</th>
| header2     =
+
     <td>{{{param2}}}</td>
| label2      =
+
</tr>}}{{#if:{{{param3|}}}|<tr>
| data2      =
+
    <th>Age Range:</th>
...
+
     <td>{{{param3}}}</td>
| header20    =
+
</tr>}}{{#if:{{{param4|}}}|<tr>
| label20     =
+
    <th>Material:</th>
| data20      =
+
    <td>{{{param4}}}</td>
}}
+
</tr>}}{{#if:{{{param5|}}}|<tr>
 +
     <th>Color:</th>
 +
    <td>{{{param5}}}</td>
 +
</tr>}}</table>
 +
</div>

Latest revision as of 22:24, 6 February 2023

Infobox