Difference between revisions of "Template:Infobox"

From
Jump to: navigation, search
m
m
Line 24: Line 24:
 
<div class="infobox-title">{{#if:{{{deliverable-nr|}}} | {{{deliverable-nr}}} {{PAGENAME}} | {{PAGENAME}} }}</div>
 
<div class="infobox-title">{{#if:{{{deliverable-nr|}}} | {{{deliverable-nr}}} {{PAGENAME}} | {{PAGENAME}} }}</div>
 
<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>{{#if:{{{project|}}}|<tr>
+
<table>
 +
{{#if:{{{project|}}}|<tr>
 
     <th>Project</th>
 
     <th>Project</th>
 
     <td>[[:Category:{{{project}}}|{{{project}}}]]</td>
 
     <td>[[:Category:{{{project}}}|{{{project}}}]]</td>
<tr>}}{{#if:{{{deliverable-nr|}}}|<tr>
+
<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:40, 24 August 2020

A succinct infobox for individual pages.

Parameters:

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

Output: →