Help:Formatting/Page layout

From Paragon Wiki
Jump to: navigation, search

Overview

This article contains information for creating and editing the layout of an article on the Paragon Wiki.


Headers

Headers are created with the Wiki Markup Language of enclosing equal signs that are placed at the beginning of a new line. Each level heading is automatically formatted by the Wiki parser. Headings form the listings in a page's table of contents and are automatically HTML anchor links. Headings should not contain links, but may contain other Anchors placed by an editor.

Single equals create the top level and title level heading for an article. This is automatically generated by Wiki parser using the name of the article, and so, most editors will never have a need to use the single equals, except for sandbox pages or some very specialized pages.

Double equals create the next, lower level title heading. Triple equals the next level, and so on.


Table of Contents templates

The Wiki magic word, _TOC_, places a Table of Contents on the top left of the page and all text follows after it.

For others, see TOC Templates.

Table of Contents float right (TOCright)

The TOCright template is often used on Paragon Wiki pages. It will place a floating table of contents on the right side of the article, allowing text to flow around it, rather than on the left with text below it. It should not be used anyplace that __TOC__ is also used.

Format: {{TOCright}}
  • TOCRight has no parameters.


Tables

Tables are a way to lay out data and pictures in columns and rows.

For further information: Wikipedia Help on Tables | Wiki policy on when to use tables

Tables are not recommended for a simple placement of a picture in a page. For information how to do that, see: inserting pictures tutorial.


Clear (Clr)

The {{clr}} template is used in conjunction with an image or a table that is aligned with the side of the page. It will force any data that comes after it to start below the bottom edge of an image.

Format: {{clr}}

  • clr can take no parameters, or left or right.

Alternately, instead of using {{clr|left}} or {{clr|right}}, {{clrl}} and {{clrr}} move content below any objects floating to the left (clrl) or right (clrr) while allowing text to flow to the edge of the opposite side.