Difference between revisions of "Template:ArtworkInfo"

From jdcrp-wikibase
Jump to navigation Jump to search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<table>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
+
<tr>
<table>{{#if:{{{param1|}}}|<tr>
+
    <th>preferred artist</th>
     <th>Parameter 1</th>
+
    <td>{{{preferred_artist}}}</td>
     <td>{{{param1}}}</td>
+
</tr>
</tr>}}{{#if:{{{param2|}}}|<tr>
+
<tr>
     <th>Parameter 2</th>
+
     <th>title English</th>
     <td>{{{param2}}}</td>
+
     <td>{{{title_en}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
+
</tr>
     <th>Parameter 3</th>
+
<tr>
     <td>{{{param3}}}</td>
+
     <th>title German</th>
</tr>}}{{#if:{{{param4|}}}|<tr>
+
     <td>{{{title_de}}}</td>
     <th>Parameter 4</th>
+
</tr>
     <td>{{{param4}}}</td>
+
<tr>
</tr>}}{{#if:{{{param5|}}}|<tr>
+
     <th>title French</th>
     <th>Parameter 5</th>
+
     <td>{{{title_fr}}}</td>
     <td>{{{param5}}}</td>
+
</tr>
</tr>}}</table>
+
<tr>
 +
     <th>Schloss Ger. No</th>
 +
     <td>{{{schloss_german_no}}}</td>
 +
</tr>
 +
<tr>
 +
     <th>Schloss Fr. No</th>
 +
     <td>{{{schloss_french_no}}}</td>
 +
</tr>
 +
</table>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 19:50, 29 July 2021