Шаблон:TechWeb: различия между версиями

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Coconutwarrior97
(Created page with "{| style="border:1px solid #9932CC" cellpadding="0" cellspacing="0" width=560 | {|width = "100%" cellspacing="0" cellpadding="2" width=560 |align=center width="120" style="ba...")
 
imported>Rohen Tahir
(Category:Templates goes in the noinclude)
 
(не показано 11 промежуточных версий 1 участника)
Строка 2: Строка 2:
  |
  |
{|width = "100%" cellspacing="0" cellpadding="2" width=560
{|width = "100%" cellspacing="0" cellpadding="2" width=560
|align=center width="120" style="background-color:#9370DB"|'''Technology Name'''
|align=center width="120" style="background-color:#9370DB"|'''{{{techname|Technology name here.}}}'''[[File:{{{image|NPA.png}}}|frameless|120px|center|link={{{small_image|File:{{{image}}}}}}]]
|''Research Cost: ''{{{researchcost|List research cost here.}}}
|''Research Cost: ''{{{researchcost|List research cost here.}}}
|}
|}
{|width = "100%" cellspacing="0" cellpadding="2" width=560
{|width = "100%" cellspacing="0" cellpadding="2" width=560
|align=center width="120" style="background-color:#9370DB"|''' '''
|align=center width="120" style="background-color:#9370DB"|''' '''
|''Prequesite: ''{{{prereq|List prerequisite tech here.}}}
|''Prerequisite: ''{{{prereq|List prerequisite tech here.}}}
|}
|}
{|width = "100%" cellspacing="0" cellpadding="2" width=560
{|width = "100%" cellspacing="0" cellpadding="2" width=560
Строка 14: Строка 14:
|{{{designs|List designs here.}}}
|{{{designs|List designs here.}}}
|}
|}
[[Category:Templates]]</noinclude>
 
|}<noinclude>
 
 
== How to use this template: ==
<code><nowiki>{{TechWeb}}</nowiki></code>
 
yields
 
{{TechWeb}}<noinclude>
<code>
<nowiki>{{TechWeb</nowiki>
<nowiki>|techname = Basic Research Technology</nowiki>
<nowiki>|image = R&dconsolestart.png</nowiki>
<nowiki>|researchcost = N/A</nowiki>
<nowiki>|prereq = N/A</nowiki>
<nowiki>|designs = Basic Matter Bin, Basic Cell, Basic Scanning Module, Basic Capacitator, Basic Micro-Laser, Micro Manipulator,
Destructive Analyzer, Circuit Imprinter, Experimentor, RD Console, Design Disk, Tech Disk, RD Server, RD Server Control, MechFab,
Space Heater</nowiki>
<nowiki>}}</nowiki>
</code>
 
yields
 
{{TechWeb
|techname = Basic Research Technology
|image = R&dconsolestart.png
|researchcost = N/A
|prereq = N/A
|designs = Basic Matter Bin, Basic Cell, Basic Scanning Module, Basic Capacitator, Basic Micro-Laser, Micro Manipulator, Destructive Analyzer, Circuit Imprinter, Experimentor, RD Console, Design Disk, Tech Disk, RD Server, RD Server Control, MechFab, Space Heater}}
 
 
[[Category:Templates]]
</noinclude>

Текущая версия от 11:36, 16 декабря 2021

Technology name here.
link=File:{{{image}}}
link=File:{{{image}}}
Research Cost: List research cost here.
Prerequisite: List prerequisite tech here.
Designs:
List designs here.


How to use this template:[править код]

{{TechWeb}}

yields

Technology name here.
link=File:{{{image}}}
link=File:{{{image}}}
Research Cost: List research cost here.
Prerequisite: List prerequisite tech here.
Designs:
List designs here.

{{TechWeb
|techname = Basic Research Technology
|image = R&dconsolestart.png
|researchcost = N/A
|prereq = N/A
|designs = Basic Matter Bin, Basic Cell, Basic Scanning Module, Basic Capacitator, Basic Micro-Laser, Micro Manipulator,
	Destructive Analyzer, Circuit Imprinter, Experimentor, RD Console, Design Disk, Tech Disk, RD Server, RD Server Control, MechFab,
	Space Heater
}}

yields

Basic Research Technology
Файл:R&dconsolestart.png
Research Cost: N/A
Prerequisite: N/A
Designs:
Basic Matter Bin, Basic Cell, Basic Scanning Module, Basic Capacitator, Basic Micro-Laser, Micro Manipulator, Destructive Analyzer, Circuit Imprinter, Experimentor, RD Console, Design Disk, Tech Disk, RD Server, RD Server Control, MechFab, Space Heater