Template:EnhEffectRow: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng
No edit summary
imported>Lin Chiao Feng
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
! {{{type}}}
! {{{type}}}
{{#if: {{{1|}}}|{{!!}} {{#ifexpr: ({{{1}}})>=0|+}}{{{1}}}% }}<!--
| {{#ifexpr: ({{{1}}})>=0|+}}{{{1}}}%  
-->{{#if: {{{2|}}}|{{!!}} {{#ifexpr: ({{{2}}})>=0|+}}{{{2}}}% }}<!--
| {{#ifexpr: ({{{2}}})>=0|+}}{{{2}}}%
-->{{#if: {{{3|}}}|{{!!}} {{#ifexpr: ({{{3}}})>=0|+}}{{{3}}}% }}<!--
| {{#ifexpr: ({{{3}}})>=0|+}}{{{3}}}%
-->{{#if: {{{4|}}}|{{!!}} {{#ifexpr: ({{{4}}})>=0|+}}{{{4}}}% }}<!--
| {{#ifexpr: ({{{4}}})>=0|+}}{{{4}}}%
-->{{#if: {{{5|}}}|{{!!}} {{#ifexpr: ({{{5}}})>=0|+}}{{{5}}}% }}<!--
| {{#ifexpr: ({{{5}}})>=0|+}}{{{5}}}%
-->{{#if: {{{6|}}}|{{!!}} {{#ifexpr: ({{{6}}})>=0|+}}{{{6}}}% }}<!--
| {{#ifexpr: ({{{6}}})>=0|+}}{{{6}}}%
-->{{#if: {{{7|}}}|{{!!}} {{#ifexpr: ({{{7}}})>=0|+}}{{{7}}}% }}<!--
| {{#ifexpr: ({{{7}}})>=0|+}}{{{7}}}%
-->{{#if: {{{8|}}}|{{!!}} {{#ifexpr: ({{{8}}})>=0|+}}{{{8}}}% }}<!--
| {{#ifexpr: ({{{8}}})>=0|+}}{{{8}}}%
-->{{#if: {{{9|}}}|{{!!}} {{#ifexpr: ({{{9}}})>=0|+}}{{{9}}}% }}<!--
-->{{#if: {{{9|}}}|{{!!}} {{#ifexpr: ({{{9}}})>=0|+}}{{{9}}}% }}<!--
-->{{#if: {{{10|}}}|{{!!}} {{#ifexpr: ({{{10}}})>=0|+}}{{{10}}}% }}<!--
-->{{#if: {{{10|}}}|{{!!}} {{#ifexpr: ({{{10}}})>=0|+}}{{{10}}}% }}<!--
-->{{#if: {{{11|}}}|{{!!}} {{#ifexpr: ({{{11}}})>=0|+}}{{{11}}}% }}<!--
-->{{#if: {{{11|}}}|{{!!}} {{#ifexpr: ({{{11}}})>=0|+}}{{{11}}}% }}</includeonly><noinclude>{{{{PAGENAME}}/Doc}}</noinclude>
-->{{#if: {{{12|}}}|{{!!}} {{#ifexpr: ({{{12}}})>=0|+}}{{{12}}}% }}</includeonly><noinclude>
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 ==
<pre>{| class="wikitable"
{{EnhEffectRow|type=Accuracy|-1|0|1|2}}
|}
</pre>
{| class="wikitable"
{{EnhEffectRow|type=Accuracy|-1|0|1|2}}
|}
 
</noinclude>

Revision as of 03:57, 5 May 2007