Template:Skill/datarow: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
No edit summary
m 24 revisions imported
 
(7 intermediate revisions by 3 users not shown)
Line 13: Line 13:


<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
--><tr style="border:solid 1px #aaa; background-color:
--><tr style="border:solid 1px #aaa; background-color:#37383f;
               {{#switch: {{{type}}}
               {{#switch: {{{type}}}
                 | Damage = {{#switch: {{#explode: {{{name|}}} }}
                 | Damage = {{#switch: {{#explode: {{{name|}}} }}
                               | Mana | Health = #ffdead
                               | Mana | Health = #37383f
                               | Weapon | Attack |  = #aaddff
                               | Weapon | Attack |  = #37383f
                               | #default = #ffffaa
                               | #default = #37383f
                             }}
                             }}
                 | Debuff = {{#switch: {{#sub: {{{name|}}} | 0 | 3 }}
                | Restore = #37383f
                               | Pro = #ffffaa
                | Buff
                               | Kno | Stu | Diz | Imm | Can | = #aaddff
                 | Debuff = {{#ifeq: {{{name|}}} | Protection
                              | #default = #ffdead
                               | #37383f
                               | {{#ifeq: {{#sub:{{{l1|}}}|0|1}} | -
                                  | #37383f
                                  | #37383f
                                }}
                             }}
                             }}
                | Restore = #aaddff
                | Buff = {{#ifeq: {{{name|}}} | Protection | #ffffaa | #aaddff }}
                 | Level = #deffad  
                 | Level = #deffad  
                 | #default = white
                 | #default = white
Line 35: Line 37:


   ------ Make the value span all 6 columns -->
   ------ Make the value span all 6 columns -->
   | <td colspan="6"><!--
   | <td colspan="6">{{{l1}}}</td> <!--
  -->{{#switch: {{{l1}}} }}
        | Knock down | Stun | Dizzy | Immmobilize | Cannot attack = [[{{{l1}}}]]
        | #default = {{{l1}}}
      }}<!--
--></td> <!--


   ------ Otherwise ... -->
   ------ Otherwise ... -->
Line 55: Line 52:
             | Att | Wea = [[Attack damage]]
             | Att | Wea = [[Attack damage]]
             | #default = {{trimd|{{{name}}} }}
             | #default = {{trimd|{{{name}}} }}
           }}
           }} {{#if: {{#explode:{{{name}}}|(|1}} | ({{#explode:{{{name}}}|(|1}} }}
        | #default =
        | #default = {{{name}}}
          <!-- 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}} }}
     </td>
     </td>
     <td {{#if: {{{l2|}}}
     <td {{#if: {{{l2|}}}

Latest revision as of 17:57, 6 November 2020

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