Difference between revisions of "Template:Infobox"

From Kronospedia
Jump to navigation Jump to search
(Created page with "{{Infobox | name = {{{name|{{PAGENAME}}}}} | image = {{{image|}}} | caption1 = {{{caption|}}} | label1 = Former names | data1 = {{{former_names|}}} | header2 =...")
 
Line 1: Line 1:
{{Infobox
<div class="infobox">
| name    = {{{name|{{PAGENAME}}}}}
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| image   = {{{image|}}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| caption1 = {{{caption|}}}
<table>{{#if:{{{param1|}}}|<tr>
 
    <th>Parameter 1</th>
| label1  = Former names
    <td>{{{param1}}}</td>
|  data1  = {{{former_names|}}}
</tr>}}{{#if:{{{param2|}}}|<tr>
 
    <th>Parameter 2</th>
| header2  = General information
    <td>{{{param2}}}</td>
 
</tr>}}{{#if:{{{param3|}}}|<tr>
| label3  = Status
    <th>Parameter 3</th>
|  data3  = {{{status|}}}
    <td>{{{param3}}}</td>
... <!-- etc. -->
</tr>}}{{#if:{{{param4|}}}|<tr>
}}
    <th>Parameter 4</th>
    <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>

Revision as of 20:22, 21 October 2021

Infobox