Help:Markup

From The Coppermind
Revision as of 03:27, 11 December 2016 by Jofwu (talk | contribs) (basic markup usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To format pages on Coppermind a basic wiki markup language is used. Below you can find the most common and useful features.

Line Breaks

A line break creates the white space between two paragraphs. To create a line break, press Enter/Return twice. A single press of Enter/Return will move the cursor to a new line in the editor, but it will not create a line break.

Text Formatting

Italics
For italics use two apostrophes ('') on either side:
''italicized text'' produces italicized text
Bold
For bold text use three apostrophes (''') on either side:
'''bold text''' produces bold text
Small Text
For small text surround the text with <small> and </small>:
<small>Small Text</small> produces Small Text

Section Headings

Create sections headings with equals signs (=) on both sides of the text:

== Level 2 Heading ==
=== Level 3 Heading ===
==== Level 4 Heading ====
etc.

Don't use level 1 headings; that's for the page title!

Note: A Table of Contents will automatically be created after a set number of headings are used.

Indents

Use colons (:) to indent:

: indent once produces:

indent once

:: indent twice produces:

indent twice

etc.

Note: When replying to a comment on a article's discussion page, indent one step beyond the previous comment.

Lists

Bulleted Lists

Create bulleted lists with asterisks (*):

This...

* Item 1
* Item 2
** Item 2a
** Item 2b
* Item 3

...produces this:

  • Item 1
  • Item 2
    • Item 2a
    • Item 2b
  • Item 3

Numbered Lists

Create numbered lists with number signs (#):

This...

# Item 1
# Item 2
## Item 2a
## Item 2b
# Item 3

...produces this:

  1. Item 1
  2. Item 2
    1. Item 2a
    2. Item 2b
  3. Item 3

Description Lists

A description list is a list of bold terms, each followed by one or more lines of indented normal text. To create a description list, place each term on a new line and precede it with a semicolon (;). The following description is then preceded with a colon (:). Use multiple lines if desired. Do not use a semicolon simply to make something bold!

This...

;Item 1
: description 1a
: description 1b
;Item 2
: description 2

...produces this:

Item 1
description 1a
description 1b
Item 2
description 2

Links & URLs

Internal Links

An internal link is a direct link to another article on Coppermind. Just use double brackets ([[ and ]]) around the article name. Remember, case matters with article titles.

Basic Internal Link
[[Mistborn]] produces Mistborn, which links to the "Mistborn" article.
Blend Link
Note that you can append to the article name if needed for grammatical purposes.
[[Herald]]s produces Heralds, which links to the "Herald" article.
Renamed Link
More extensive changes can be made with a vertical bar (|) followed by alternate text.
[[Gold|a valuable metal]] produces a valuable metal, which links to the "Gold" article.
Link to a section on a page
Link to a specific section on a page by including a number sign (#) followed by the section name.
[[Iron#Allomantic Use]] produces Iron#Allomantic Use, which links to the "Allomantic Use" section in the "Iron" article.

External Links

External links point to somewhere outside of Coppermind.

Bare External Link
Simply type the URL for a bare external link. This method should be avoided.
http://www.google.com produces http://www.google.com.
Unnamed External Link
Use single brackets ([ and ]) to produce an unnamed external URL.
[http://www.google.com] produces [1].
Named External Link
Follow the URL with a space and some other text to rename the link. This is the preferred method.
[http://www.google.com Google] produces Google.

References & Citations

See references and citations help page.

Images

See images help page.

Other Tricks

Username and timestamp
Use four tildas (~~~~) to automatically leave your username and a timestamp. Use this on article discussion pages.
Columns
Use the {{columns}} template to create columns. Use {{columns|count=N|TEXT}}, where "N" is the desired number of columns and "TEXT" is the content to be split up into columns.
Note: |count=N may be omitted; the number of columns is 3 by default.

Ignore Markup

<nowiki> Tag
Surround the text with <nowiki> and </nowiki> to ignore markup.
<nowiki>''<small>small, italic text</small>''</nowiki> produces ''<small>small, italic text</small>'' instead of small, italic text.
<pre> Tag
Alternatively, use <pre> and </pre>.
It behaves the same as <nowiki>, but also allows mono-spaced font and preserves spacing.