Thread:Barnswallow/@comment-32698898-20171020065825/@comment-25205196-20171021093259

Oh! I see what you mean now.

As I said before, most of pages use templates. You can learn more about templates at Help:Templates. For example, on the main page, we have a design template called FPModule which makes the sidebar boxes: Template:FPModule. This is coupled with some custom CSS we have in MediaWiki:Common.css to style the module headers and the boxes themselves. This way we don't have to type the code again and again to make boxes. We just use the template and fill it with content as shown in Template:FPModule. The main page is almost all templates and custom CSS. You would need to copy them all to your wiki to have your main page looks like yours. You may want to start with something simpler if you're not familiar at all with coding then improve it as you learn.