Template:ComponentStatistics: Difference between revisions

Template page
mNo edit summary
No edit summary
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{#ifexist:{{{name}}}|
<onlyinclude>{{#cargo_query:
tables=component
|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,
|where=name = '{{{1}}}'
|format=template
|template=ComponentStatistics_Layout
|named args=yes
|default=
}}</onlyinclude>


{{{!}} class="wikitable"
-----
{{!}}+Statistics for [[{{{name}}}]]
From [[Template:ComponentStatistics/doc]]:
{{!}}-
 
! attachmentSize !! powerUsagePerSecond !! damage !! triggerRadius !! projectileDelaySec !! splashRange !! chargeDurationSec
{{documentation}}
{{!}}-
{{!}} {{{attachmentSize}}} {{!}}{{!}} {{{powerUsagePerSecond}}} {{!}}{{!}} {{{damage}}} {{!}}{{!}} {{{triggerRadius}}} {{!}}{{!}} {{{splashRange}}} {{!}}{{!}} chargeDurationSec
{{!}}}|
}}</onlyinclude>

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)