Template:TechWeb: Difference between revisions
Jump to navigation
Jump to search
(Fixed default-cases not working for empty parameters. Adjusted template to display better default cases for missing / empty parameters (cost/required/unlocks: Nothing - designs: None - techname: Unknown Technology)) |
m (Typo fix) |
||
Line 3: | Line 3: | ||
{|width = "100%" cellspacing="0" cellpadding="2" width=560 | {|width = "100%" cellspacing="0" cellpadding="2" width=560 | ||
|align=center width="120" style="background-color:#9f88d1"|'''{{#if: {{{techname|}}}|{{{techname}}}|Unknown Technology}}''' | |align=center width="120" style="background-color:#9f88d1"|'''{{#if: {{{techname|}}}|{{{techname}}}|Unknown Technology}}''' | ||
|'''Research Cost: '''{{#if: {{{cost|}}}|{{{cost}}}| | |'''Research Cost: '''{{#if: {{{cost|}}}|{{{cost}}}|None}} | ||
|} | |} | ||
{|width = "100%" cellspacing="0" cellpadding="2" width=560 | {|width = "100%" cellspacing="0" cellpadding="2" width=560 | ||
Line 38: | Line 38: | ||
!cost | !cost | ||
|2500 | |2500 | ||
|Research cost. Default: | |Research cost. Default: None | ||
|- | |- | ||
!req | !req |
Latest revision as of 20:24, 20 April 2020
About
Short details of reasearch-nodes with their prerequisites and unlocks, intended use in Tech_Webs.
Parameter-Usage
Parameter | Example | Description |
---|---|---|
techname | Neural Nanite Programming | Name of the technology. Default: Unknown Technology |
image | Nanite_techwebs.png | Icon to be displayed for the technology. Default: pai.png |
cost | 2500 | Research cost. Default: None |
req | Biological Nanite Programming | List of prerequisite technologies. Default: Nothing |
unlock | Synaptic Nanite Programming | List of technologies which are unlocked. Default: Nothing |
designs | Nerve Support, Neural Regeneration, Paralysis, Neural Shock, Host Scan | List of unlocked designs. Default: None |
Examples
Barebones
{{TechWeb}}
|
Verbous Barebones
{{TechWeb |techname= |image= |cost= |req= |unlock= |designs= }}
|
Real-life
{{TechWeb |techname = Neural Nanite Programming |image = Nanite_techwebs.png |cost = 2500 |req = Biological Nanite Programming |unlock = Synaptic Nanite Programming |designs = Nerve Support, Neural Regeneration, Paralysis, Neural Shock, Host Scan }}
|