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...")
 
(Add class)
 
(26 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="infobox">
{| class="wikitable infobox" style="width:400px;float:right;margin-left:100px;margin-right:50px"
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
!colspan="2" | Organelle Details
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
|-
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
! style="font-size:128%;padding-bottom:10px;padding-top:10px;width:200px;"| {{{organelle}}}
    <th>Parameter 1</th>
| style="background-color:#002124bf;| [[File:{{{icon}}}|center|100px]]
    <td>{{{param1}}}</td>
|-
</tr>}}{{#if:{{{param2|}}}|<tr>
!colspan="2" | [[File:{{{image}}}|300px]]
    <th>Parameter 2</th>
|-
    <td>{{{param2}}}</td>
! Base Cost (MP)
</tr>}}{{#if:{{{param3|}}}|<tr>
| id="info-box-cost" | {{{cost}}}
    <th>Parameter 3</th>
|-
    <td>{{{param3}}}</td>
! Requires Nucleus
</tr>}}{{#if:{{{param4|}}}|<tr>
| id="info-box-requires-nucleus" | {{{requiresNucleus}}}
    <th>Parameter 4</th>
|-
    <td>{{{param4}}}</td>
! Processes
</tr>}}{{#if:{{{param5|}}}|<tr>
| id="info-box-processes" | {{{processes}}}
    <th>Parameter 5</th>
|-
    <td>{{{param5}}}</td>
! Enzymes
</tr>}}</table>
| id="info-box-enzymes" | {{{enzymes}}}
</div>
|-
! Size (Hexes)
| id="info-box-size" | {{{size}}}
|-
! Osmoregulation Cost
| id="info-box-osmoregulation-cost" | {{{osmoregulationCost}}}
|-
! Storage
| id="info-box-storage" | {{{storage}}}
|-
! Unique
| id="info-box-unique" | {{{unique}}}
|-
! Upgrades
| id="info-box-upgrades" | {{{upgrades}}}
|-
! Internal Name
| id="info-box-internal-name" | {{{internalName}}}
|-
|}

Latest revision as of 14:48, 25 Ocak 2024

Organelle Details
{{{organelle}}} [[File:{{{icon}}}|center|100px]]
[[File:{{{image}}}|300px]]
Base Cost (MP) {{{cost}}}
Requires Nucleus {{{requiresNucleus}}}
Processes {{{processes}}}
Enzymes {{{enzymes}}}
Size (Hexes) {{{size}}}
Osmoregulation Cost {{{osmoregulationCost}}}
Storage {{{storage}}}
Unique {{{unique}}}
Upgrades {{{upgrades}}}
Internal Name {{{internalName}}}