Template:Damagetype/doc

From Underrail Wiki
< Template:Damagetype
Revision as of 08:50, 11 October 2017 by WikimanBot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
This template is used for styling of damage types. It is used by templates {{Mechanical}}, {{Heat}}, {{Cold}}, {{Electricity}}, {{Acid}}, {{Energy}}, {{Bio}}.
Syntax
Insert this template using one of the damage type names: {{Mechanical}}, {{Heat}}, {{Cold}}, {{Electricity}}, {{Acid}}, {{Energy}}, {{Bio}}
Takes optional first parameter (anything goes)
Takes optional second parameter (number only / no affix, number first / prefix, number last / suffix)
Example
{{Mechanical}} results in Mechanical
{{Heat|5-10}} results in Heat: 5-10
{{Cold|8-10|number only}} results in 8-10
{{Electricity|127|prefix}} results in 127 Electricity
{{Acid|25-50|suffix}} results in Acid: 25-50 (same as no second parameter)
{{Energy|???}} results in Energy: ??? (first parameter can be anything)
{{Bio|(biological)|no affix}} results in (biological) (first parameter can be anything)