Difference between revisions of "Template:Infobox"
m |
(Testing conditional logic re: images.) |
||
Line 18: | Line 18: | ||
Output: → | Output: → | ||
</noinclude> | </noinclude> | ||
− | |||
<div class="infobox" style="width:240px;"> | <div class="infobox" style="width:240px;"> | ||
− | <div class="infobox-title">{{{ | + | <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>}} | |
<table>{{#if:{{{project|}}}|<tr> | <table>{{#if:{{{project|}}}|<tr> | ||
<th>Project</th> | <th>Project</th> |
Revision as of 09:31, 24 August 2020
A succinct infobox for individual pages.
Parameters:
| project = | deliverable-nr = | submission-date = | type = | = | = | = | = | = | =
Output: →
{{{deliverable-nr}}}Infobox
[[File:{{{image}}}|200px]]