Template:EnhEffectRow/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
m (Template:EnhEffectRow/Doc moved to Template:EnhEffectRow/doc: Renaming for {{Documentation}})
imported>Sekoia
m (updating for {{Documentation}}, adding cat)
Line 1: Line 1:
<noinclude>===What This Is===
{{documentation subpage}}
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 <nowiki><noinclude></nowiki>'d text (typically documentation) from counting to that limit.
 
== Overview ==


===The Docs===
</noinclude>
This template renders a row of an enhancement effects table.
This template renders a row of an enhancement effects table.


Line 18: Line 17:
{{EnhEffectRow|type=Accuracy|-4|-3|-2|-1|0|1|2|3|4}}
{{EnhEffectRow|type=Accuracy|-4|-3|-2|-1|0|1|2|3|4}}
|}
|}
<includeonly>
[[Category:Templates]]
</includeonly>

Revision as of 07:03, 20 February 2008

This is a documentation subpage for Template:EnhEffectRow (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Overview

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%