User blog:Catinthedark/More Infobox level optimizations, two new templates

I have made additional refinements to Template:Infobox level and would like confirmation that I can publish these, and/or other feedback. The changes are detailed below, with test subjects (level pages) listed at the bottom.

Optimized navigation links
I refined the way that the previous, next, and current level links (and/or text) are generated in Template:Infobox level. I folded the three cases into one and stuffed them into a template for all three cases, as follows: | style="border-top-style:none;"|
 * style="border-top-style:none;"|
 * style="border-top-style:none;"|

Preview the new Level nav template at Template:Sandbox/Level nav. Preview the revised Infobox level at Template:Sandbox/Infobox level.

Optimized split difficulty code in heading color
Previously, Infobox level switched on existing difficulty permutations (eg: Facebook|Hard Mobile|Easy) to set the colours in the heading. I offered a solution which removed the pair-processing and handled all possible combinations. I then discovered that Imamadmad had proposed a solution which simplified high-end coding, but which still had the permutation switching, so I combined her and my ideas. Here is the new snippet:

Preview the new colours template at Template:Sandbox/Difficulty Colours

Improved split difficulty layout
I took out the triple border in the case of split difficulty. It now displays the same as single difficulties. If people want that back, it's not a problem. I can restore this, and leave in the optimization changes.

Test subjects
Other than the border on the split ones, there should be NO visible changes:

Level 1/DW - compare to old version

Level 1/DW/Mobile (split) - compare to old version

Level 3/DW (same diff) - compare to old version

Level 1054/R (difficulty "none") - compare to old version

Level 469/R (split) - compare to old version