Difference between revisions of "Template:EnhEffectRow/doc"
From Paragon Wiki Archive
(New page: <noinclude>===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...) |
|||
Line 12: | Line 12: | ||
== Example == | == Example == | ||
<pre>{| class="wikitable" | <pre>{| class="wikitable" | ||
− | {{EnhEffectRow|type=Accuracy|-1|0|1|2}} | + | {{EnhEffectRow|type=Accuracy|-4|-3|-2|-1|0|1|2|3|4}} |
|} | |} | ||
</pre> | </pre> | ||
{| class="wikitable" | {| class="wikitable" | ||
− | {{EnhEffectRow|type=Accuracy|-1|0|1|2}} | + | {{EnhEffectRow|type=Accuracy|-4|-3|-2|-1|0|1|2|3|4}} |
|} | |} |
Revision as of 03:59, 5 May 2007
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% |
---|