User blog:Ultimate Dark Carnage/Carnage's Guide to Creating a Main Page

Greetings fellow contributors, I am Ultimate Dark Carnage, and I am going to show you a tutorial on how to create a presentable main page. Here are the tips on creating a good main page:

Main Page Content
This section shows you what content should the main page have, and where should they be placed.

Left Column
This part of the tutorial shows you what should be on the left column. Here are the following items:
 * Banner: The banner is the logo that goes on top of the main page. The image must be at least 200 &times; 200.
 * Welcome Section: The welcome section lets you know what the wiki is about, and welcomes you to the wiki.
 * Slider: The slider is a gallery that is used to navigate the wiki.
 * Portal: The portal is used to navigate the pages of characters, locations, and other stuff.
 * Input Box: The input box is used to create a page in an instant. It can also be used for presentation.
 * Navigation: The navigation section is also used for easy navigation.
 * Activity Feed: The activity feed lets you know how active the wiki is.

Right Column
This part of the tutorial shows you what should be on the right column. Here are the following items:
 * Chat Entry Point: The chat entry point is used as a quick way to enter chat.
 * Bloglist: The blog list lets you know which blogs are popular and active.
 * Polls: The polls lets the readers and the contributors vote for someone or something.
 * News: The news section tells the users about what happened on the wiki.

Footer
This part of the tutorial shows you what should be on the footer. Here are the following items:
 * Affiliations: The affiliations section lets people know what wikis are related to this wiki.
 * Resources / Social Network: The social networking section lets people know that the wiki has a Twitter, Facebook, Pinterest, and other social networking accounts. It can also be used as a resources section.

Styling the Main Page sections
This section shows you how the main page should look. The main page sections should be bordered, and the heading should be bordered too. If you want to know how to add a border around the main page section, see below:

HTML (or Wiki-text)
You can use HTML and/or wiki-text to create a main page section.

Source
Here is the source code for the bordered main page section: Example Content

Result
Here is the result of the code:

Example Content

Note: You can also add the code to a template, e.g. Template:MainPageHeadline.

CSS
You can use CSS to add styling to the main page sections.

Code
Here is the CSS code for the main page sections. Note: You must add the  attribute to the main page section for the styling to work.

You can add the CSS to the MediaWiki:Wikia.css, MediaWiki:Common.css, or MediaWiki:MainPage.css. If you have added the code to the MediaWiki:MainPage.css page, see below.

Importing
You can import the code via CSS or JavaScript. Here are the source codes for importing the CSS:

CSS

Here is the CSS method of importing the MediaWiki:MainPage.css page.

JavaScript

Here is the JavaScript method of importing the MediaWiki:MainPage.css page.

Note: Replace "yourwiki" with the URL of your wiki.

Conclusion
The main page makes the wiki presentable for the viewers to look at. Also creating a presentable main page increases the popularity of your wiki. If you have any questions, feedback, and/or ideas, comment on this blog.

&mdash; This blog is created by Ultimate Dark Carnage