Template:Infobox vehicle part: Difference between revisions

From PZwiki
mNo edit summary
(completely changed parameters and design)
Line 1: Line 1:
<includeonly>{{Infobox item
<includeonly>{{Infobox
| name = {{{display_name|{{PAGENAME}}}}}
| above      = <div style="background: #{{Infobox nc|{{{name_colour|}}}}}; padding: 5px; font-weight: bold; text-align: center; font-size: 120%; color:#{{Infobox nc|{{{name_text_colour|}}}|text}};"><span class="fn">{{{name|{{PAGENAME}}}}}</span></div>
| name_colour = {{{name_colour|}}}
| image     = {{#if: {{{image|}}}|[[File:{{{image}}}|120px]]}}
| name_text_colour = {{{name_text_colour|}}}
| caption    = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}}
| image = {{{image|}}}
| image2    = {{#if: {{{alternate_image|}}}|<div style="width:32px; background-color:white; border-style:solid; border-width:1px; margin:auto;">[[Image:{{{alternate_image}}}|link={{{alternate_link}}}{{#if: {{{alternate_name|}}} |{{!}}{{{alternate_name}}} }}]]</div>}}
| image_caption = {{{image_caption|}}}
| alternate_image = {{{alternate_image|}}}
| alternate_name = {{{alternate_name|}}}
| alternate_link = {{{alternate_link|}}}


| weight = {{{weight|}}}
| headerstyle = background-color:#eee; padding:5px
| labelstyle =
| datastyle  =
 
| header1 = General information
 
| label2 = Weight
| data2 = {{{weight|}}}


| label3 = Function
| label3 = Function
| data3 = {{{function|}}}
| data3 = {{{function|}}}


| label4 = Max pressure
| header4 = {{{part_type|}}}
| data4 = {{{max_pressure|}}}


| label5 = Tank capacity
| label4 = {{{label1}}}
| data5 = {{#if:{{{tank_capacity|}}}|{{{tank_capacity}}} units}}
| data4 = {{{data1|}}}


| label6 = Brake force
| label5 = {{{label2}}}
| data6= {{{brake_force|}}}
| data5 = {{{data2|}}}


| label7 = Capacity
| label6 = {{{label3}}}
| data7 = {{{capacity|}}}
| data6= {{{data3|}}}


| label8 = Noise reduction
| header 7 = {{#if:{{{chance1|}}}{{{chance2|}}}{{{chance3|}}}|Chance to spawn damaged}}
| data8 = {{{engine_loudness|}}}
 
| label8 = Spawn damaged
| data8 = {{#if:{{{data4|}}}|{{{data4}}}%}}


| label9 = Spawn damaged
| label9 = Spawn damaged
| data9 = {{#if:{{{spawn_damaged|}}}|{{{spawn_damaged}}}%}}
| data9 = {{#if:{{{data5|}}}|{{{data5}}}%}}
 
| label10 = Spawn damaged
| data10 = {{#if:{{{data6|}}}|{{{data6}}}%}}
 
| header19 = Technical details


| class_name = {{{class_name|}}}
| label20 = Class name
| data20 = {{{class_name|}}}
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox]]</noinclude>

Revision as of 12:50, 6 August 2018

[view] [edit] [history] [purge] Template documentation
This template doesn't have any documentation yet! Help out by writing some.
Documentation transcluded from Template:Infobox vehicle part/doc.
Editors can experiment in this template's sandbox (create)