Difference between revisions of "Template:Infobox"

From wilderness.ordvac.com
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">{{#if:{{{title|}}}|
<div class="infobox-title">{{{title}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title}}}</div>}}{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
{{#if:{{{html5|}}}|<div>
    <th>Parameter 1</th>
{{{html5}}}
    <td>{{{param1}}}</td>
</div>}}
</tr>}}{{#if:{{{param2|}}}|<tr>
    <th>Parameter 2</th>
    <td>{{{param2}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
    <th>Parameter 3</th>
    <td>{{{param3}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
    <th>Parameter 4</th>
    <td>{{{param4}}}</td>
</tr>}}</table>
</div>
</div>
{{#if:{{{html|}}}|<div>
{{{html}}}
</div>}}

Latest revision as of 20:16, 4 March 2023