Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.

Difference between revisions of "Help:Formatting"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
m (1 revision(s))
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{PD Help Page}}
+
__NOTOC__
 +
 
 
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 <tt><nowiki>''this''</nowiki></tt>
 
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 <tt><nowiki>''this''</nowiki></tt>
  
Line 6: Line 7:
 
{| align="center" {{Prettytable}}
 
{| align="center" {{Prettytable}}
 
|-
 
|-
|{{Hl2}} |'''Description'''
+
| |'''Description'''
|{{Hl2}} |'''You type'''
+
| |'''You type'''
|{{Hl2}} |'''You get'''
+
| |'''You get'''
 
|-
 
|-
 
| colspan="3" align="center" | ''applies anywhere''
 
| colspan="3" align="center" | ''applies anywhere''
Line 108: Line 109:
 
  a space at the  
 
  a space at the  
 
  beginning of the line
 
  beginning of the line
 +
|-
 +
|Comments
 +
|<tt><nowiki><!-- This is a comment and it will not appear on the page --></nowiki></tt>
 +
|<!-- This is a comment and it will no appear on the page -->
 
|}
 
|}
  
Line 115: Line 120:
 
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tag <tt><nowiki><br&nbsp;/></nowiki></tt>.   
 
MediaWiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can also start a new line with the HTML tag <tt><nowiki><br&nbsp;/></nowiki></tt>.   
  
== HTML ==
+
==HTML==
  
 
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>.
  
{{Admin tip|tip=If you trust your users you can allow full HTML by setting <code>$wgRawHtml = true;</code> in LocalSettings.php.}}
+
HTML can also be used to format colors, fonts, and text size.
 
 
  
 
== Other formatting ==
 
== Other formatting ==
Line 128: Line 132:
 
*[[Help:Tables|Tables]]
 
*[[Help:Tables|Tables]]
 
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text#Underlining More Formatting from Wikipedia]
 
[http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_Page_Help/Do-It-Yourself/Formatting_Text#Underlining More Formatting from Wikipedia]
 
== External Links ==
 
{{meta|Help:Editing}}
 
 
{{Languages|Help:Formatting}}
 
 
__NOTOC__
 
__NOEDITSECTION__
 
 
[[Category:Help|Formatting]]
 

Latest revision as of 18:14, 4 March 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
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<br>spanning several lines<br>without breaking the numbering
# three
## three point one
## three point two

  1. one
  2. two
    spanning several lines
    without breaking the numbering
  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
Comments <!-- This is a comment and it will not appear on the page -->


Paragraphs

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

HTML

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

HTML can also be used to format colors, fonts, and text size.

Other formatting

Beyond the text formatting markup shown above, here are some other formatting references:

More Formatting from Wikipedia