Difference between revisions of "Template:Infobox"

From Inscryption Modding Wiki
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|200px]]</div>}} <table>{{#if:{...")
 
(more labels)
 
(2 intermediate revisions by the same user not shown)
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>{{{line 2}}}</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:{{{line4|}}}|<tr>
     <th>etc.</th>
+
     <th>{{{label4}}}</th>
     <td>{{{etc}}}</td>
+
    <td>{{{line4}}}</td>
 +
</tr>}}{{#if:{{{line5|}}}|<tr>
 +
    <th>{{{label5}}}</th>
 +
     <td>{{{line5}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Latest revision as of 03:23, 30 January 2022

Infobox