Template:Skill/datarow: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron m Template:Skill/row moved to Template:Skill/datarow |
ROWiki>Onteron update |
||
Line 1: | Line 1: | ||
<pre> | <pre> | ||
{{skill/ | {{skill/datarow | ||
| name = | | name = | ||
| l1 = | | l1 = | ||
Line 8: | Line 8: | ||
| l5 = | | l5 = | ||
| unit = | | unit = | ||
| type = | |||
}} | }} | ||
</pre> | </pre> | ||
<onlyinclude><includeonly><tr> <!-- | <onlyinclude><includeonly><!-- | ||
--><tr style="background-color: {{#switch: {{{type}}} | |||
| Damage = {{#switch: {{{name|}}} | |||
| Mana | |||
| Health = #ffdead | |||
| = #aaddff | |||
| #default = #ffffaa | |||
}} | |||
| Debuff = {{#if: {{{name|}}} | #ffdead | #aaddff }} | |||
| Buff = #aaddff | |||
| Level = #deffad | |||
| #default = white | |||
}}"> <!-- | |||
------ If there's no name and only 1 value... --> | ------ If there's no name and only 1 value... --> | ||
Line 20: | Line 33: | ||
------ Otherwise ... --> | ------ Otherwise ... --> | ||
| <td style="width:10em; padding-left:0.5em; text-align:left">{{{name}}}</td> | | <td style="width:10em; padding-left:0.5em; text-align:left"><!-- | ||
-->{{#ifeq: {{{type}}} | Damage | |||
| {{#switch: {{#sub: {{{name}}} | 0 | 3 }} | |||
| Blu = [[Image:Blunt Damage Icon.png]] [[Blunt]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| Pie = [[Image:Piercing Damage Icon.png]] [[Piercing]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| Sla = [[Image:Slashing Damage Icon.png]] [[Slashing]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| Fir = [[Image:Fire Damage Icon.png]] [[Fire]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| Ice = [[Image:Ice Damage Icon.png]] [[Ice]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| Lig = [[Image:Lightning Damage Icon.png]] [[Lightning]] <!-- | |||
-->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }} | |||
| #default = {{{name}}} | |||
}} | |||
| {{{name}}} | |||
}} | |||
</td> | |||
<td {{#if: {{{l2|}}} | <td {{#if: {{{l2|}}} | ||
| style="width:6em">{{{l1}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l3|}}} | |||
| style="width:6em">{{{l2}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l4|}}} | |||
| style="width:6em">{{{l3}}}{{{unit|}}}</td> | |||
<td {{#if: {{{l5|}}} | |||
| style="width:6em">{{{l4}}}{{{unit|}}}</td> | |||
<td style="width:6em">{{{l5}}}{{{unit|}}}</td> | |||
| colspan="2">{{{l4}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="3">{{{l3}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="4">{{{l2}}}{{{unit|}}}</td> | |||
}} | |||
| colspan="5">{{{l1}}}{{{unit|}}}</td> | |||
}} | }} | ||
}} | }} | ||
</tr></includeonly></onlyinclude> | </tr></includeonly></onlyinclude> |
Revision as of 16:56, 27 November 2008
{{skill/datarow | name = | l1 = | l2 = | l3 = | l4 = | l5 = | unit = | type = }}