Template:DPS/doc: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
Created page with "== Usage == {{tji|dps|damage|fire rate (per second)}} == Example == === Simple === {{tji|dps|8|4}} {{gda}} {{dps|8|4}} === With rounding === {{tji|dps|25|0.333}} {{gda}} {{dps|25|0.333}} === With a damage type template === <syntaxhighlight lang="mediawiki" inline>{{damage|blunt|{{dps|8|4}}}}</syntaxhighlight> {{gda}} {{blunt|{{dps|8|4}}}} Category:Template documentation"
 
Aliser (talk | contribs)
errors
 
Line 26: Line 26:


[[Category:Template documentation]]
[[Category:Template documentation]]
== Errors ==
=== No fire rate provided ===
{{tji|dps|10}}
{{gda}}
{{dps|10}}
=== No damage provided ===
{{tji|dps}}
{{gda}}
{{dps}}

Latest revision as of 12:00, 12 May 2025

Usage

{{dps|damage|fire rate (per second)}}

Example

Simple

{{dps|8|4}}

32

With rounding

{{dps|25|0.333}}

≈8.3

With a damage type template

{{damage|blunt|{{dps|8|4}}}}

32 blunt

Errors

No fire rate provided

{{dps|10}}

Fire rate parameter (second) not providedExpression error: Unexpected < operator.

No damage provided

{{dps}}

Damage parameter (first) not providedExpression error: Unexpected < operator.