Template:TechWeb: Difference between revisions

894 bytes added ,  19:57, 20 April 2020
Fixed missing includeonly-tag, which caused Templates-Category to be injected into article. Improved documentation.
mNo edit summary
(Fixed missing includeonly-tag, which caused Templates-Category to be injected into article. Improved documentation.)
Line 1: Line 1:
{| style="border:1px solid #9f88d1" cellpadding="0" cellspacing="0" width=560
<includeonly>{| style="border:1px solid #9f88d1" cellpadding="0" cellspacing="0" width=560
  |
  |
{|width = "100%" cellspacing="0" cellpadding="2" width=560
{|width = "100%" cellspacing="0" cellpadding="2" width=560
Line 18: Line 18:
|{{{designs|List designs here.}}}
|{{{designs|List designs here.}}}
|}
|}
[[Category:templates]]
|}</includeonly><noinclude>
== About ==
Short details of reasearch-nodes with their prerequisites and unlocks, intended use in [[Tech_Webs]].
 
== Parameter-Usage ==
{| class="wikitable"
!Parameter
!Example
!Description
|-
!techname
|Neural Nanite Programming
|Name of the technology
|-
!image
|Nanite_techwebs.png
|Icon to be displayed for the technology. Default: pai.png
|-
!cost
|2500
|Research cost
|-
!req
|Biological Nanite Programming
|List of prerequisite technologies
|-
!unlock
|Synaptic Nanite Programming
|List of technologies which are unlocked
|-
!designs
|Nerve Support, Neural Regeneration, Paralysis, Neural Shock, Host Scan
|List of unlocked designs
|}
|}
<noinclude>
'''Code:'''


<nowiki>{{TechWeb</nowiki><br>
== Examples ==
<nowiki>|techname = Technology</nowiki><br>
== Barebones ==
<nowiki>|image = pai.png</nowiki><br>
<pre>{{TechWeb}}</pre>
<nowiki>|cost = List research cost here.</nowiki><br>
{{TechWeb}}
<nowiki>|req = List prerequisite tech here.</nowiki><br>
 
<nowiki>|unlock = List what the tech unlocks here.</nowiki><br>
=== Real-life ===
<nowiki>|designs = List designs here.}}</nowiki>
<pre>{{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
}}</pre>
{{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
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
1,133

edits