Difference between revisions of "Template:Class-Infobox-Generic"

From Micylou WIKI
Jump to navigation Jump to search
m
m (Added Access variable)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
+
<div class="infobox-title">{{{title|{{#if:{{{Section|}}}|<tr> <th></th> <td>{{{Section}}}</td> </tr>}}}}}</div>
 
{{#if:{{{image|}}}|<div class="infobox-image">{{{image}}}</div>}}
 
{{#if:{{{image|}}}|<div class="infobox-image">{{{image}}}</div>}}
 
<table>
 
<table>
        {{#if:{{{Section|}}}|<tr>
 
    <th>Section: </th>
 
    <td>{{{Section}}}</td>
 
</tr>}}
 
  
 
         {{#if:{{{Source|}}}|<tr>
 
         {{#if:{{{Source|}}}|<tr>
Line 23: Line 19:
 
</tr>}}
 
</tr>}}
  
         {{#if:{{{Sub Topic|}}}|<tr>
+
         {{#if:{{{SubTopic|}}}|<tr>
    <th>Sub Topic: </th>
+
    <th>SubTopic: </th>
    <td>{{{Sub Topic}}}</td>
+
    <td>{{{SubTopic}}}</td>
 
</tr>}}
 
</tr>}}
  
Line 35: Line 31:
 
    <th>LastEdit: </th>
 
    <th>LastEdit: </th>
 
    <td>{{{LastEdit}}}</td>
 
    <td>{{{LastEdit}}}</td>
 +
</tr>}}
 +
 +
        {{#if:{{{DocumentType|}}}|<tr>
 +
    <th>Document type: </th>
 +
    <td>{{{DocumentType}}}</td>
 
</tr>}}
 
</tr>}}
  
Line 40: Line 41:
 
    <th>Status: </th>
 
    <th>Status: </th>
 
    <td>{{{Status}}}</td>
 
    <td>{{{Status}}}</td>
 +
</tr>}}
 +
 +
        {{#if:{{{Access|}}}|<tr>
 +
    <th>Access: </th>
 +
    <td>{{{Access}}}</td>
 
</tr>}}
 
</tr>}}
  
 
         </table>
 
         </table>
 
</div>
 
</div>

Latest revision as of 14:09, 5 March 2021