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

imported>Senefi
мНет описания правки
мНет описания правки
 
(не показано 27 промежуточных версий 2 участников)
Строка 1: Строка 1:
<!--
<includeonly>
 
{{FlexBox
    This is the template for automatically generated stock parts
| Title = {{{name}}}
    This template is designed for automatically generated content, but could be also be filled out manually.
| SubTitle = Тир {{{tier}}}
 
| Image = {{{icon}}}{{!}}96px
--><includeonly><!--
| ImagePadding = 0.5em
TEMPLATE BEGIN
| Content = '''Создаётся в:''' {{{sources}}}<br> '''Необходимые исследования:''' {{{node}}}<br> '''Стоимость:'''<br> {{{materials}}}
 
| DropdownTitle = Описание
  Outer div block contains the entire template for nice vertical spacing
| DropdownContent = {{{desc}}}
--><div style="display:inline-block; width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
}}
 
</includeonly><noinclude>
    Inner div for icon and item name
{{Autowiki/StockPart
  --><div style="float:left; width:96px; height:96px; padding:0px; background:#EEEEEE; text-align:center"><!--
   |name=power cell
    -->[[File:{{{icon}}}|64px|link=]]<br>{{{name}}}<!--
   |icon=Autowiki-cell.png
  --></div><!--
   |desc=A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.
    Inner div for description and data we consider to be important enough not to put on the table
   |tier=1
  --><div style="float:right; width:390px; margin:7px; margin-bottom:0px;"><!--
   |sources=Protolathe, Ancient Protolathe, Autolathe
    --><span style="display:block; text-align:center; background:#EEEEFF">''{{{desc}}}''</span><!--
    -->'''Type:''' <span style="float:right">{{{type}}}</span><br><!--
    -->'''ID:''' {{{id}}}<!--
  --></div>
    {| class="wikitable" style="width:500px; margin:0px"
    |-
    ! Crafted in
    | {{{sources}}}
    |-
    ! Available Departments
    | {{{departments}}}
    |-
    ! Required Research
    | {{{node}}}
    |-
    ! Material Cost
    | {{{materials}}}
    |}<!--
--></div><!--
 
TEMPLATE END
--></includeonly><!--
 
--><noinclude><!--
DOCUMENTATION BEGIN
 
-->{{Autowiki/StockPart
   |name=capacitor
   |icon=capacitor.png
   |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
  |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.
   |sources=Protolathe, Autolathe, Ancient Protolathe
  |tier=1
   |sources=Protolathe, Ancient Protolathe, Autolathe
   |node=Basic Research Technology
   |node=Basic Research Technology
}}</pre><!--
  |materials=70 iron<br>5 glass
 
}}</pre>
DOCUMENTATION END
</noinclude>
--></noinclude><!--

Текущая версия от 06:54, 12 декабря 2024


Тир 1power cell
Autowiki-cell.png
Создаётся в: Protolathe, Ancient Protolathe, Autolathe
Необходимые исследования: Basic Research Technology
Стоимость:
70 iron
5 glass
A rechargeable electrochemical power cell. This one has a rating of 1000 kJ.


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
}}