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

imported>Senefi
(updated doc)
imported>Senefi
Нет описания правки
 
(не показаны 22 промежуточные версии этого же участника)
Строка 8: Строка 8:


   Outer div block contains the entire template for nice vertical spacing
   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:532px; border:1px solid #CCCCEE; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--


     Inner div for icon and item name
     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:128px; height:128px; padding:0px; background:#EEEEFF; 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
     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;"><!--
     --><span style="display:block; text-align:center; background:#EEEEFF">''{{{desc}}}''</span><!--
     --><span style="display:block; text-align:center; background:#CCCCEE">''{{{desc}}}''</span><!--
     -->'''Type:''' <span style="float:right">{{{type}}}</span><br><!--
     -->'''Tier:''' <span style="float:right">{{{tier}}}</span><!--
    -->'''ID:''' <span style="float:right">{{{id}}}</span><!--
   --></div>
   --></div>
     {| class="wikitable" style="width:500px; margin:0px"
     {| class="wikitable" style="width:532px; margin:0px;"
     |-
     |-
     ! Crafted in
     ! Crafted in
     | {{{sources}}}
     | {{{sources}}}
    |-
    ! Available Departments
    | {{{departments}}}
     |-
     |-
     ! Required Research
     ! Required Research
Строка 34: Строка 30:
     | {{{materials}}}
     | {{{materials}}}
     |}<!--
     |}<!--
--></div><!--
--></div><br><!--


TEMPLATE END
TEMPLATE END
Строка 43: Строка 39:


-->{{Autowiki/StockPart
-->{{Autowiki/StockPart
   |name=capacitor
   |name=power cell
   |icon=capacitor.png
   |icon=Autowiki-cell.png
   |desc=A basic capacitor used in the construction of a variety of devices.
   |desc=A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.
   |type=/obj/item/stock_parts/capacitor
   |tier=1
  |id=basic_capacitor
   |sources=Protolathe, Ancient Protolathe, Autolathe
   |sources=Protolathe, Autolathe, Ancient Protolathe
  |departments=Engineering, Science
   |node=Basic Research Technology
   |node=Basic Research Technology
   |materials=10 Iron<br>10 Glass
   |materials=70 iron<br>5 glass
}}
}}


This template is generated by the following code:
This template is generated by the following code:
<pre>{{Autowiki/StockPart
<pre>{{Autowiki/StockPart
   |name=capacitor
   |name=power cell
   |icon=capacitor.png
   |icon=Autowiki-cell.png
   |desc=A basic capacitor used in the construction of a variety of devices.
   |desc=A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.
   |type=/obj/item/stock_parts/capacitor
   |tier=1
  |id=basic_capacitor
   |sources=Protolathe, Ancient Protolathe, Autolathe
   |sources=Protolathe, Autolathe, Ancient Protolathe
  |departments=Engineering, Science
   |node=Basic Research Technology
   |node=Basic Research Technology
   |materials=10 Iron<br>10 Glass
   |materials=70 iron<br>5 glass
}}</pre><!--
}}</pre><!--


DOCUMENTATION END
DOCUMENTATION END
--></noinclude><!--
--></noinclude><!--

Текущая версия от 04:14, 12 июля 2023

Autowiki-cell.png
power cell
A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.Tier: 1
Crafted in Protolathe, Ancient Protolathe, Autolathe
Required Research Basic Research Technology
Material Cost 70 iron
5 glass


This template is generated by the following code:

{{Autowiki/StockPart
  |name=power cell
  |icon=Autowiki-cell.png
  |desc=A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.
  |tier=1
  |sources=Protolathe, Ancient Protolathe, Autolathe
  |node=Basic Research Technology
  |materials=70 iron<br>5 glass
}}