Template:Damage/doc: Difference between revisions
From Space Station 14 Wiki
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== List of damage | == Usage == | ||
{{tji|Damage|<type or group>|<amount>}} | |||
{{Callout|Tip|If possible, use the alias templates found in the table below instead of this one, as they are a bit easier to use.}} | |||
Specify a damage {{kbd|type}} or {{kbd|group}} from the table below, and optionally {{kbd|amount}}. Any casing is allowed. | |||
Depending on whether it's a damage type or group, the following will be generated: | |||
* If it's a damage '''type''', a potentially colored label with an amount (if specified) will be produced. If specified type is an alias, the real definition will be used for displaying a label (hence the same labels for some damage types in the damage types table). | |||
* If it's a damage '''group''', a label will be produced for that group, similar to the damage type. The damage types composing that group will be listed in parenthesis, with amount if it's specified for all of them (including the group label). | |||
If above is confusing, just look at the examples below. | |||
== How to make changes == | |||
See {{m|Damage}} for details. | |||
== Examples == | |||
=== Damage type === | |||
{{tji|Damage|Blunt}} | |||
{{gda}} | |||
{{Damage|Blunt}} | |||
=== Damage type with an amount === | |||
{{tji|Damage|Poison|5}} | |||
{{gda}} | |||
{{Damage|Poison|5}} | |||
=== Damage group === | |||
{{tji|Damage|Burn}} | |||
{{gda}} | |||
{{Damage|Burn}} | |||
=== Damage group with an amount === | |||
{{tji|Damage|Toxin|10}} | |||
{{gda}} | |||
{{Damage|Toxin|10}} | |||
== List of damage groups == | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Damage | ! Damage group !! How it looks !! Alias template | ||
|- | |- | ||
| | | | ||
* Brute | |||
|| {{Damage| | || | ||
{{Damage| | * {{Damage|Brute}} | ||
|| | |||
* {{t|Brute}} | |||
|- | |||
| | |||
* Burn | |||
|| | |||
* {{Damage|Burn}} | |||
|| | |||
* {{t|Burn}} | |||
|- | |- | ||
| | | | ||
* Airloss | |||
|| {{Damage| | || | ||
{{ | * {{Damage|Airloss}} | ||
|| | |||
* {{t|Airloss}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Toxin | ||
|| | |||
* {{Damage|Toxin}} | |||
|| | |||
* {{t|Toxin}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Genetic | ||
|| | |||
* {{Damage|Genetic}} | |||
|| | |||
* {{t|Genetic}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Metaphysical | ||
|| | |||
* {{Damage|Metaphysical}} | |||
|| | |||
* {{t|Metaphysical}} | |||
|} | |||
== List of damage types == | |||
{| class="wikitable" | |||
|- | |||
! Damage type !! How it looks !! Alias template | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Asphyxiation | ||
|| | |||
* {{Damage|Asphyxiation}} | |||
|| | |||
* {{t|Asphyxiation}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Bloodloss | ||
* Bleeding | |||
* Bleed | |||
|| | |||
* {{Damage|Bloodloss}} | |||
* {{Damage|Bleeding}} | |||
* {{Damage|Bleed}} | |||
|| | |||
* {{t|Bloodloss}} | |||
* {{t|Bleeding}} | |||
* {{t|Bleed}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Blunt | ||
|| | |||
* {{Damage|Blunt}} | |||
|| | |||
* {{t|Blunt}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Cellular | ||
|| | |||
* {{Damage|Cellular}} | |||
|| | |||
* {{t|Cellular}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Caustic | ||
|| | |||
* {{Damage|Caustic}} | |||
|| | |||
* {{t|Caustic}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Cold | ||
|| | |||
* {{Damage|Cold}} | |||
|| | |||
* {{t|Cold}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Heat | ||
|| | |||
* {{Damage|Heat}} | |||
|| | |||
* {{t|Heat}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Piercing | ||
* Puncture | |||
|| | |||
* {{Damage|Piercing}} | |||
* {{Damage|Puncture}} | |||
|| | |||
* {{t|Piercing}} | |||
* {{t|Puncture}} | |||
|- | |- | ||
| | | | ||
|| {{Damage| | * Poison | ||
|| | |||
* {{Damage|Poison}} | |||
|| | |||
* {{t|Poison}} | |||
|- | |- | ||
| Holy | | | ||
|| {{Damage|Holy}} | * Radiation | ||
* Rad | |||
|| | |||
* {{Damage|Radiation}} | |||
* {{Damage|Rad}} | |||
|| | |||
* {{t|Radiation}} | |||
* {{t|Rad}} | |||
|- | |||
| | |||
* Shock | |||
|| | |||
* {{Damage|Shock}} | |||
|| | |||
* {{t|Shock}} | |||
|- | |||
| | |||
* Slash | |||
|| | |||
* {{Damage|Slash}} | |||
|| | |||
* {{t|Slash}} | |||
|- | |||
| | |||
* Structural | |||
|| | |||
* {{Damage|Structural}} | |||
|| | |||
* {{t|Structural}} | |||
|- | |||
| | |||
* Holy | |||
|| | |||
* {{Damage|Holy}} | |||
|| | |||
* {{t|Holy damage}} | |||
|} | |} | ||
[[Category:Template documentation]] |
Latest revision as of 19:59, 26 March 2025
Usage
{{Damage
Tip
If possible, use the alias templates found in the table below instead of this one, as they are a bit easier to use.
Specify a damage type or group from the table below, and optionally amount. Any casing is allowed.
Depending on whether it's a damage type or group, the following will be generated:
- If it's a damage type, a potentially colored label with an amount (if specified) will be produced. If specified type is an alias, the real definition will be used for displaying a label (hence the same labels for some damage types in the damage types table).
- If it's a damage group, a label will be produced for that group, similar to the damage type. The damage types composing that group will be listed in parenthesis, with amount if it's specified for all of them (including the group label).
If above is confusing, just look at the examples below.
How to make changes
See Module:Damage for details.
Examples
Damage type
{{Damage
↓
blunt
Damage type with an amount
{{Damage
↓
5 poison
Damage group
{{Damage
↓
burn (heat, shock, cold and caustic)
Damage group with an amount
{{Damage
↓
10 toxin (5 poison and 5 radiation)
List of damage groups
Damage group | How it looks | Alias template |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List of damage types
Damage type | How it looks | Alias template |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|