Template:EnhEffectRow/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng (historical)
(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...)
 
imported>Zombie Man (historical)
m (Moved within heirarchy of categories)
 
(5 intermediate revisions by 3 users not shown)
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 12: Line 10:
== 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}}
|}
|}
<includeonly>
[[Category:Invention System Templates|{{PAGENAME}}]]
</includeonly>

Latest revision as of 02:55, 18 February 2010

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%