Template:ComponentStatistics: Difference between revisions

Template page
mNo edit summary
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>{{#cargo_query:
{{#if:{{{{{name}}}}}|
tables=component
{{{!}} class="wikitable"
|fields=component.name, component.luaId, component.description, component.attachmentSize, component.powerUsagePerSecond, component.powerStorage, component.drainRate, component.chargeRate, component.bandwidth, component.affectedByEvents, component.transferRadius, component.triggerRadius, component.componentRange, component.radarShowRange, component.registerType1, component.registerTip1, component.registerUiApply1, component.registerType2, component.registerTip2, component.registerUiApply2, component.registerType3, component.registerTip3, component.registerUiApply3, component.registerType4, component.registerTip4, component.registerUiApply4, component.registerType5, component.registerTip5, component.registerUiApply5, component.ingredient1, component.amount1, component.ingredient2, component.amount2, component.ingredient3, component.amount3, component.ingredient4, component.amount4, component.producer1, component.time1, component.producer2, component.time2, component.producer3, component.time3, component.recipeType, component.numProduced, component.isRemovable, component.damage, component.chargeDurationSec, component.projectileDelaySec, component.splashRange, component.extractionTime, component.solarPowerGenerated,
{{!}}+Statistics for [[{{{name}}}]]
|where=name = '{{{1}}}'
{{!}}-
|format=template
!{{{name}}} {{#if:{{{luaId}}}| !! Lua ID:|}} {{#if:{{{description}}}| !! Description|}} {{#if:{{{attachmentSize}}}| !! Size|}} {{#if:{{{powerUsagePerSecond}}}| !! Power Usage|}} {{#if:{{{powerStorage}}}| !! Power Storage|}} {{#if:{{{drainRate}}}| !! Drain Rate|}} {{#if:{{{chargeRate}}}| !! Charge Rate|}} {{#if:{{{bandwidth}}}| !! Bandwidth|}} {{#if:{{{affectedByEvents}}}| !! Affected By Events|}} {{#if:{{{transferRadius}}}| !! Transfer Radius|}} {{#if:{{{triggerRadius}}}| !! Trigger Radius|}} {{#if:{{{componentRange}}}| !! Range|}} {{#if:{{{radarShowRange}}}| !! Visual Radius|}} {{#if:{{{registerType1}}}| !! registerType1|}} {{#if:{{{registerTip1}}}| !! registerTip1|}} {{#if:{{{registerUiApply1}}}| !! registerUiApply1|}} {{#if:{{{registerType2}}}| !! registerType2|}} {{#if:{{{registerTip2}}}| !! registerTip2|}} {{#if:{{{registerUiApply2}}}| !! registerUiApply2|}} {{#if:{{{registerType3}}}| !! registerType3|}} {{#if:{{{registerTip3}}}| !! registerTip3|}} {{#if:{{{registerUiApply3}}}| !! registerUiApply3|}} {{#if:{{{registerType4}}}| !! registerType4|}} {{#if:{{{registerTip4}}}| !! registerTip4|}} {{#if:{{{registerUiApply4}}}| !! registerUiApply4|}} {{#if:{{{registerType5}}}| !! registerType5|}} {{#if:{{{registerTip5}}}| !! registerTip5|}} {{#if:{{{registerUiApply5}}}| !! registerUiApply5|}} {{#if:{{{ingredient1}}}| !! ingredient1|}} {{#if:{{{amount1}}}| !! amount1|}} {{#if:{{{ingredient2}}}| !! ingredient2|}} {{#if:{{{amount2}}}| !! amount2|}} {{#if:{{{ingredient3}}}| !! ingredient3|}} {{#if:{{{amount3}}}| !! amount3|}} {{#if:{{{ingredient4}}}| !! ingredient4|}} {{#if:{{{amount4}}}| !! amount4|}} {{#if:{{{producer1}}}| !! producer1|}} {{#if:{{{time1}}}| !! time1|}} {{#if:{{{producer2}}}| !! producer2|}} {{#if:{{{time2}}}| !! time2|}} {{#if:{{{producer3}}}| !! producer3|}} {{#if:{{{time3}}}| !! time3|}} {{#if:{{{recipeType}}}| !! Recipe Type|}} {{#if:{{{numProduced}}}| !! Number Produced|}} {{#if:{{{isRemovable}}}| !! Removable|}} {{#if:{{{damage}}}| !! Damage|}} {{#if:{{{chargeDurationSec}}}| !! Charge Duration|}} {{#if:{{{projectileDelaySec}}}| !! PProjectile Travel TIme|}} {{#if:{{{splashRange}}}| !! Splash Radius|}}
|template=ComponentStatistics_Layout
{{!}}{{{name}}}{{#if:{{{luaId}}}|{{!}}{{!}} {{{luaId}}}|}} {{#if:{{{description}}}|{{!}}{{!}} {{{description}}}|}} {{#if:{{{attachmentSize}}}|{{!}}{{!}} {{{attachmentSize}}}|}} {{#if:{{{powerUsagePerSecond}}}|{{!}}{{!}} {{{powerUsagePerSecond}}}|}} {{#if:{{{powerStorage}}}|{{!}}{{!}} {{{powerStorage}}}|}} {{#if:{{{drainRate}}}|{{!}}{{!}} {{{drainRate}}}|}} {{#if:{{{chargeRate}}}|{{!}}{{!}} {{{chargeRate}}}|}} {{#if:{{{bandwidth}}}|{{!}}{{!}} {{{bandwidth}}}|}} {{#if:{{{affectedByEvents}}}|{{!}}{{!}} {{{affectedByEvents}}}|}} {{#if:{{{transferRadius}}}|{{!}}{{!}} {{{transferRadius}}}|}} {{#if:{{{triggerRadius}}}|{{!}}{{!}} {{{triggerRadius}}}|}} {{#if:{{{componentRange}}}|{{!}}{{!}} {{{componentRange}}}|}} {{#if:{{{radarShowRange}}}|{{!}}{{!}} {{{radarShowRange}}}|}} {{#if:{{{registerType1}}}|{{!}}{{!}} {{{registerType1}}}|}} {{#if:{{{registerTip1}}}|{{!}}{{!}} {{{registerTip1}}}|}} {{#if:{{{registerUiApply1}}}|{{!}}{{!}} {{{registerUiApply1}}}|}} {{#if:{{{registerType2}}}|{{!}}{{!}} {{{registerType2}}}|}} {{#if:{{{registerTip2}}}|{{!}}{{!}} {{{registerTip2}}}|}} {{#if:{{{registerUiApply2}}}|{{!}}{{!}} {{{registerUiApply2}}}|}} {{#if:{{{registerType3}}}|{{!}}{{!}} {{{registerType3}}}|}} {{#if:{{{registerTip3}}}|{{!}}{{!}} {{{registerTip3}}}|}} {{#if:{{{registerUiApply3}}}|{{!}}{{!}} {{{registerUiApply3}}}|}} {{#if:{{{registerType4}}}|{{!}}{{!}} {{{registerType4}}}|}} {{#if:{{{registerTip4}}}|{{!}}{{!}} {{{registerTip4}}}|}} {{#if:{{{registerUiApply4}}}|{{!}}{{!}} {{{registerUiApply4}}}|}} {{#if:{{{registerType5}}}|{{!}}{{!}} {{{registerType5}}}|}} {{#if:{{{registerTip5}}}|{{!}}{{!}} {{{registerTip5}}}|}} {{#if:{{{registerUiApply5}}}|{{!}}{{!}} {{{registerUiApply5}}}|}} {{#if:{{{ingredient1}}}|{{!}}{{!}} {{{ingredient1}}}|}} {{#if:{{{amount1}}}|{{!}}{{!}} {{{amount1}}}|}} {{#if:{{{ingredient2}}}|{{!}}{{!}} {{{ingredient2}}}|}} {{#if:{{{amount2}}}|{{!}}{{!}} {{{amount2}}}|}} {{#if:{{{ingredient3}}}|{{!}}{{!}} {{{ingredient3}}}|}} {{#if:{{{amount3}}}|{{!}}{{!}} {{{amount3}}}|}} {{#if:{{{ingredient4}}}|{{!}}{{!}} {{{ingredient4}}}|}} {{#if:{{{amount4}}}|{{!}}{{!}} {{{amount4}}}|}} {{#if:{{{producer1}}}|{{!}}{{!}} {{{producer1}}}|}} {{#if:{{{time1}}}|{{!}}{{!}} {{{time1}}}|}} {{#if:{{{producer2}}}|{{!}}{{!}} {{{producer2}}}|}} {{#if:{{{time2}}}|{{!}}{{!}} {{{time2}}}|}} {{#if:{{{producer3}}}|{{!}}{{!}} {{{producer3}}}|}} {{#if:{{{time3}}}|{{!}}{{!}} {{{time3}}}|}} {{#if:{{{recipeType}}}|{{!}}{{!}} {{{recipeType}}}|}} {{#if:{{{numProduced}}}|{{!}}{{!}} {{{numProduced}}}|}} {{#if:{{{isRemovable}}}|{{!}}{{!}} {{{isRemovable}}}|}} {{#if:{{{damage}}}|{{!}}{{!}} {{{damage}}}|}} {{#if:{{{chargeDurationSec}}}|{{!}}{{!}} {{{chargeDurationSec}}}|}} {{#if:{{{projectileDelaySec}}}|{{!}}{{!}} {{{projectileDelaySec}}}|}} {{#if:{{{splashRange}}}|{{!}}{{!}} {{{splashRange}}}|}}
|named args=yes
{{!}}}|error}}
|default=
</onlyinclude>
}}</onlyinclude>
 
-----
From [[Template:ComponentStatistics/doc]]:


{{documentation}}
{{documentation}}
<noinclude>{{<!--backup copy-->{{#ifexist:{{{name}}}|
{{{!}} class="wikitable"
{{!}}+Statistics for [[{{{name}}}]]
{{!}}-
! Size !! Power Usage !! Damage !! Range !! Charge Time {{#if:{{{projectileDelaySec}}}| !! Travel Time|}}{{#if:{{{splashRange}}}| !! Splash Radius|}}
{{!}}-
{{!}} {{{attachmentSize}}} {{!}}{{!}} {{{powerUsagePerSecond}}} {{!}}{{!}} {{{damage}}} {{!}}{{!}} {{{triggerRadius}}} {{!}}{{!}} {{{chargeDurationSec}}} {{!}}{{!}} {{{projectileDelaySec}}} {{!}}{{!}} {{{splashRange}}}
{{!}}}|
}}</noinclude>

Latest revision as of 19:48, 2 October 2023



From Template:ComponentStatistics/doc:

Documentation

{{ComponentStatistics|NAME}}

Example for Turret:

Medium sized turret with good damage and range

Lua ID c_turret
Size Medium
Power -50
Trigger Radius 7 tiles
Damage 60
Charge Duration 1.2 seconds
Projectile Delay 0.2 seconds

See also: Template:ComponentStatistics_Layout

The above Template documentation is transcluded from Template:ComponentStatistics/doc. (edit | history)