Template:TechWeb: Difference between revisions

From Yogstation-13
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}}}|Nothing}}
|'''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: Nothing
|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}}
Unknown Technology Research Cost: None
Pai.png
Requires: Nothing
Unlocks: Nothing
Designs:
None


Verbous Barebones

{{TechWeb
|techname=
|image=
|cost=
|req=
|unlock=
|designs=
}}
Unknown Technology Research Cost: None
Pai.png
Requires: Nothing
Unlocks: Nothing
Designs:
None


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
}}
Neural Nanite Programming Research Cost: 2500
Nanite techwebs.png
Requires: Biological Nanite Programming
Unlocks: Synaptic Nanite Programming
Designs:
Nerve Support, Neural Regeneration, Paralysis, Neural Shock, Host Scan