Difference between revisions of "Template:TechInfoBox"
(very basic template) |
m (Removed errant quotation marks) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly><table class="wikitable" style="float: right;max-width:18pc;"> |
− | + | <tr> | |
− | + | <th colspan="2">{{{technology|{{PAGENAME}}}}}</th> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td colspan="2"><center>{{{logo}}}</center></td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td colspan="2"><center>“{{{desc}}}”</center></td> | |
− | + | </tr> | |
− | + | <tr> | |
+ | <td>Requires</td> | ||
+ | <td>{{#if:{{{preq|}}}|{{#ifeq:{{{preq}}}|Disable|Unavailable|[[{{tlong|{{{preq}}}}}]]}}|None}}{{#if:{{{preq2|}}}|, [[{{tlong|{{{preq2}}}}}]]}}</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Leads to</td> | ||
+ | <td>{{#if:{{{enables|}}}|[[{{tlong|{{{enables}}}}}]]|None}}{{#if:{{{enables2|}}}|, [[{{tlong|{{{enables2}}}}}]]}}{{#if:{{{enables3|}}}|, [[{{tlong|{{{enables3}}}}}]]}}{{#if:{{{enables4|}}}|, [[{{tlong|{{{enables4}}}}}]]}}</td> | ||
+ | </tr>{{#if:{{{beeline|}}}| | ||
+ | <tr> | ||
+ | <td>{{tt|Minimum number of techs required to reach this tech|Beeline techs}}</td> | ||
+ | <td>{{{beeline}}}</td> | ||
+ | </tr>}}{{#if:{{{level|}}}| | ||
+ | <tr> | ||
+ | <td>Tech level</td> | ||
+ | <td>{{{level}}}</td> | ||
+ | </tr>}}{{#if:{{{terraform|}}}{{{chassis|}}}{{{reactor|}}}{{{weapon|}}}{{{armor|}}}{{{ability|}}}{{{unit|}}}{{{facility|}}}{{{secret project|}}}{{{specialist|}}}{{{social|}}}{{{proposal|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2"><center>'''Enables'''</center></td> | ||
+ | </tr>{{#if:{{{terraform|}}}| | ||
+ | <tr> | ||
+ | <td>[[Terraform]]</td> | ||
+ | <td>{{{terraform}}}</td> | ||
+ | </tr>}}{{#if:{{{chassis|}}}| | ||
+ | <tr> | ||
+ | <td>[[Chassis]]</td> | ||
+ | <td>{{{chassis}}}</td> | ||
+ | </tr>}}{{#if:{{{reactor|}}}| | ||
+ | <tr> | ||
+ | <td>[[Reactor]]</td> | ||
+ | <td>{{{reactor}}}</td> | ||
+ | </tr>}}{{#if:{{{weapon|}}}| | ||
+ | <tr> | ||
+ | <td>[[Weapon]]</td> | ||
+ | <td>{{{weapon}}}</td> | ||
+ | </tr>}}{{#if:{{{armor|}}}| | ||
+ | <tr> | ||
+ | <td>[[Armor]]</td> | ||
+ | <td>{{{armor}}}</td> | ||
+ | </tr>}}{{#if:{{{ability|}}}| | ||
+ | <tr> | ||
+ | <td>[[Ability]]</td> | ||
+ | <td>{{{ability}}}</td> | ||
+ | </tr>}}{{#if:{{{unit|}}}| | ||
+ | <tr> | ||
+ | <td>[[Unit]]</td> | ||
+ | <td>{{{unit}}}</td> | ||
+ | </tr>}}{{#if:{{{facility|}}}| | ||
+ | <tr> | ||
+ | <td>[[Facility]]</td> | ||
+ | <td>{{{facility}}}</td> | ||
+ | </tr>}}{{#if:{{{secret project|}}}| | ||
+ | <tr> | ||
+ | <td style="min-width:5.5pc;">[[Secret Project]]</td> | ||
+ | <td>{{{secret project}}}</td> | ||
+ | </tr>}}{{#if:{{{specialist|}}}| | ||
+ | <tr> | ||
+ | <td>[[Specialist]]</td> | ||
+ | <td>{{{specialist}}}</td> | ||
+ | </tr>}}{{#if:{{{social|}}}| | ||
+ | <tr> | ||
+ | <td>[[Social choice]]</td> | ||
+ | <td>{{{social}}}</td> | ||
+ | </tr>}}{{#if:{{{proposal|}}}| | ||
+ | <tr> | ||
+ | <td>[[Council proposal]]</td> | ||
+ | <td>{{{proposal}}}</td> | ||
+ | </tr>}}}}{{#if:{{{fungnut|}}}{{{fungmin|}}}{{{fungenergy|}}}{{{genewardefense|}}}{{{genewar|}}}{{{revealmap|}}}{{{commerce|}}}{{{probemorale|}}}{{{secrets|}}}{{{misc|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2"><center>'''Bonuses'''</center></td> | ||
+ | </tr>{{#if:{{{fungnut|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">+1 [[nutrient]] production in fungus</td> | ||
+ | </tr>}}{{#if:{{{fungmin|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">+1 [[mineral]] production in fungus</td> | ||
+ | </tr>}}{{#if:{{{fungenergy|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">+1 [[energy]] production in fungus</td> | ||
+ | </tr>}}{{#if:{{{genewardefense|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">Increases defense against [[genetic warfare]]</td> | ||
+ | </tr>}}{{#if:{{{genewar|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">Allows [[genetic warfare]] atrocity</td> | ||
+ | </tr>}}{{#if:{{{revealmap|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">Reveals map</td> | ||
+ | </tr>}}{{#if:{{{commerce|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">+1 [[commerce]]</td> | ||
+ | </tr>}}{{#if:{{{probemorale|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">Improves [[Probe Team]] morale</td> | ||
+ | </tr>}}{{#if:{{{secrets|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">"Secrets": first discoverer gains free tech</td> | ||
+ | </tr>}}{{#if:{{{misc|}}}| | ||
+ | <tr> | ||
+ | <td colspan="2">{{{misc}}}</td> | ||
+ | </tr>}}}} | ||
+ | <tr> | ||
+ | <td colspan="2"><center>'''AI priority'''</center></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td colspan="2"><center>[[Conquer]]: {{{military}}}, [[Discover]]: {{{tech}}}, [[Build]]: {{{infra}}}, [[Explore]]: {{{colonize}}}</center></td> | ||
+ | </tr> | ||
+ | </table><div style="float: right;border:2.5px solid #0000FF;-moz-border-radius:5px;border-radius:5px;padding:10px">{{{quote}}}</div>[[Category:Technologies]]</includeonly><noinclude> | ||
+ | [[Category:Infoboxes]] | ||
+ | </noinclude> |