Help:Basic Wiki Markup

From Earth Empires Wiki
Jump to: navigation, search


EarthWiki Editing Help

Thanks for your interest in helping to improve EarthWiki! Here is a brief introduction to the markup used when editing pages, devided into markup that works anywhere in the text and markup which only works at the beginning of lines.

Works anywhere in the text

Italic text

Two single quotes encapsulating the text you want italicized. Usage:

"Some ''italic'' text"

Displays: "Some italic text"

Bold text

Three single quotes encapsulating the text you want bolded. Usage:

"Some '''bold''' text"

Displays: "Some bold text"

Bold and italic text

Five single quotes encapsulating the text you want bolded and italicized. Usage:

"Some ''''bold & italic''''' text"

Displays: "Some bold & italic text"

Link to another EarthWiki page

[[Name of page]]
[[Name of page|Text to display]]

Name of page
Text to display


Link to an external website

[http://www.example.org Text to display]
[http://www.example.org]

Text to display
[1]


Error creating thumbnail: Unable to save thumbnail to destination
Caption

Add an image

To add an inline, right-justified image like the one at right:
[[File:EElogo wiki.jpg|thumb|alt=Alternative Text|Caption]]

(Note that to align the top of that image with the section heading the image link is placed on the line above the heading.)

Image Gallery

An easy way of displaying several images in simple layout.

<gallery caption="Sample gallery" widths="80px" perrow="6">
File:EElogo wiki.jpg
File:EElogo wiki.jpg|Captioned
File:EElogo wiki.jpg
File:EElogo wiki.jpg|[[Help:Contents/Links|Links]] can be put in captions.
File:EElogo wiki.jpg
File:EElogo wiki.jpg|Full [[Wikipedia:MediaWiki|MediaWiki]]<br />[[Wikipedia:syntax|syntax]] may now be used…
</gallery>

Example:

Add a Page to a Category

Categories should be placed at the end of pages. The category name will display in a bar at the bottom when the page is previewed or saved.

[[Category:Category name]]

A sorting key may be added to categories. Adding a sort key will make the page show up outside of its natural alphabetic/numeric order.

[[Category:Category name|N]]

The example above would put the Category "Category name" under the alphabetical listing of "N". This is useful when categorizing templates (which the namespace always begins with "T".

Link to a Category Page

To link to a category page, place a preceding : before the page title. Alternate text works as well (like normal links).

[[:Category:Category name]]
[[:Category:Category name|Alternate text]]

Signature

Sign your contributions when posting to a Talk Page.

Do not sign when contributing to an article.

~~~~

Will produce your login name (or Real Name if specified) followed by a time-stamp.

Works Only at the Beginnings of Lines

Redirect to another page

Redirects must be placed at the start of the first line.

#REDIRECT [[Target page]]

Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three

Numbered List

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three

Indenting text

'This is generally used when replying on a Talk Page, as it keeps conversations easy to browse.'

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent

Section headings

A Table of Contents will automatically be generated when four headings are added to an article. If you do not wish a table of contents to be automatically generated, on the first line of the document, use the magic word: __NOTOC__

= Level 1 = (Do not use!)
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level Heading Examples

Level 1

Level 2

Level 2

Level 3

Level 3

Level 4

Level 4

Level 5

Level 5

Level 6

Level 6