Difference between revisions of "Help:Markup"

From The Coppermind
Jump to navigation Jump to search
(basic markup usage)
 
m
Line 50: Line 50:
 
Create '''bulleted lists''' with asterisks (<code>*</code>):
 
Create '''bulleted lists''' with asterisks (<code>*</code>):
   
  +
{| width=100% border=0
{{columns|count=2|
 
  +
|-
This...
 
  +
| width=50%|This...
 
 
<pre style="white-space:pre-wrap; width:150px">
 
<pre style="white-space:pre-wrap; width:150px">
 
* Item 1
 
* Item 1
Line 60: Line 60:
 
* Item 3
 
* Item 3
 
</pre>
 
</pre>
  +
|
 
...produces this:
+
...produces:
 
 
* Item 1
 
* Item 1
 
* Item 2
 
* Item 2
Line 68: Line 67:
 
** Item 2b
 
** Item 2b
 
* Item 3
 
* Item 3
}}
+
|}
   
 
=== Numbered Lists ===
 
=== Numbered Lists ===
 
Create '''numbered lists''' with number signs (<code>#</code>):
 
Create '''numbered lists''' with number signs (<code>#</code>):
   
  +
{| width=100% border=0
{{columns|count=2|
 
  +
|-
This...
 
  +
| width=50%|This...
 
 
<pre style="white-space:pre-wrap; width:150px">
 
<pre style="white-space:pre-wrap; width:150px">
 
# Item 1
 
# Item 1
Line 83: Line 82:
 
# Item 3
 
# Item 3
 
</pre>
 
</pre>
  +
|
 
...produces this:
+
...produces:
 
 
# Item 1
 
# Item 1
 
# Item 2
 
# Item 2
Line 91: Line 89:
 
## Item 2b
 
## Item 2b
 
# Item 3
 
# Item 3
}}
+
|}
  +
  +
=== Mixed Lists ===
  +
You can mix and match bulleted and numbered lists:
  +
  +
{| width=100% border=0
  +
|-
  +
| width=50%|This...
  +
<pre style="white-space:pre-wrap; width:150px">
  +
# Item 1
  +
# Item 2
  +
#* Item 2a
  +
#* Item 2b
  +
# Item 3
  +
</pre>
  +
|
  +
...produces:
  +
# Item 1
  +
# Item 2
  +
#* Item 2a
  +
#* Item 2b
  +
# Item 3
  +
|}
   
 
=== Description Lists ===
 
=== 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 (<code>;</code>). The following description is then preceded with a colon (<code>:</code>). Use multiple lines if desired. Do not use a semicolon simply to make something bold!
 
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 (<code>;</code>). The following description is then preceded with a colon (<code>:</code>). Use multiple lines if desired. Do not use a semicolon simply to make something bold!
   
  +
{| width=100% border=0
{{columns|count=2|
 
  +
|-
This...
 
  +
| width=50%|This...
 
 
<pre style="white-space:pre-wrap; width:150px">
 
<pre style="white-space:pre-wrap; width:150px">
 
;Item 1
 
;Item 1
Line 106: Line 126:
 
: description 2
 
: description 2
 
</pre>
 
</pre>
  +
|
 
...produces this:
+
...produces:
 
 
;Item 1
 
;Item 1
 
: description 1a
 
: description 1a
Line 114: Line 133:
 
;Item 2
 
;Item 2
 
: description 2
 
: description 2
}}
+
|}
   
 
== Links & URLs ==
 
== Links & URLs ==
Line 152: Line 171:
   
 
== References & Citations ==
 
== References & Citations ==
  +
See [[:Help:References]].
See references and citations help page.
 
   
 
== Images ==
 
== Images ==
See images help page.
+
See [[:Help:Images]].
   
 
== Other Tricks ==
 
== Other Tricks ==
 
 
;Username and timestamp
 
;Username and timestamp
 
: Use four tildas (<code><nowiki>~~~~</nowiki></code>) to automatically leave your username and a timestamp. Use this on article discussion pages.
 
: Use four tildas (<code><nowiki>~~~~</nowiki></code>) to automatically leave your username and a timestamp. Use this on article discussion pages.
Line 164: Line 182:
 
;Columns
 
;Columns
 
: Use the {{t|columns}} template to create columns. Use <code><nowiki>{{columns|count=N|TEXT}}</nowiki></code>, where "N" is the desired number of columns and "TEXT" is the content to be split up into columns.
 
: Use the {{t|columns}} template to create columns. Use <code><nowiki>{{columns|count=N|TEXT}}</nowiki></code>, where "N" is the desired number of columns and "TEXT" is the content to be split up into columns.
: Note: <code>|count=N</code> may be omitted; the number of columns is 3 by default.
+
: Note: <code>|count=N</code> may be omitted; the number of columns is 3 by default.
   
 
== Ignore Markup ==
 
== Ignore Markup ==

Revision as of 21:08, 12 December 2016

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:

  • 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:

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

Mixed Lists

You can mix and match bulleted and numbered lists:

This...
# Item 1
# Item 2
#* Item 2a
#* Item 2b
# Item 3

...produces:

  1. Item 1
  2. Item 2
    • Item 2a
    • 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:

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 Help:References.

Images

See Help:Images.

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.