Difference between revisions of "Template:Infobox"

From Inscryption Modding Wiki
Jump to navigation Jump to search
m (removed space in param "line2")
(custom label names)
Line 3: Line 3:
 
<div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
 
<div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
 
<table>{{#if:{{{line1|}}}|<tr>
 
<table>{{#if:{{{line1|}}}|<tr>
     <th>Line 1</th>
+
     <th>{{{label1}}}</th>
 
     <td>{{{line1}}}</td>
 
     <td>{{{line1}}}</td>
 
</tr>}}{{#if:{{{line2|}}}|<tr>
 
</tr>}}{{#if:{{{line2|}}}|<tr>
     <th>Line 2</th>
+
     <th>{{{label2}}}</th>
 
     <td>{{{line2}}}</td>
 
     <td>{{{line2}}}</td>
 
</tr>}}{{#if:{{{line3|}}}|<tr>
 
</tr>}}{{#if:{{{line3|}}}|<tr>
     <th>Line 3</th>
+
     <th>{{{label3}}}</th>
 
     <td>{{{line3}}}</td>
 
     <td>{{{line3}}}</td>
 
</tr>}}{{#if:{{{etc|}}}|<tr>
 
</tr>}}{{#if:{{{etc|}}}|<tr>
     <th>etc.</th>
+
     <th>{{{labeletc}}}</th>
 
     <td>{{{etc}}}</td>
 
     <td>{{{etc}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Revision as of 20:18, 29 January 2022

Infobox