Template:Infobox vehicle part: Difference between revisions
mNo edit summary |
(completely changed parameters and design) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| | | 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> | ||
| | | image = {{#if: {{{image|}}}|[[File:{{{image}}}|120px]]}} | ||
| | | 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 | |||
| | |||
| | |||
| | |||
| | | headerstyle = background-color:#eee; padding:5px | ||
| labelstyle = | |||
| datastyle = | |||
| header1 = General information | |||
| label2 = Weight | |||
| data2 = {{{weight|}}} | |||
| label3 = Function | | label3 = Function | ||
| data3 = {{{function|}}} | | data3 = {{{function|}}} | ||
| | | header4 = {{{part_type|}}} | ||
| | | label4 = {{{label1}}} | ||
| data4 = {{{data1|}}} | |||
| | | label5 = {{{label2}}} | ||
| | | data5 = {{{data2|}}} | ||
| | | label6 = {{{label3}}} | ||
| | | data6= {{{data3|}}} | ||
| label8 = | | header 7 = {{#if:{{{chance1|}}}{{{chance2|}}}{{{chance3|}}}|Chance to spawn damaged}} | ||
| data8 = {{{ | |||
| label8 = Spawn damaged | |||
| data8 = {{#if:{{{data4|}}}|{{{data4}}}%}} | |||
| label9 = Spawn damaged | | label9 = Spawn damaged | ||
| data9 = {{#if:{{{ | | data9 = {{#if:{{{data5|}}}|{{{data5}}}%}} | ||
| label10 = Spawn damaged | |||
| data10 = {{#if:{{{data6|}}}|{{{data6}}}%}} | |||
| header19 = Technical details | |||
| | | 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
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)
Editors can experiment in this template's sandbox (create)