Difference between revisions of "Template:Tech"

From Stellaris Wiki
Jump to navigation Jump to search
(Added border for special techs)
(Expanded to include more options)
Line 1: Line 1:
<includeonly><span style="color:#8900CE;{{#if:{{{2|}}}|border-radius:6px;box-shadow: 0 0 3px 4px #db9730;padding:3px;|}}">'''{{{1}}}'''</span></includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>
+
<includeonly><span style="{{#Switch: {{{1}}}
 +
| rare1 = color:#8900CE;
 +
| rare2 = color:#8900CE; border-radius:6px;box-shadow: 0 0 3px 4px #db9730;padding:3px;
 +
| valid = border-radius:6px;box-shadow: 0 0 3px 4px #db9730;padding:3px;
 +
| repeat = border-radius:6px; box-shadow: 0 0 3px 4px #9acd32; padding:3px;
 +
"}}>'''{{{2}}}'''</span></includeonly><noinclude>{{template doc}}[[Category:Templates]]</noinclude>

Revision as of 23:26, 28 April 2016

[view] [edit]Template-info.png Template documentation

This template bolds and colors the parameter to signify that it is different from other technologies.

Usage

Syntax
{{tech|style|Technology_Name}}
Style Used for Example
acquire Technology that is only acquired via event or debris analysis Amoeba Breeding Program
danger Dangerous technology that may anger other empires and trigger end-game crisis Psi Jump Drives
rare Rare technology Selected Lineages
repeat Repeatable technology (end tech) Nerve Dampeners
start Starting technology Hydroponics