User:Jonrellim/sandbox/Template:Infobox Mining laser head
From the Star Citizen Wiki, the fidelity™ encyclopedia
< User:Jonrellim | sandbox
Mining laser head template code
<!--
Infobox
--><includeonly>{{Infobox
|bodyclass = mw-collapsible floatright
|image1 = {{#if:{{{image|}}}|[[File:{{{image}}}|450px]]|[[File:Placeholderv2.png|450px]]}}
|imagerowclass1 = infobox-image
|header2 = {{{name|}}}
|rowclass2 = infobox-title
|label3 = Manufacturer
|data3 = {{#if:{{{manufacturer|}}}|{{Infobox data MFU|{{{manufacturer|}}}}}}}
|rowclass3 = data-manufacturer infobox-data infobox-col2
|label4 = Base price
|data4 = {{#if:{{{baseprice|}}}|{{formatnum:{{{baseprice}}}}} aUEC}}
|rowclass4 = data-baseprice infobox-data infobox-col2
|label5 = Size
|data5 = {{#if:{{{size|}}}|[[:Category:Size {{{size}}} mining laser heads|Size {{{size}}} mining laser heads]]}}
|rowclass5 = data-size infobox-data infobox-col3
|label6 = Grade
|data6 = {{#if:{{{grade|}}}|[[:Category:Grade {{{grade}}} mining laser heads|Grade {{{grade}}} mining laser heads]]}}
|rowclass6 = data-grade infobox-data infobox-col3
|label6 = Class
|data6 = {{#if:{{{class|}}}|[[:Category:{{{class}}} mining laser heads|{{{class}}} mining laser heads]]}}
|rowclass6 = data-class infobox-data infobox-col3
|header7 = {{#if:{{{optimalrange|}}}{{{maximumrange|}}}|Range}}
|rowclass7 = infobox-header
|label8 = Optimal range
|data8 = {{#if:{{{optimalrange|}}}|{{formatnum:{{{optimalrange}}}}} m}}
|rowclass8 = data-optimalrange infobox-data infobox-col2
|label9 = Maximum range
|data9 = {{#if:{{{maximumrange|}}}|{{formatnum:{{{maximumrange}}}}} m}}
|rowclass9 = data-maximumrange infobox-data infobox-col2
|header10 = {{#if:{{{extractionthroughput|}}}{{{powertransfer|}}}{{{instabilitydampening|}}}{{{resistance|}}}{{{allchargerates|}}}{{{catastrophicchargerate|}}}{{{optimalchargewindowsize|}}}{{{throttleresponsivenessdelay|}}}{{{shatterdamage|}}}|Mining efficiency}}
|rowclass10 = infobox-header
|label1 = Extraction throughput
|data11 = {{{extractionthroughput|}}}|{{formatnum:{{{extractionthroughput}}}}} SCU/s}}
|rowclass11 = data-extractionthroughput infobox-data infobox-col3
|label12 = Power transfer
|data12 = {{{powertransfer|}}}
|rowclass12 = data-powertransfer infobox-data infobox-col3
|label13 = Instability dampening
|data13 = {{{instabilitydampening|}}}|{{formatnum:{{{instabilitydampening}}}}}%}}
|rowclass13 = data-instabilitydampening infobox-data infobox-col3
|label14 = Resistance
|data14 = {{{resistance|}}}|{{formatnum:{{{resistance}}}}}%}}
|rowclass14 = data-resistance infobox-data infobox-col3
|label15 = All charge rates
|data15 = {{{allchargerates|}}}|{{formatnum:{{{allchargerates}}}}}%}}
|rowclass15 = data-allchargerates infobox-data infobox-col3
|label16 = Catastrophic charge rate
|data16 = {{{catastrophicchargerate|}}}|{{formatnum:{{{catastrophicchargerate}}}}}%}}
|rowclass16 = data-catastrophicchargerate infobox-data infobox-col3
|label17 = Optimal charge window size
|data17 = {{{optimalchargewindowsize|}}}|{{formatnum:{{{optimalchargewindowsize}}}}}%}}
|rowclass17 = data-optimalchargewindowsize infobox-data infobox-col3
|label18 = Throttle responsiveness delay
|data18 = {{{throttleresponsivenessdelay|}}}|{{formatnum:{{{throttleresponsivenessdelay}}}}}%}}
|rowclass18 = data-throttleresponsivenessdelay infobox-data infobox-col3
|label19 = shatterdamage
|data19 = {{{shatterdamage|}}}|{{formatnum:{{{shatterdamage}}}}}%}}
|rowclass19 = data-shatterdamage infobox-data infobox-col3
|header20 = {{#if:{{{consumableslots|}}}|Consumables}}
|rowclass20 = infobox-header
|label21 = Consumable slots
|data21 = {{{consumableslots|}}}|
|rowclass21 = data-consumableslots infobox-data infobox-col2
|label22 = Implemented
|data22 = {{{implemented|}}}
|rowclass22 = data-implemented infobox-data infobox-col2
|header100 = <span></span>
|rowclass100 = infobox-button-bar
}}</includeonly><!--
Short description
--><includeonly>{{Short description|Size {{{size}}} mining laser head{{nbsp}}{{#if:{{{manufacturer|}}}|manufactured by {{MFUNAME|{{{manufacturer}}}}}}}}}</includeonly><!--
Categorization
-->[[Category:Mining laser heads{{#translation:}}]]<!--
-->{{#if:{{{manufacturer|}}}|[[Category:{{DPLAndEscape|{{MFUNAME|{{{manufacturer}}}}}}}{{#translation:}}]]|[[Category:Unknown manufacturer{{#translation:}}]]}}<!--
-->{{#if:{{{size|}}}|[[Category:Size {{{size}}} mining laser heads{{#translation:}}]]|{{#if:{{#external_value:size}}|[[Category:Size {{#external_value:size}} mining laser heads{{#translation:}}]]|[[Category:Unknown size{{#translation:}}]]}}}}<!--
-->{{#if:{{{grade|}}}|[[Category:Grade {{{size}}} mining laser heads{{#translation:}}]]|{{#if:{{#external_value:grade}}|[[Category:Grade {{#external_value:grade}} mining laser heads{{#translation:}}]]|[[Category:Unknown grade{{#translation:}}]]}}}}<!--
-->{{#if:{{{class|}}}|[[Category:{{{class}}} mining laser heads{{#translation:}}]]|{{#if:{{#external_value:class}}|[[Category:{{#external_value:class}} mining laser heads{{#translation:}}]]|[[Category:Unknown class{{#translation:}}]]}}}}<!--
SEO
--><includeonly>{{#vardefine:infoboxseo|1}}{{#seo:
|title = {{{name}}} - Star Citizen Wiki
|site_name = Star Citizen Wiki
|type = article
|local = {{PAGELANGUAGE}}
|image = {{#if:{{{image|}}}|{{{image}}}|Placeholderv2.png}}
}}</includeonly><noinclude>
{{/doc}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>