Difference between revisions of "Template:Infobox"

From Open Montessori
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
<div class="infobox-image">[[File:{{{image}}}|320px]]</div>}}
 
<div class="infobox-image">[[File:{{{image}}}|320px]]</div>}}
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<table>{{#if:{{{Param1|}}}|<tr>
+
<table>{{#if:{{{param1|}}}|<tr>
 
     <th>Subject:</th>
 
     <th>Subject:</th>
     <td>Subject</td>
+
     <td>{{{param1}}}</td>
</tr>}}{{#if:{{{Classroom|}}}|<tr>
+
</tr>}}{{#if:{{{param2|}}}|<tr>
 
     <th>Classroom:</th>
 
     <th>Classroom:</th>
     <td>{{{Classroom}}}</td>
+
     <td>{{{param2}}}</td>
 
</tr>}}{{#if:{{{param3|}}}|<tr>
 
</tr>}}{{#if:{{{param3|}}}|<tr>
 
     <th>Age Range:</th>
 
     <th>Age Range:</th>
     <td>{{{Age Range}}}</td>
+
     <td>{{{param3}}}</td>
 
</tr>}}{{#if:{{{param4|}}}|<tr>
 
</tr>}}{{#if:{{{param4|}}}|<tr>
 
     <th>Material:</th>
 
     <th>Material:</th>
     <td>{{{Material}}}</td>
+
     <td>{{{param4}}}</td>
 
</tr>}}{{#if:{{{param5|}}}|<tr>
 
</tr>}}{{#if:{{{param5|}}}|<tr>
 
     <th>Color:</th>
 
     <th>Color:</th>
     <td>{{{Color}}}</td>
+
     <td>{{{param5}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Latest revision as of 22:24, 6 February 2023

Infobox