More actions
Refactor "ship bonuses" part to not parse html when no bonuses, instead of using display: none. |
Refactor "training time" part from "required skills" to not parse html when no required skills, instead of using display: none. |
||
| Line 411: | Line 411: | ||
<!-- -->{{{reqskills|<i>none</i>}}} <!-- comment in front is to suppress <pre> parsing --> | <!-- -->{{{reqskills|<i>none</i>}}} <!-- comment in front is to suppress <pre> parsing --> | ||
<!--** Training time **--> | <!--** Training time **--> | ||
{{#if: {{{reqskills|}}} | |||
| <div class='skillstime'> | |||
<span style='font-variant: small-caps;'>Training Time </span><span style='font-size: 70%;'>what's this?</span><div class='value'>{{{totaltraintime|}}}</div> | |||
<div class='desc'>Estimated training time only for the listed skills based on zero [[Skills_and_learning#Implants|implants]] and without [[Skills_and_learning#Neural_remaps|neural remaps]]. | |||
</div> | |||
</div> | |||
}} | |||
</td> | </td> | ||