Template:Infobox: Difference between revisions

Template page
(Created page with "<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>...")
 
No edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
<table>{{#if:{{{Debut|}}}|<tr>
     <th>Parameter 1</th>
     <th>Debut</th>
     <td>{{{param1}}}</td>
     <td>{{{Debut}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{Appearances|}}}|<tr>
     <th>Parameter 2</th>
     <th>Appearances</th>
     <td>{{{param2}}}</td>
     <td>{{{param2}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{Role(s)|}}}|<tr>
     <th>Parameter 3</th>
     <th>Role(s)</th>
     <td>{{{param3}}}</td>
     <td>{{{Role(s)}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{Kills|}}}|<tr>
     <th>Parameter 4</th>
     <th>Kills</th>
     <td>{{{param4}}}</td>
     <td>{{{Kills}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{Deaths|}}}|<tr>
     <th>Parameter 5</th>
     <th>Deaths</th>
     <td>{{{param5}}}</td>
     <td>{{{Deaths}}}</td>
</tr>}}{{#if:{{{Allies|}}}|<tr>
    <th>Allies</th>
    <td>{{{Allies}}}</td>
</tr>}}{{#if:{{{Enemies|}}}|<tr>
    <th>Enemies</th>
    <td>{{{Enemies}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 20:36, 3 October 2022

Infobox