Template:OrganelleInfoBox: Difference between revisions

From Thrive Developer Wiki
Jump to navigation Jump to search
(Created page with "<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>{{{param3}}}</td> </tr>}}{{#if:{{{param4|}}}|<tr...")
 
No edit summary
Line 1: Line 1:
<div class="infobox">
{| style="float:right;border:1px solid black"
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
!colspan="2" | {{name}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
|-
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
!colspan="2" | [[File:Example image.svg|260px]]
    <th>Parameter 1</th>
|-
    <td>{{{param1}}}</td>
! Info
</tr>}}{{#if:{{{param2|}}}|<tr>
| Stuff
    <th>Parameter 2</th>
|-
    <td>{{{param2}}}</td>
! More Info
</tr>}}{{#if:{{{param3|}}}|<tr>
| More Stuff
    <th>Parameter 3</th>
|-
    <td>{{{param3}}}</td>
! And Info
</tr>}}{{#if:{{{param4|}}}|<tr>
| Again Stuff
    <th>Parameter 4</th>
|}
    <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>

Revision as of 17:41, 2 October 2023

Template:Name
Example image.svg
Info Stuff
More Info More Stuff
And Info Again Stuff