Difference between revisions of "Template:Infobox"

From Open Montessori
Jump to navigation Jump to search
(Created page with "{{Infobox |title = An amazing Infobox |header1 = It works! |label2 = Configured by |data2 = trog }}")
 
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
+
<div class="infobox">
|title = An amazing Infobox
+
{{#if:{{{image|}}}|
|header1 = It works!
+
<div class="infobox-image">[[File:{{{image}}}|320px]]</div>}}
|label2 = Configured by
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
|data2 = trog
+
<table>{{#if:{{{param1|}}}|<tr>
}}
+
    <th>Subject:</th>
 +
    <td>{{{param1}}}</td>
 +
</tr>}}{{#if:{{{param2|}}}|<tr>
 +
    <th>Classroom:</th>
 +
    <td>{{{param2}}}</td>
 +
</tr>}}{{#if:{{{param3|}}}|<tr>
 +
    <th>Age Range:</th>
 +
    <td>{{{param3}}}</td>
 +
</tr>}}{{#if:{{{param4|}}}|<tr>
 +
    <th>Material:</th>
 +
    <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