Template:Infobox: Difference between revisions

Template page
(Created page with "<templatestyles src="InfoboxCss.css" /> <div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-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>{{{para...")
 
No edit summary
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:


<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|200px]]</div>}}
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-subtitle">{{{subtitle|}}}</div>
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
     <th>Parameter 1</th>
     <th>{{{param1_name}}}</th>
     <td>{{{param1}}}</td>
     <td>{{{param1}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{param2|}}}|<tr>
     <th>Parameter 2</th>
     <th>{{{param2_name}}}</th>
     <td>{{{param2}}}</td>
     <td>{{{param2}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{param3|}}}|<tr>
     <th>Parameter 3</th>
     <th>{{{param3_name}}}</th>
     <td>{{{param3}}}</td>
     <td>{{{param3}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{param4|}}}|<tr>
     <th>Parameter 4</th>
     <th>{{{param4_name}}}</th>
     <td>{{{param4}}}</td>
     <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{param5|}}}|<tr>
     <th>Parameter 5</th>
     <th>{{{param5_name}}}</th>
     <td>{{{param5}}}</td>
     <td>{{{param5}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Revision as of 11:34, 31 May 2024

Infobox