Difference between revisions of "Template:PracticeLog/EntryWithParams"

From West Of Vipers Gate
(Created page with "<table class="wikitable"> <tr> <td>{{{1|}}}</td> <td>{{{2|}}}</td> <td>{{{3|}}}</td> <td>{{{4|}}}</td> <td>{{{5|}}}</td> <td>{{{6|}}}</td> </tr>...")
 
(Remove underbar from progress)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
 
 
   <tr>
 
   <tr>
 
     <td>{{{1|}}}</td>
 
     <td>{{{1|}}}</td>
 
     <td>{{{2|}}}</td>
 
     <td>{{{2|}}}</td>
 +
    <td>{{PracticeLog/LookupSkillCategoryCycle
 +
      | {{#switch: {{{4}}}
 +
        | Stat
 +
        | Attribute = {{{1|}}}
 +
        | #default = {{{4|}}}
 +
        }}
 +
      }}
 +
    </td>
 
     <td>{{{3|}}}</td>
 
     <td>{{{3|}}}</td>
 +
    <td>{{PracticeLog/LookupTestTypeTime
 +
      | {{#switch: {{{4}}}
 +
        | Stat
 +
        | Attribute = {{{1|}}}
 +
        | #default = {{{4|}}}
 +
        }}
 +
      | {{{3|}}}
 +
      }}
 +
    </td>
 
     <td>{{{4|}}}</td>
 
     <td>{{{4|}}}</td>
    <td>{{{5|}}}</td>
 
    <td>{{{6|}}}</td>
 
 
   </tr>
 
   </tr>
 +
{{#if: {{{show_progress|}}} |
 
   <tr>
 
   <tr>
 
     <td></td>
 
     <td></td>
 
     <td colspan=2">
 
     <td colspan=2">
 +
      <hr style="width: {{#expr: 100
 +
      * {{PracticeLog/TranslateDuration
 +
        | {{#explode: {{{2|}}} | | 0 }}
 +
        | {{#explode: {{{2|}}} | | 1 }}
 +
        }}
 +
      / {{PracticeLog/TranslateDuration
 +
        | {{#explode:
 +
            {{PracticeLog/LookupSkillCategoryCycle
 +
            | {{#switch: {{{4}}}
 +
              | Stat
 +
              | Attribute = {{{1|}}}
 +
              | #default = {{{4|}}}
 +
              }}
 +
            }}
 +
        | | 0}}
 +
      | {{#explode:
 +
        {{PracticeLog/LookupSkillCategoryCycle
 +
        | {{#switch: {{{4}}}
 +
          | Stat
 +
          | Attribute = {{{1|}}}
 +
          | #default = {{{4|}}}
 +
          }}
 +
        }}
 +
        | | 1}}
 +
    }}
 +
  }}%; max-width: 100%; margin:0; position: relative; border: 2px lightgray solid;" />
 
     </td>
 
     </td>
</table>
+
  </tr>
 +
}}

Latest revision as of 19:59, 4 May 2022

Not in table Bad RDC