Difference between revisions of "User:Dusty/Sandbox/Templates/Template:dsInfobox"
< User:Dusty | Sandbox
Jump to navigation
Jump to search
Tag: Undo |
|||
Line 10: | Line 10: | ||
<div id="shipTemplate-OV" class="shipTemplateAnchor"></div> | <div id="shipTemplate-OV" class="shipTemplateAnchor"></div> | ||
<div class="shipTemplateDesignCategories"> | <div class="shipTemplateDesignCategories"> | ||
<div class="shipTemplateTab templateTab-OV">[[#shipTemplate-OV|Overview]]</div> | |||
{{#if:{{{hull|}}}{{{frame|}}}|<div class="shipTemplateTab templateTab-HF">[[#shipTemplate-HF|Hull & Frame]]</div>}} | {{#if:{{{hull|}}}{{{frame|}}}|<div class="shipTemplateTab templateTab-HF">[[#shipTemplate-HF|Hull & Frame]]</div>}} | ||
{{#if:{{{sensors|}}}{{{yolol|}}}|<div class="shipTemplateTab templateTab-SY">[[#shipTemplate-SY|Sensors & YOLOL]]</div>}} | {{#if:{{{sensors|}}}{{{yolol|}}}|<div class="shipTemplateTab templateTab-SY">[[#shipTemplate-SY|Sensors & YOLOL]]</div>}} | ||
Line 25: | Line 25: | ||
{{#if:{{{cargoCapacity|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Cargo Capacity</div><div class="infoboxCellBottom">{{{cargoCapacity}}}</div></div>}} | {{#if:{{{cargoCapacity|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Cargo Capacity</div><div class="infoboxCellBottom">{{{cargoCapacity}}}</div></div>}} | ||
{{#if:{{{productionState|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Production State</div><div class="infoboxCellBottom">{{{productionState}}}</div></div>}} | {{#if:{{{productionState|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Production State</div><div class="infoboxCellBottom">{{{productionState}}}</div></div>}} | ||
<div class="shipTemplate-hiddenWarning">No data found..</div> | |||
{{#if:{{{initialPrice|}}}{{{runningCost|}}}|<div class="infoboxHeader">Market</div>}} | |||
{{#if:{{{unitCost|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Unit price</div><div class="infoboxCellBottom">{{{unitCost}}}</div></div>}} | {{#if:{{{unitCost|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Unit price</div><div class="infoboxCellBottom">{{{unitCost}}}</div></div>}} | ||
{{#if:{{{runningCost|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Cost of running</div><div class="infoboxCellBottom">{{{runningCost}}}</div></div>}} | {{#if:{{{runningCost|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Cost of running</div><div class="infoboxCellBottom">{{{runningCost}}}</div></div>}} | ||
{{#if:{{{length|}}}{{{beam|}}}{{{height|}}}{{{voxelVolume|}}}{{{maxSpeed|}}}|<div class="infoboxHeader">Specifications</div>}} | |||
{{#if:{{{length|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Length</div><div class="infoboxCellBottom">{{{length}}}</div></div>}} | {{#if:{{{length|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Length</div><div class="infoboxCellBottom">{{{length}}}</div></div>}} | ||
{{#if:{{{beam|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Beam</div><div class="infoboxCellBottom">{{{beam}}}</div></div>}} | {{#if:{{{beam|}}}|<div class="infoboxCell"><div class="infoboxCellTop">Beam</div><div class="infoboxCellBottom">{{{beam}}}</div></div>}} | ||
Line 76: | Line 77: | ||
display:none; | display:none; | ||
} | } | ||
.shipTemplate-hiddenWarning { | |||
display: none; | |||
} | |||
.shipTemplateDesign-overview-inner + .shipTemplate-hiddenWarning { | |||
display: block; | |||
} | |||
.shipTemplateTab { | .shipTemplateTab { | ||
display: flex; | display: flex; |
Revision as of 06:51, 15 July 2020
Documentation might take a while!