Template:Skill/datarow: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron adding protection color |
Joshua2504 (talk | contribs) m 24 revisions imported |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 13: | Line 13: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
--><tr style="background-color: {{#switch: {{{type}}} | --><tr style="border:solid 1px #aaa; background-color:#37383f; | ||
{{#switch: {{{type}}} | |||
| Damage = {{#switch: {{#explode: {{{name|}}} }} | |||
| Mana | Health = #37383f | |||
| Weapon | Attack | = #37383f | |||
| #default = #37383f | |||
}} | |||
| Restore = #37383f | |||
| Buff | |||
| Debuff = {{#ifeq: {{{name|}}} | Protection | |||
| #37383f | |||
| {{#ifeq: {{#sub:{{{l1|}}}|0|1}} | - | |||
| #37383f | |||
| #37383f | |||
}} | |||
}} | |||
| Level = #deffad | |||
| #default = white | |||
}}"> <!-- | |||
------ If there's no name and only 1 value... --> | ------ If there's no name and only 1 value... --> | ||
Line 43: | Line 40: | ||
------ Otherwise ... --> | ------ Otherwise ... --> | ||
| <td style=" | | <td style="padding-left:0.5em; text-align:left"><!-- | ||
-->{{# | -->{{#switch: {{{type}}} | ||
| Damage = | |||
| Blu = [[Image:Blunt Damage Icon.png]] [[Blunt]] | {{#switch: {{#sub: {{{name}}} | 0 | 3 }} | ||
| Blu = [[Image:Blunt Damage Icon.png]] [[Blunt]] | |||
| Pie = [[Image:Piercing Damage Icon.png]] [[Piercing]] | | Pie = [[Image:Piercing Damage Icon.png]] [[Piercing]] | ||
| Sla = [[Image:Slashing Damage Icon.png]] [[Slashing]] | |||
| Sla = [[Image:Slashing Damage Icon.png]] [[Slashing]] | | Fir = [[Image:Fire Damage Icon.png]] [[Fire]] | ||
| Ice = [[Image:Ice Damage Icon.png]] [[Ice]] | |||
| Fir = [[Image:Fire Damage Icon.png]] [[Fire]] | | Lig = [[Image:Lightning Damage Icon.png]] [[Lightning]] | ||
| Att | Wea = [[Attack damage]] | |||
| Ice = [[Image:Ice Damage Icon.png]] [[Ice]] | | #default = {{trimd|{{{name}}} }} | ||
}} {{#if: {{#explode:{{{name}}}|(|1}} | ({{#explode:{{{name}}}|(|1}} }} | |||
| Lig = [[Image:Lightning Damage Icon.png]] [[Lightning]] | | #default = {{{name}}} | ||
}} | |||
| #default = {{{name}}} | |||
}} | |||
}} | |||
</td> | </td> | ||
<td {{#if: {{{l2|}}} | <td {{#if: {{{l2|}}} | ||
| style="width: | | style="width:14%">{{{l1}}}{{{unit|}}}</td> | ||
<td {{#if: {{{l3|}}} | <td {{#if: {{{l3|}}} | ||
| style="width: | | style="width:14%">{{{l2}}}{{{unit|}}}</td> | ||
<td {{#if: {{{l4|}}} | <td {{#if: {{{l4|}}} | ||
| style="width: | | style="width:14%">{{{l3}}}{{{unit|}}}</td> | ||
<td {{#if: {{{l5|}}} | <td {{#if: {{{l5|}}} | ||
| style="width: | | style="width:14%">{{{l4}}}{{{unit|}}}</td> | ||
<td style="width: | <td style="width:14%">{{{l5}}}{{{unit|}}}</td> | ||
| colspan="2">{{{l4}}}{{{unit|}}}</td> | | colspan="2" width="28%">{{{l4}}}{{{unit|}}}</td> | ||
}} | }} | ||
| colspan="3">{{{l3}}}{{{unit|}}}</td> | | colspan="3" width="42%">{{{l3}}}{{{unit|}}}</td> | ||
}} | }} | ||
| colspan="4">{{{l2}}}{{{unit|}}}</td> | | colspan="4" width="56%">{{{l2}}}{{{unit|}}}</td> | ||
}} | }} | ||
| colspan="5">{{{l1}}}{{{unit|}}}</td> | | colspan="5" width="70%">{{{l1}}}{{{unit|}}}</td> | ||
}} | }} | ||
}} | }} | ||
</tr></includeonly></onlyinclude> | </tr></includeonly></onlyinclude> |
Latest revision as of 17:57, 6 November 2020
{{skill/datarow | name = | l1 = | l2 = | l3 = | l4 = | l5 = | unit = | type = }}