Community Central
Community Central
No edit summary
Tag: sourceedit
mNo edit summary
Tag: rte-source
Line 2: Line 2:
 
This set of '''main page <tags/>''' allows for easier [[Help:Main page|main page]] design and is the recommended method of creating layouts for desktop main pages.
 
This set of '''main page <tags/>''' allows for easier [[Help:Main page|main page]] design and is the recommended method of creating layouts for desktop main pages.
   
Using the following tags, you can create a main page that will work with Wikia ads and will be compatible with future changes Wikia may need to make to the main page layouts.
+
Using the following tags, you can create a main page that will work with Fandom ads and will be compatible with future changes Fandom may need to make to the main page layouts.
   
 
<pre style="width:300px;">
 
<pre style="width:300px;">
Line 73: Line 73:
 
[[it:Aiuto:Tag per le colonne della pagina principale]]
 
[[it:Aiuto:Tag per le colonne della pagina principale]]
 
[[pt:Ajuda:Tags de coluna da página principal]]
 
[[pt:Ajuda:Tags de coluna da página principal]]
 
 
[[Category:Editing|{{PAGENAME}}]]
 
[[Category:Editing|{{PAGENAME}}]]
 
[[Category:Source editing|{{PAGENAME}}]]
 
[[Category:Source editing|{{PAGENAME}}]]

Revision as of 18:18, 27 September 2016

This set of main page <tags/> allows for easier main page design and is the recommended method of creating layouts for desktop main pages.

Using the following tags, you can create a main page that will work with Fandom ads and will be compatible with future changes Fandom may need to make to the main page layouts.

<mainpage-leftcolumn-start />

   content in the left column

<mainpage-endcolumn />

<mainpage-rightcolumn-start />

   content in the right column

<mainpage-endcolumn />

How to use the tags

Main page tags editor

How main page tags may look in the editor

The "leftcolumn" tag starts the fluid width left column, and comes first:

<mainpage-leftcolumn-start />

The left column is ended by:

<mainpage-endcolumn />


Next, the following starts a 300px wide right column:

<mainpage-rightcolumn-start />

The right column is also ended by:

<mainpage-endcolumn />


After the end of the right column tag you can place anything you wish, and make them 100% page width. However, note that this is generally recommended against, especially on shorter pages. You will need to add the following to ensure it appears below the columns:

<br style="clear:both;"/>

Examples

Main page example layout

A screen shot of the demo community's main page.

This demo community's main page is set up to display this article and some placeholder content, to illustrate how the tags can be used:

{{#NewWindowLink:http://main-page-demo.wikia.com/index.php?title=Main_Page%7Chttp://main-page-demo.wikia.com}}

The source code used to create the demo community's main page can be found at Help:Main page column tags/source.

The main page tags in action on other wikis:

See also

Further help and feedback