Difference between revisions of "Template:SB Infobox Material Properties Draft"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly><nowiki/> | <includeonly><nowiki/> | ||
<div class="SB-Infobox-Data-Section-Header">Material properties (ore ━━ refined)</div><nowiki/> | <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-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{structuralDurabilityOre|N/A}}}</span><span | {{#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 | {{#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="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{minimumArmorOre|N/A}}}</span><span | {{#if:{{{minimumArmorOre|}}}{{{minimumArmorRefined|}}}|<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>{{{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="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{penetrationMultiplierOre|N/A}}}</span><span | {{#if:{{{penetrationMultiplierOre|}}}{{{penetrationMultiplierRefined|}}}|<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>{{{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="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{corrosionResistanceOre|N/A}}}</span><span | {{#if:{{{corrosionResistanceOre|}}}{{{corrosionResistanceRefined|}}}|<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>{{{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="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{plasticityOre|N/A}}}</span><span | {{#if:{{{plasticityOre|}}}{{{plasticityRefined|}}}|<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>{{{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="Structural durability"><span class="SB-Infobox-Cell-Header">Structural durability</span><span class="SB-Infobox-Cell-Body"><span>{{{densityOre|N/A}}}</span><span | {{#if:{{{densityOre|}}}{{{densityRefined|}}}|<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>{{{densityOre|N/A}}}</span><span class="SB-Material-Properties-Separator>─</span><span>{{{densityRefined|N/A}}}</span><span class="SB-Material-Properties-Suffix">.. per kv</span></span></div>}}<nowiki/> | ||
</includeonly> | </includeonly> | ||
{{#css: | {{#css: | ||
.SB-Infobox-Cell-Grid .SB-Infobox-Cell-Body { | .SB-Infobox-Cell-Grid .SB-Infobox-Cell-Body { | ||
display:grid; | display:grid; | ||
grid-template-columns: 25% 8% 25%; | grid-template-columns: 25% 8% 25% auto; | ||
text-align: center; | text-align: center; | ||
line-height: 133% | line-height: 133% | ||
Line 19: | Line 19: | ||
margin: 0 0.25em; | margin: 0 0.25em; | ||
padding: 0.125em 0; | padding: 0.125em 0; | ||
} | |||
.SB-Material-Properties-Suffix { | |||
font-style: italic; | |||
text-align: left; | |||
} | |||
.SB-Material-Properties-Separator { | |||
color: #5C5C5C; | |||
} | } | ||
}} | }} |
Revision as of 16:49, 9 March 2022