Difference between revisions of "Template:Weapon Stats Table/Ranged/Row/doc"
< Template:Weapon Stats Table | Ranged | Row
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
*** [[Template:Weapon Quality Table/Melee/Row]] - Creates the rows for the melee attacks table. | *** [[Template:Weapon Quality Table/Melee/Row]] - Creates the rows for the melee attacks table. | ||
**** [[Template:True Melee DPS Calculator]] - Does a lot of the calculations and defines essential variables for the ''/Melee/Row'' template. | **** [[Template:True Melee DPS Calculator]] - Does a lot of the calculations and defines essential variables for the ''/Melee/Row'' template. | ||
+ | |||
+ | This template relies on a lot of variables defined in [[Template:Weapon Quality Table/Ranged]]. If you want to use this template separately, you'll have to define them as well. | ||
+ | |||
+ | == Usage == | ||
+ | You can call this template simply with: | ||
+ | <pre>{{Weapon Quality Table/Ranged/Row}}</pre> | ||
+ | |||
+ | Optionally you can give a quality as the first parameter: | ||
+ | <pre>{{Weapon Quality Table/Ranged/Row|Legendary}}</pre> | ||
== Examples == | == Examples == |
Revision as of 11:16, 19 April 2023
Summary
This template is part of the following system generating tables for all weapons:
- Template:Weapon Quality Table - Usually the template that should be called on normal pages. Creates the headers.
- Template:Weapon Quality Table/Ranged - Creates the table for ranged combat.
- Template:Weapon Quality Table/Ranged/Row - Creates the rows for the ranged combat table.
- Template:Weapon Quality Table/Melee - Creates the table for melee attacks.
- Template:Weapon Quality Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:True Melee DPS Calculator - Does a lot of the calculations and defines essential variables for the /Melee/Row template.
- Template:Weapon Quality Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:Weapon Quality Table/Ranged - Creates the table for ranged combat.
This template relies on a lot of variables defined in Template:Weapon Quality Table/Ranged. If you want to use this template separately, you'll have to define them as well.
Usage
You can call this template simply with:
{{Weapon Quality Table/Ranged/Row}}
Optionally you can give a quality as the first parameter:
{{Weapon Quality Table/Ranged/Row|Legendary}}
Examples
Sniper rifle
A weapon with quality, no AOE, and range greater than long
{{Weapon Quality Table/Ranged|Sniper rifle}}
Template:Weapon Quality Table/Ranged
Chain shotgun
A weapon with quality, no AOE, and range below long
{{Weapon Quality Table/Ranged|Chain shotgun}}
Template:Weapon Quality Table/Ranged
Incendiary launcher
A weapon with quality and AOE
{{Weapon Quality Table/Ranged|Incendiary launcher}}
Template:Weapon Quality Table/Ranged
Frag grenades
A weapon with no quality and AOE
{{Weapon Quality Table/Ranged|Frag grenades}}
Template:Weapon Quality Table/Ranged
Charge blaster turret
A weapon with no quality and no AOE
{{Weapon Quality Table/Ranged|Charge blaster turret}}