Difference between revisions of "Template:Infobox transport"
From Captain of Industry Wiki
ABravePanda (talk | contribs) |
ABravePanda (talk | contribs) |
||
Line 9: | Line 9: | ||
--><div style="font-size:16px; color: rgba(255,255,255,1); padding: 0px 0px 10px 0px;">''“{{{Description}}}”''</div><!-- | --><div style="font-size:16px; color: rgba(255,255,255,1); padding: 0px 0px 10px 0px;">''“{{{Description}}}”''</div><!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder | -->[[File:{{#if: {{{Image|}}} | {{{Image}}} | {{#if: {{{Name|}}} | {{{Name}}} | Placeholder vehicle}}.png}}]]<br/><!-- | ||
--></div><!-- | --></div><!-- | ||
--><div style="padding: 10px;"><!-- | --><div style="padding: 10px;"><!-- | ||
--><div style="vertical-align:top; width: 100%;"><!-- | --><div style="vertical-align:top; width: 100%;"><!-- | ||
--><table style="border-collapse: collapse; border-spacing: 0 8px; flex-grow:1; line-height:16px; white-space:nowrap; width: 100%"><!-- | --><table style="border-collapse: collapse; border-spacing: 0 8px; flex-grow:1; line-height:16px; white-space:nowrap; width: 100%"><!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Cargo|}}}|<!-- | ||
--><tr style="border-top: 1px solid white; vertical-align: top;"><!-- | --><tr style="border-top: 1px solid white; vertical-align: top;"><!-- | ||
--><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;"> | --><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;">Created in</td><!-- | ||
--><td style="padding: 5px 0 5px 5px;">{{{ | --><td style="padding: 5px 0 5px 5px;">{{{Cargo}}}</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{Throughput|}}}|<!-- | ||
--><tr style="border-top: 1px solid white; vertical-align: top;"><!-- | --><tr style="border-top: 1px solid white; vertical-align: top;"><!-- | ||
--><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;"> | --><td style="text-align: right; font-weight: bold; padding: 5px 5px 5px 0;">Maintenance</td><!-- | ||
--><td style="padding: 5px 0 5px 5px;">{{{ | --><td style="padding: 5px 0 5px 5px;">{{{Throughput}}} / 60 🕓</td><!-- | ||
--></tr>}}<!-- | --></tr>}}<!-- | ||
--></table><!-- | --></table><!-- | ||
--></div><!-- | --></div><!-- |
Revision as of 22:21, 12 January 2022
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
TODO: fix category link
Example usage:{{Infobox transport | Name = U-shape Conveyor | Image = | Description = Optional item description goes here. It can be as long or short as you like. | Cargo = Loose products | Throughput = 60 | Variants = [[U-shape Coveyor II]]</br>[[U-shape Coveyor III]] }}
The above text is transcluded from Template:Infobox transport/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 (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox transport/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 (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Infobox transport/doc. (View all subpages of this page.)