Difference between revisions of "Template:Infobox"

From
Jump to: navigation, search
m
m
Line 25: Line 25:
 
<div class="infobox-image">{{#if:{{{image|}}} | [[File:{{{image}}}|200px]] | [[File:ENVRI-community-logo.jpg|200px]] }}</div>
 
<div class="infobox-image">{{#if:{{{image|}}} | [[File:{{{image}}}|200px]] | [[File:ENVRI-community-logo.jpg|200px]] }}</div>
 
<table>
 
<table>
{{#if:{{{project|}}}|<tr>
+
{{#if:{{{project|}}} | <tr><th>Project</th><td>[[:Category:{{{project}}}|{{{project}}}]]</td></tr> | ABC}}
    <th>Project</th>
+
{{#if:{{{deliverable-nr|}}}|<tr>
    <td>[[:Category:{{{project}}}]]</td>
 
</tr>|}}{{#if:{{{deliverable-nr|}}}|<tr>
 
 
     <th>Deliverable nr</th>
 
     <th>Deliverable nr</th>
 
     <td>{{{deliverable-nr}}}</td>
 
     <td>{{{deliverable-nr}}}</td>

Revision as of 12:51, 24 August 2020

A succinct infobox for individual pages.

Parameters:

{{Infobox
| project = 
| deliverable-nr = 
| submission-date = 
| type = 
| = 
| = 
| = 
| = 
| = 
| = 
}}

Output: →


Infobox
ENVRI-community-logo.jpg
ABC

Document metadata