More actions
m Refactor highlights part to not parse html when no highlights. Clean-up comments. |
Refactor "ship bonuses" part to not parse html when no bonuses, instead of using display: none. |
||
| Line 392: | Line 392: | ||
__TOC__ | __TOC__ | ||
<!---->{{{info|}}} <!-- Comment in front is to suppress <pre> parsing --> | <!---->{{{info|}}} <!-- Comment in front is to suppress <pre> parsing --> | ||
</div> | </div><!-- | ||
* Ship bonuses(traits) *--> | |||
{{#if: {{{bonuses|}}} | |||
| <div class='box-line box-bonuses'> | |||
<div class='label'>SHIP BONUSES</div> | |||
<!-- -->{{{bonuses|}}} <!-- Comment in front is to suppress <pre> parsing --> | |||
</div> | |||
<!---->{{{bonuses|}}} <!-- Comment in front is to suppress <pre> parsing --> | }}<!-- | ||
--> <div class='box-line'> | |||
<table class='midinfo' cellspacing='0' cellpadding='0'> | <table class='midinfo' cellspacing='0' cellpadding='0'> | ||
<tr> | <tr> | ||