Difference between revisions of "Help: Formatting"

From A Wiki of Ice and Fire
Jump to: navigation, search
m
m
 
Line 4: Line 4:
 
== Text formatting markup ==
 
== Text formatting markup ==
  
{| align="center" {{Prettytable}}
+
{| cellspacing="4" cellpadding="3" rules="all" style="width:100%;background:#f5faff; border:2px solid #B8C7D9;"
 
|-
 
|-
 
|{{Hl2}} |'''Description'''
 
|{{Hl2}} |'''Description'''
Line 10: Line 10:
 
|{{Hl2}} |'''You get'''
 
|{{Hl2}} |'''You get'''
 
|-
 
|-
| colspan="3" align="center" | ''applies anywhere''
+
|{{Hl2}} colspan="3" align="center" | ''applies anywhere''
 
|-
 
|-
 
|Italic text
 
|Italic text
Line 23: Line 23:
 
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
 
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
 
|'''''bold & italic'''''
 
|'''''bold & italic'''''
 +
|-
 +
| Large Text
 +
| <tt><nowiki><big>Large Text</big></nowiki></tt>
 +
| <big>Large Text</big>
 +
|-
 +
| Small Text
 +
| <tt><nowiki><small>Small Text</small></nowiki></tt>
 +
| <small>Small Text</small>
 +
|-
 +
||[[Help:Links|Link to another Wikipedia page]]
 +
|
 +
<tt><nowiki>[[Help:Contents]]</nowiki></tt><br />
 +
<tt><nowiki>[[Help:Contents|Help]]</nowiki></tt>
 +
|
 +
[[Help:Contents]]<br />
 +
[[Help:Contents|Help]]
 +
|-
 +
|[[Help:Images|Add an image]]
 +
|
 +
<tt><nowiki>[[</nowiki>File:Example.jpg|thumb|alt=[[Wikipedia:Alternative text for images|Alt&nbsp;text]]|Caption<nowiki>]]</nowiki></tt>
 +
|
 +
[[File:Example.jpg|thumb|alt=Alt text|Caption]]
 +
|-
 +
|Add a page to a [[Help:Categories|category]]
 +
|<tt><nowiki>[[Category:Category name]]</nowiki></tt>
 +
|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.
 
|-
 
|-
 
|Escape wiki markup
 
|Escape wiki markup
Line 28: Line 54:
 
|<nowiki>no ''markup''</nowiki>
 
|<nowiki>no ''markup''</nowiki>
 
|-
 
|-
| colspan="3" align="center" | ''only at the beginning of the line''
+
|{{Hl2}} colspan="3" align="center" | ''only at the beginning of the line''
 
|-
 
|-
 
|Headings of<br />
 
|Headings of<br />
Line 117: Line 143:
 
Some HTML-Tags are allowed in MediaWiki, for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
 
Some HTML-Tags are allowed in MediaWiki, for example <tt><nowiki><code></nowiki></tt>, <tt><nowiki><div></nowiki></tt>, <tt><nowiki><span></nowiki></tt> and <tt><nowiki><font></nowiki></tt>.
  
== More advanced formatting ==
 
Beyond the basic text formatting markup shown above, there are some more advanced formatting tricks:
 
*[[Help:Links|Links]]
 
*[[Help:Images|Images]]
 
*[[Help:Tables|Tables]]
 
  
== External Links ==
+
== See Also==
{{meta|Help:Editing}}
+
*  For a full list of editing commands see [[wikipedia:Help:Wiki_markup|wikipedia help Wiki markup]].
  
  
 
{{Template:WikiHelpNav}}
 
{{Template:WikiHelpNav}}
 
[[Category:Help|Formatting]]
 
[[Category:Help|Formatting]]

Latest revision as of 08:30, 6 February 2012

You can format your text using wiki markup. This consists of normal characters like asterisks, single quotes or equation marks which have a special function in the wiki, sometimes depending on their position. For example, to format a word in italic, you include it in two single quotes like ''this''

Text formatting markup

Description You type You get
applies anywhere
Italic text ''italic'' italic
Bold text '''bold''' bold
Bold and italic '''''bold & italic''''' bold & italic
Large Text <big>Large Text</big> Large Text
Small Text <small>Small Text</small> Small Text
Link to another Wikipedia page

[[Help:Contents]]
[[Help:Contents|Help]]

Help:Contents
Help

Add an image

[[File:Example.jpg|thumb|alt=Alt text|Caption]]

Alt text
Caption
Add a page to a category [[Category:Category name]] 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.
Escape wiki markup <nowiki>no ''markup''</nowiki> no ''markup''
only at the beginning of the line
Headings of

different sizes

==level 1==
===level 2===
====level 3====
=====level 4=====

Level 1

Level 2

Level 3

Level 4
Horizontal rule

----


Bullet list

* one
* two
* three
** three and one-third
** three and two-thirds

  • one
  • two
  • three
    • three and one-third
    • three and two-thirds
Numbered list

# one
# two
# three
## three point one
## three point two

  1. one
  2. two
  3. three
    1. three point one
    2. three point two
Mixture of bulleted
and numbered lists

# one
# two
#* two point one
#* two point two

  1. one
  2. two
    • two point one
    • two point two
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2
Preformatted text

  preformatted text is done with
  a space at the
  beginning of the line

preformatted text is done with
a space at the 
beginning of the line


Paragraphs

Mediawiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a newline with the HTML tag <br />.

HTML

Some HTML-Tags are allowed in MediaWiki, for example <code>, <div>, <span> and <font>.


See Also