Difference between revisions of "Template:ArtworkInfo"

From jdcrp-wikibase
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
+
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
</div>}}
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{measurements|}}}|<tr>
+
<table>{{#if:{{{param1|}}}|<tr>
     <th>measurements</th>
+
    <th>Parameter 1</th>
     <td>{{{measurements}}}</td>
+
    <td>{{{param1}}}</td>
 +
</tr>}}{{#if:{{{param2|}}}|<tr>
 +
    <th>Parameter 2</th>
 +
    <td>{{{param2}}}</td>
 +
</tr>}}{{#if:{{{param3|}}}|<tr>
 +
    <th>Parameter 3</th>
 +
    <td>{{{param3}}}</td>
 +
</tr>}}{{#if:{{{param4|}}}|<tr>
 +
    <th>Parameter 4</th>
 +
    <td>{{{param4}}}</td>
 +
</tr>}}{{#if:{{{param5|}}}|<tr>
 +
     <th>Parameter 5</th>
 +
     <td>{{{param5}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 17:53, 29 July 2021