Template:Skill/datarow: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
fixing colors
ROWiki>Onteron
No edit summary
Line 39: Line 39:
   ------ Otherwise ... -->
   ------ Otherwise ... -->
   | <td style="padding-left:0.5em; text-align:left"><!--
   | <td style="padding-left:0.5em; text-align:left"><!--
   -->{{#ifeq: {{{type}}} | Damage
   -->{{#switch: {{{type}}}
        | {{#switch: {{#sub: {{{name}}} | 0 | 3 }}
        | Damage =
          {{#switch: {{#sub: {{{name}}} | 0 | 3 }}
             | Blu = [[Image:Blunt Damage Icon.png]] [[Blunt]]
             | Blu = [[Image:Blunt Damage Icon.png]] [[Blunt]]
             | Pie = [[Image:Piercing Damage Icon.png]] [[Piercing]]
             | Pie = [[Image:Piercing Damage Icon.png]] [[Piercing]]
Line 50: Line 51:
             | #default = {{trimd|{{{name}}} }}
             | #default = {{trimd|{{{name}}} }}
           }}
           }}
         | [[{{trimd|{{{name}}}}}]]
         | #default =
          <!-- For other types, only provide auto linking for some common types -->
          {{#switch: {{trimd|{{{name}}}}}
            | Health | Mana | Protection
            | Cover = [[{{trimd|{{{name}}}}}]]
            | #default = {{trimd|{{{name}}}}}
          }}
       }} {{#if: {{#explode:{{{name}}}|(|1}} | ({{#explode:{{{name}}}|(|1}} }}
       }} {{#if: {{#explode:{{{name}}}|(|1}} | ({{#explode:{{{name}}}|(|1}} }}
     </td>
     </td>

Revision as of 14:17, 12 March 2009

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