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

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Senefi
мНет описания правки
imported>Senefi
Нет описания правки
Строка 7: Строка 7:
TEMPLATE BEGIN
TEMPLATE BEGIN


  Outer div block contains the entire template for nice vertical spacing
--><div style="display:inline-block; width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
--><div style="display:inline-block; width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
    Inner div for icon and item name
   --><div style="float:left; width:96px; height:96px; padding:0px; background:#EEEEEE; text-align:center"><!--
   --><div style="float:left; width:96px; height:96px; padding:0px; background:#EEEEEE; text-align:center"><!--
     -->[[File:{{{icon}}}|64px|link=]]<br>{{{name}}}<!--
     -->[[File:{{{icon}}}|64px|link=]]<br>{{{name}}}<!--
   --></div><!--
   --></div><!--
    Inner div for description and data we consider to be important enough not to put on the table
   --><div style="float:right; width:390px; margin:7px; margin-bottom:0px;"><!--
   --><div style="float:right; width:390px; margin:7px; margin-bottom:0px;"><!--
     -->''{{{desc}}}''<br>'''Found in:''' {{{sources}}}<br>'''Required Research:''' {{{node}}}<!--
     -->''{{{desc}}}''<br>'''Type:''' {{{type}}}<br>'''ID:''' {{{id}}}<!--
   --></div>
   --></div>
     {| class="wikitable" style="width:500px;"
     {| class="wikitable" style="width:500px;"
    |-
    ! Crafted in
    | {{{sources}}}
     |-
     |-
     ! Available Departments
     ! Available Departments
     | {{{departments}}}
     | {{{departments}}}
    |-
    ! Required Research
    | {{{node}}}
    |-
    ! Material Cost
    | {{{materials}}}
     |}<!--
     |}<!--
--></div><!--
--></div><!--
Строка 31: Строка 44:
   |icon=capacitor.png
   |icon=capacitor.png
   |desc=A basic capacitor used in the construction of a variety of devices.
   |desc=A basic capacitor used in the construction of a variety of devices.
  |type=/obj/item/stock_parts/capacitor
  |id=basic_capacitor
   |sources=Protolathe, Autolathe, Ancient Protolathe
   |sources=Protolathe, Autolathe, Ancient Protolathe
  |departments=Engineering, Science
   |node=Basic Research Technology
   |node=Basic Research Technology
   |departments=Engineering, Science
   |materials=10 Iron<br>10 Glass
}}
}}



Версия от 15:03, 11 июля 2023

A basic capacitor used in the construction of a variety of devices.
Type: /obj/item/stock_parts/capacitor
ID: basic_capacitor
Crafted in Protolathe, Autolathe, Ancient Protolathe
Available Departments Engineering, Science
Required Research Basic Research Technology
Material Cost 10 Iron
10 Glass

This template is generated by the following code:

{{Autowiki/StockPart
  |name=capacitor
  |icon=capacitor.png
  |desc=A basic capacitor used in the construction of a variety of devices.
  |sources=Protolathe, Autolathe, Ancient Protolathe
  |node=Basic Research Technology
}}