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

Материал из MassMeta
Перейти к навигации Перейти к поиску
imported>Senefi
(Added table structure)
imported>Senefi
Нет описания правки
 
(не показаны 43 промежуточные версии этого же участника)
Строка 7: Строка 7:
TEMPLATE BEGIN
TEMPLATE BEGIN


--><div style="display:inline-block; width:500px; padding:0px; margin-bottom:10px; background:#DDDDDD;"><!--
  Outer div block contains the entire template for nice vertical spacing
   --><div style="float:left; width:96px; height:96px; padding:0px; background:#EEEEEE; text-align:center"><!--
--><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
   --><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><!--
   --><div style="float:right; width:390px; margin:7px;"><!--
    Inner div for description and data we consider to be important enough not to put on the table
     -->''{{{desc}}}''<br>'''Found in:''' {{{sources}}}<br>'''Required Research:''' {{{node}}}<!--
   --><div style="float:right; width:390px; margin:7px; margin-bottom:0px;"><!--
   --></div><!--
     --><span style="display:block; text-align:center; background:#CCCCEE">''{{{desc}}}''</span><!--
  -->{|class="wikitable" style="width:500px;"
    -->'''Tier:''' <span style="float:right">{{{tier}}}</span><!--
   --></div>
    {| class="wikitable" style="width:532px; margin:0px;"
    |-
    ! Crafted in
    | {{{sources}}}
    |-
    ! Required Research
    | {{{node}}}
     |-
     |-
     ! Available Departments
     ! Material Cost
     | {{{departments}}}
     | {{{materials}}}
--></div><!--
    |}<!--
--></div><br><!--


TEMPLATE END
TEMPLATE END
Строка 27: Строка 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.
   |sources=Protolathe, Autolathe, Ancient Protolathe
  |tier=1
   |sources=Protolathe, Ancient Protolathe, Autolathe
   |node=Basic Research Technology
   |node=Basic Research Technology
   |departments=Engineering, Science
   |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
  |materials=70 iron<br>5 glass
}}</pre><!--
}}</pre><!--


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

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


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