Difference between revisions of "Template:Infobox vehicle"
From Captain of Industry Wiki
ABravePanda (talk | contribs) (Created page with "<includeonly><!-- --><div style="float:right; clear: right;"><!-- --><div style="display:inline-block; min-width: 250px; max-width: 350px; border: 3px solid rgba(252,162,58,1); border-radius: 15px; margin:10px; font-size:14px; background-color: rgba(46,46,46,1);"><!-- --><div style="width: 100%; vertical-align: middle; text-align: center; background-color: rgba(0,0,0,1); font-size: 20px; color: rgba(252,162,58,1); text-shadow: 0 0 10px rgba(255,162,58,.7); font-family:...") |
m |
||
(27 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><templatestyles src="Template:Infobox material/styles.css" /><!-- | ||
--><div | --><div class="infobox-wrapper"><!-- | ||
--><div | --><div class="outer-box"><!-- | ||
--><div class="inner-header"><!-- | |||
--><div class="title"><!-- | |||
-->{{#if: {{{Name|}}}<!-- | |||
-->| {{{Name}}}<!-- | |||
** This variable is used in footer template ** | |||
-->{{#vardefine:game_object_type|vehicle}}<!-- | |||
-->| Unknown Vehicle }}<!-- | |||
--></div><!-- | |||
--><div class="tier"><!-- | |||
-->{{#if: {{{Tier|}}} | T{{{Tier}}} }}<!-- | |||
--></div><!-- | |||
--></div><!-- | --></div><!-- | ||
--><div | --><div class="inner-main"><!-- | ||
-->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder vehicle}}.png}}]]<br/><!-- | |||
-->{{#if: {{{Description|}}} | <!-- | -->{{#if: {{{Description|}}} | <!-- | ||
--><div | --><div class="description">{{{Description}}}</div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></div><!-- | --></div><!-- | ||
--><div | --><div class="inner-table"><!-- | ||
--><div | --><div class="inner-inner-table"><!-- | ||
--><table | --><table class="table"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{CreatedIn|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Created in</td><!-- | ||
--><td | --><td class="table-td-right">{{{CreatedIn}}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Recipe|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Construction</td><!-- | ||
--><td | --><td class="table-td-right">{{{Recipe}}}</td><!-- | ||
--></tr>}}<!-- | |||
-->{{#if:{{{CargoSize|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Cargo Size</td><!-- | |||
--><td class="table-td-right">{{{CargoSize}}}</td><!-- | |||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{FuelTank|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Fuel Tank</td><!-- | ||
--><td | --><td class="table-td-right">{{{FuelTank}}} {{infoicon|{{#if:{{{Fuel|}}}|{{{Fuel}}}|Diesel}}|icononly=yes}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{MaxSpeed|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Max Speed</td><!-- | ||
--><td | --><td class="table-td-right">{{{MaxSpeed}}}</td><!-- | ||
--></tr>}}<!-- | |||
-->{{#if:{{{FuelConsumption|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Fuel Consumption</td><!-- | |||
--><td class="table-td-right">{{{FuelConsumption}}} {{infoicon|{{#if:{{{Fuel|}}}|{{{Fuel}}}|Diesel}}|icononly=yes}}{{Time}}</td><!-- | |||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Maintenance|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Maintenance</td><!-- | ||
--><td | --><td class="table-td-right">{{{Maintenance}}} {{#ifeq:{{lc:{{{Maintenance}}}}} | none | | {{infoicon|Maintenance I|icononly=yes}} {{Time}} }}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{MaintenanceII|}}}|<!-- | ||
--><tr | --><tr class="table-tr"><!-- | ||
--><td | --><td class="table-td-left">Maintenance II</td><!-- | ||
--><td | --><td class="table-td-right">{{{MaintenanceII}}} {{#ifeq:{{lc:{{{MaintenanceII}}}}} | none | | {{infoicon|Maintenance II|icononly=yes}} {{Time}} }}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{Miner|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Compatible Miner</td><!-- | |||
--><td class="table-td-right">{{{Miner}}}</td><!-- | |||
--></tr>}}<!-- | |||
-->{{#if:{{{Transport|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Compatible<br>Transport</td><!-- | |||
--><td class="table-td-right">{{{Transport}}}</td><!-- | |||
--></tr>}}<!-- | |||
-->{{#if:{{{Variants|}}}|<!-- | |||
--><tr class="table-tr"><!-- | |||
--><td class="table-td-left">Variants</td><!-- | |||
--><td class="table-td-right">{{{Variants}}}</td><!-- | |||
--></tr>}}<!-- | |||
--></table><!-- | --></table><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
-->{{#if: {{NAMESPACE}} || [[Category:Vehicles]]}}<!-- | |||
--></includeonly><noinclude>{{documentation}}</noinclude> | --></includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 08:27, 22 January 2024
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Pickup Truck
Created in | Vehicles Depot |
Construction | |
Cargo Size | 20 |
Fuel Tank | 5 |
Max Speed | 10 |
Fuel Consumption | 0.4 / 60 |
Maintenance | 1.6 / 60 |
Maintenance II | 99 / 60 |
Compatible Miner | Small Excavator Excavator Tree Harvester Large Tree Harvester |
Variants | Truck Haul Truck (Dump) Haul Truck (Tank) |
{{Infobox vehicle | Name = Pickup Truck | Image = (if not the same as Name.png) | Description = Optional item description goes here. It can be as long or short as you like. | CreatedIn = [[Vehicles Depot]] | Recipe = {{Machine Recipe | Input1Name = Iron | Input1Qty = 20 | Input2Name = Copper | Input2Qty = 10 | Input3Name = Rubber | Input3Qty = 10 | Input4Name = Diesel | Input4Qty = 5 }} | CargoSize = 20 | FuelTank = 5 | MaxSpeed = 10 | FuelConsumption = 0.4 | Maintenance = 1.6 | MaintenanceII = 99 | Miner = [[Small Excavator]]<br>[[Excavator]]<br>[[Tree Harvester]]<br>[[Large Tree Harvester]] | Transport = | Variants = [[Truck]]<br>[[Haul Truck (Dump)]]<br>[[Haul Truck (Tank)]] }}
The above text is transcluded from Template:Infobox vehicle/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox vehicle/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox vehicle/doc. (View all subpages of this page.)