Template:Skill/datarow: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
m added link on cc debuffs
ROWiki>Onteron
fixing weapon damage, linking all row names
Line 14: Line 14:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
--><tr style="background-color: {{#switch: {{{type}}}
--><tr style="background-color: {{#switch: {{{type}}}
                                   | Damage = {{#switch: {{{name|}}}  
                                   | Damage = {{#switch: {{#explode: {{{name|}}} }}
                                               | Mana
                                               | Mana
                                               | Health = #ffdead
                                               | Health = #ffdead
                                              | Weapon
                                               |  = #aaddff
                                               |  = #aaddff
                                               | #default = #ffffaa
                                               | #default = #ffffaa
Line 30: Line 31:


   ------ Make the value span all 6 columns -->
   ------ Make the value span all 6 columns -->
   | <td colspan="6">[[{{{l1}}}]]</td> <!--
   | <td colspan="6">{{{l1}}}</td> <!--


   ------ Otherwise ... -->
   ------ Otherwise ... -->
Line 48: Line 49:
             | Lig = [[Image:Lightning Damage Icon.png]] [[Lightning]] <!--
             | Lig = [[Image:Lightning Damage Icon.png]] [[Lightning]] <!--
                   -->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }}
                   -->{{#if: {{#explode:{{{name}}}|(|1}} | (per second) }}
            | Wea = [[Weapon damage]]
             | #default = {{{name}}}
             | #default = {{{name}}}
           }}
           }}
         | {{{name}}}
         | [[{{{name}}}]]
       }}  
       }}  
     </td>
     </td>

Revision as of 17:25, 27 November 2008

{{skill/datarow
    | name =
    | l1 =
    | l2 = 
    | l3 =
    | l4 =
    | l5 =
    | unit =
    | type =
}}