Template:InfoBox: Difference between revisions

Template page
(Created page with "{| class="wikitable" ! colspan="2" style="text-align: center;" | {{{title}}} |- | date | {{{date}}} |- | genre | {{{genre}}} |- | mode | {{{mode}}} |}")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" ! colspan="2" style="text-align: center;" | {{{title}}} |- | date | {{{date}}} |- | genre | {{{genre}}} |- | mode | {{{mode}}} |}
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
    <th>Parameter 1</th>
    <td>{{{param1}}}</td>
</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>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>
 
<templatestyles src="Template:InfoBox/styles.css"/>
<noinclude>{{/doc}}</noinclude>

Latest revision as of 22:08, 18 December 2022

InfoBox

Template:InfoBox/doc