Template:BoostType: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
m (widening columns for longer numbers)
imported>Sekoia
(left-align amount)
Line 1: Line 1:
<includeonly>{{#switch: {{{type|}}}
<includeonly>{{#switch: {{{type|}}}
|none=[[File:E origin generic.png|24px|None]]
|none=[[File:E origin generic.png|24px|None]]
|#default=<table align="center" style="border; none; background: transparent;"><tr><td width="40em" style="border: none;">&nbsp;</td><td style="border: none;">[[File:TO Training {{{type}}}.png|24px|{{{type}}}]]</td><td width="40em" style="border: none;">{{{amt}}}%</td></tr></table>}}</includeonly><noinclude>
|#default=<table align="center" style="border; none; background: transparent;"><tr><td width="40em" style="border: none;">&nbsp;</td><td style="border: none;">[[File:TO Training {{{type}}}.png|24px|{{{type}}}]]</td><td width="40em" style="border: none; text-align: left;">{{{amt}}}%</td></tr></table>}}</includeonly><noinclude>
== Usage ==
== Usage ==
For use on Incarnate Boost and Incarnate Slot pages for an "at a glance" boost amount.
For use on Incarnate Boost and Incarnate Slot pages for an "at a glance" boost amount.

Revision as of 01:09, 14 November 2010

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}} None
{{BoostType|type=Endurance Cost|amt=33}}
 Endurance Cost33%
{{BoostType|type=Fear Duration|amt=33}}
 Fear Duration33%