Difference between revisions of "Template:Infobox transport"

From Captain of Industry Wiki
Jump to: navigation, search
m (Error fixing)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:Infobox material/styles.css" /><!--
<includeonly><templatestyles src="Template:Infobox material/styles.css" /><!--
{{#if:{{NAMESPACE}}||[[Category:Transports]]}}
--><div class="infobox-wrapper"><!--
--><div class="infobox-wrapper"><!--
--><div class="outer-box"><!--
--><div class="outer-box"><!--
   --><div class="inner-title"><!--
   --><div class="inner-header"><!--
        -->{{#if: {{{Name|}}} | {{{Name}}} | Unknown Item }}<!--
    --><div class="title"><!--
      -->{{#if: {{{Name|}}}<!--
        -->| {{{Name}}}<!--
          ** This variable is used in footer template **
          -->{{#vardefine:game_object_type|transport}}<!--
        -->| Unknown Transport }}<!--
    --></div><!--
   --></div><!--
   --></div><!--
   --><div class="inner-main"><!--
   --><div class="inner-main"><!--
Line 18: Line 23:
           --><tr class="table-tr"><!--
           --><tr class="table-tr"><!--
             --><td class="table-td-left">Cargo</td><!--
             --><td class="table-td-left">Cargo</td><!--
             --><td class="table-td-right">{{{Cargo}}}</td><!--
             --><td class="table-td-right"><!--
              -->{{#ifexist: Category:{{{Cargo}}} | [[:Category:{{{Cargo}}}|{{{Cargo}}}]] | {{{Cargo}}}}}<!--
            --></td><!--
           --></tr>}}<!--
           --></tr>}}<!--
         -->{{#if:{{{Throughput|}}}|<!--
         -->{{#if:{{{Throughput|}}}|<!--
Line 35: Line 42:
--></div><!--
--></div><!--
--></div><!--
--></div><!--
-->{{#if: {{NAMESPACE}} || [[Category:Transports]]}}<!--
--></includeonly><noinclude>{{documentation}}</noinclude>
--></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 11:25, 2 May 2023

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
U-shape Conveyor
“Optional item description goes here. It can be as long or short as you like.”
U-shape Conveyor.png

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.)