Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<templatestyles src="Infobox/styles.css"/>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
{{#invoke:Infobox|render
{{#if:{{{image|}}}|
| title={{{title|{{PAGENAME}}}}}
<div class="infobox-image">
| image={{{image|}}}
  <img src="{{{image}}}" alt="{{{title|{{PAGENAME}}}}}" style="width:300px;" />
| width={{{width|300}}}
</div>}}
| order={{{order|}}}
<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>{{{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>

Latest revision as of 23:22, 9 August 2025

<templatestyles src="Infobox/styles.css"/>

Infobox