Template:BoostType

From City of Heroes: Rebirth Wiki
Revision as of 23:53, 14 November 2010 by imported>Sekoia (trying a different approach to center-aligning image icons)
Jump to navigation Jump to search

Usage

For use on Incarnate Boost and Incarnate Slot pages for an "at a glance" boost amount.

One required variable, plus one:

  • type = The type of boost. Required.
    • If none (e.g. a boost with no secondary or tertiary component), use none.
    • Otherwise, use the enhancement value name from the TO Icons category, preserving proper capitalization.
  • amt = If type is not none, the amount of percentage boost, minus the percent symbol.

Examples

Input Results
{{BoostType|type=none}} {{#switch: none none=None #default={{{amt}}}%
{{BoostType|type=Endurance Cost|amt=33}} {{#switch: Endurance Cost none=None #default=33%Endurance Cost
{{BoostType|type=Fear Duration|amt=33}} {{#switch: Fear Duration none=None #default=33%Fear Duration