Difference between revisions of "Help:Contents"

From WikiVet English
Jump to navigation Jump to search
m
Line 7: Line 7:
 
<sup> For references use this [[template:citation|template]]</sup></p>
 
<sup> For references use this [[template:citation|template]]</sup></p>
  
== Text formatting markup ==
 
  
{| {{Prettytable}}
 
|-
 
|{{Hl2}} |'''Description'''
 
|{{Hl2}} |'''You type'''
 
|{{Hl2}} |'''You get'''
 
|-
 
| colspan="3" align="center" | ''applies anywhere''
 
|-
 
|Italic text
 
|<tt><nowiki>''italic''</nowiki></tt>
 
|''italic''
 
|-
 
| Bold text
 
|<tt><nowiki>'''bold'''</nowiki></tt>
 
|'''bold'''
 
|-
 
| Bold and italic
 
|<tt><nowiki>'''''bold & italic'''''</nowiki></tt>
 
|'''''bold & italic'''''
 
|-
 
|Escape wiki markup
 
|<tt><nowiki><nowiki>no ''markup''</nowiki></nowiki></tt>
 
|<nowiki>no ''markup''</nowiki>
 
|-
 
| colspan="3" align="center" | ''only at the beginning of the line''
 
|-
 
|Headings of<br />
 
different levels <ref>Use of a heading created by single equal signs is discouraged as it appears with the same formatting and size as the page title, which can be confusing.</ref><ref>An article with four or more headings will automatically create a [http://en.wikipedia.org/wiki/Wikipedia:Section#Table_of_contents_.28TOC.29 table of contents].</ref>
 
|
 
<tt><nowiki>==level 1==</nowiki></tt><br />
 
<tt><nowiki>===level 2===</nowiki></tt><br />
 
<tt><nowiki>====level 3====</nowiki></tt><br />
 
<tt><nowiki>=====level 4=====</nowiki></tt>
 
|
 
  
 
==Level 1==
 
==Level 1==

Revision as of 16:56, 22 September 2008

Writing a Wiki Article

Formatting

See also Detailed Help from Media Wiki

Template

For references use this template


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

|}

Notes:

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 tags <br> or <br/>.

HTML

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

Links

You will often want to make clickable links to other pages.

Description You type You get
Internal link [[Main Page]] Main Page
Category link [[:Category:Help]] Category:Help
Piped link [[Main Page|different text]] different text
Anchor link [[#External links|Anchor link]] Anchor link
External link http://mediawiki.org http://mediawiki.org
Internal link to image file [[media:example.jpg]] media:example.jpg
External link,

different title

[http://mediawiki.org MediaWiki] MediaWiki
External link,

unnamed

[http://mediawiki.org] [1]
External link,

same host unnamed

[http://{{SERVERNAME}}/pagename] [2]
Interwiki link [[Wikipedia:MediaWiki]] Wikipedia:MediaWiki
mailto mailto:info@example.org mailto:info@example.org
mailto unnamed [mailto:info@example.org] [3]
mailto named [mailto:info@example.org info] info
redirect #REDIRECT [[Main Page]] Main Page


See also Detailed Help from Media Wiki