Difference between revisions of "Template:SB Infobox Material Properties Draft"
Jump to navigation
Jump to search
m (Protected "Template:SB Infobox Material Properties Draft" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
m |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><nowiki/> | <includeonly><nowiki/> | ||
<div class="SB-Infobox-Data-Section-Header">Material properties (ore | <div class="SB-Infobox-Data-Section-Header">Material properties (ore ━━ refined)</div><nowiki/> | ||
{{#if:{{{structuralDurabilityOre|}}}{{{structuralDurabilityRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Structural durability"><span class="SB-Infobox-Cell- | {{#if:{{{structuralDurabilityOre|}}}{{{structuralDurabilityRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{structuralDurabilityOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{structuralDurabilityRefined|N/A}}}</span></span></div>}}<nowiki/> | ||
{{#if:{{{armorRatingOre|}}}{{{armorRatingRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Armor rating"><span class="SB-Infobox-Cell-Header">Armor rating</span><span class="SB-Infobox-Cell-Body"><span>{{{armorRatingOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{armorRatingRefined|N/A}}}</span><span class="SB-Material-Properties-Suffix">.. per kv</span></span></div>}}<nowiki/> | |||
{{#if:{{{minimumArmorOre|}}}{{{minimumArmorRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Minimum armor"><span class="SB-Infobox-Cell-Header">Minimum armor</span><span class="SB-Infobox-Cell-Body"><span>{{{minimumArmorOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{minimumArmorRefined|N/A}}}</span><span class="SB-Material-Properties-Suffix">.. per kv</span></span></div>}}<nowiki/> | |||
{{#if:{{{penetrationMultiplierOre|}}}{{{penetrationMultiplierRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Penetration multiplier"><span class="SB-Infobox-Cell-Header">Penetration multiplier</span><span class="SB-Infobox-Cell-Body"><span>{{{penetrationMultiplierOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{penetrationMultiplierRefined|N/A}}}</span></span></div>}}<nowiki/> | |||
{{#if:{{{corrosionResistanceOre|}}}{{{corrosionResistanceRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Corrosion resistance"><span class="SB-Infobox-Cell-Header">Corrosion resistance</span><span class="SB-Infobox-Cell-Body"><span>{{{corrosionResistanceOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{corrosionResistanceRefined|N/A}}}</span></span></div>}}<nowiki/> | |||
{{#if:{{{plasticityOre|}}}{{{plasticityRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Plasticity"><span class="SB-Infobox-Cell-Header">Plasticity</span><span class="SB-Infobox-Cell-Body"><span>{{{plasticityOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{plasticityRefined|N/A}}}</span></span></div>}}<nowiki/> | |||
{{#if:{{{densityOre|}}}{{{densityRefined|}}}|<div class="SB-Infobox-Data-Cell SB-Infobox-Cell-Grid" data-alt="Density"><span class="SB-Infobox-Cell-Header">Density</span><span class="SB-Infobox-Cell-Body"><span>{{{densityOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{densityRefined|N/A}}}</span><span class="SB-Material-Properties-Suffix">.. kg/kv</span></span></div>}}<nowiki/> | |||
{{#css: | |||
.SB-Infobox-Cell-Grid .SB-Infobox-Cell-Body { | |||
display:grid; | |||
grid-template-columns: 25% 8% 25% auto; | |||
text-align: center; | |||
line-height: 133% | |||
} | |||
.SB-Infobox-Cell-Grid .SB-Infobox-Cell-Body span { | |||
margin: 0 0.25em; | |||
padding: 0.125em 0; | |||
} | |||
.SB-Material-Properties-Suffix { | |||
font-style: italic; | |||
text-align: left; | |||
} | |||
.SB-Material-Properties-Separator { | |||
color: #5C5C5C; | |||
} | |||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude><pre> | <noinclude><pre> | ||
</pre></noinclude> | </pre></noinclude> |
Latest revision as of 16:09, 5 April 2022