Board Thread:Support Requests - Getting Technical/@comment-2054074-20170810230522/@comment-32354545-20170813092457

Hey Rjtrains, it looks like you're using the default style of Template:Navbox. Like the default style of Template:Infobox, this template tends to confuse users into thinking that to create a new navbox/infobox, they should try to call the original with  or   when that's actually quite a poor and inflexible solution.

Many users at this point would give up on explaining the code and refer you to gross LUA, but it's a lot easier to just do some very simple coding. I'll show you how.

It's SUPER easy. Let's check out the default code first:

{{documentation} }


 * }

There are three distinct parts, which I colored differently. In purple is important code that you shouldn't really change if you don't know what you're doing, in red is a heading, and in blue is the content space.

To create a navbox, you should copy the entire content of Template:Navbox on your wiki to an entirely new location such as Template:Navbox SpecOps, unchanged, and then save the page. Do not edit Template:Navbox itself.

Once it is saved at the new location, you should edit this new location and replace the "" with the content of the header you'd like, such as "SpecOps". Then you should replace the with the content you'd like. Useful is  without the space as on page save it turns into a • to neatly separate links.

You may also copy the red and blue sections of the navbox again if you want multiple sections in your navbox.

{{documentation} }


 * }And, if you don't like that shade of blue, you may change the background color of the heading by changing the color I highlighted in the example code in black. It is a hexadecimal color, but you might just replace it with "red" or "purple" equivalently, or use an online hex color finder.

Check out c:subway:Template:Navbox_SUBWAY for a navbox I derived from the default navbox my wiki was given at its creation. You might check out its history or this diff to see the code changes I made. They weren't hard at all.