Template:EnhEffectRow/doc

From Unofficial Homecoming Wiki
< Template:EnhEffectRow
Revision as of 03:59, 5 May 2007 by imported>Lin Chiao Feng
Jump to navigation Jump to search

What This Is

Putting template documentation here removes the need for the wiki to use it in the pre-expanded state. Basically, templates are expanded in place before they are processed, and if this expansion exceeds 2 MB, it stops substituting templates. This removes <noinclude>'d text (typically documentation) from counting to that limit.

The Docs

This template renders a row of an enhancement effects table.

The type parameter names the row (i.e. effect type).

Up to 12 unnamed parameters can be given for the row's columns. These values will be prefixed with a '+' if positive, and suffixed with '%'.

Example

{| class="wikitable"
{{EnhEffectRow|type=Accuracy|-4|-3|-2|-1|0|1|2|3|4}}
|}
Accuracy -4% -3% -2% -1% +0% +1% +2% +3% +4%