Difference between revisions of "Help:WikiMarkup Formatting"

From WikiVet English
Jump to navigation Jump to search
m (Text replace - "Main Page" to "Veterinary Education Online")
(added images information)
Line 190: Line 190:
 
| → [[Veterinary Education Online]]
 
| → [[Veterinary Education Online]]
 
|}
 
|}
 +
<br><br>
 +
== Images ==
 +
 +
You will often want to make links different sizes, move them to different positions on the page, make them clickable links or give them captions.
 +
 +
{|border="2" width="{{{width|100%}}}" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show;{{{style|}}}"
 +
|-
 +
|bgcolor="#8DA7D6" color="black"|'''Description'''
 +
|bgcolor="#8DA7D6" color="black"|'''You type'''
 +
|bgcolor="#8DA7D6" color="black"|'''You get'''
 +
|-
 +
|Image appears on page
 +
|<tt><nowiki>[[File:Wikivet.png]]</nowiki></tt>
 +
|[[File:Wikivet.png]]
 +
|-
 +
|Change '''size''' of image - can set '''width''' and height will adjust according to same ratio as uploaded.  In this example, want to make image 50 pixels wide, so insert '''<nowiki>|50px</nowiki>''' into the code
 +
|<tt><nowiki>[[File:Wikivet.png|50px]]</nowiki></tt>
 +
|[[File:Wikivet.png|50px]]
 +
|-
 +
|Change '''position''' of image
 +
|<tt><nowiki>[[Veterinary Education Online|different text]]</nowiki></tt>
 +
|[[Veterinary Education Online|different text]]
 +
|-
 +
|Anchor link
 +
|<tt><nowiki>[[#External links|Anchor link]]</nowiki></tt>
 +
|[[#External links|Anchor link]]
 +
|-
 +
|External link
 +
|<tt><nowiki>http://mediawiki.org</nowiki></tt>
 +
|http://mediawiki.org
 +
|-
 +
|Internal link to image file
 +
|<tt><nowiki>[[media:example.jpg]]</nowiki></tt>
 +
|[[media:example.jpg]]
 +
|-
 +
|External link,<br />
 +
different title
 +
|<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt>
 +
|[http://mediawiki.org MediaWiki]
 +
|-
 +
|External link,<br />
 +
unnamed
 +
|<tt><nowiki>[http://mediawiki.org]</nowiki></tt>
 +
|[http://mediawiki.org]
 +
|-
 +
|External link,<br />
 +
same host unnamed
 +
|<tt><nowiki>[http://{{SERVERNAME}}/pagename]</nowiki></tt>
 +
|[http://{{SERVERNAME}}/pagename]
 +
|-
 +
|Interwiki link
 +
|<tt><nowiki>[[Wikipedia:MediaWiki]]</nowiki></tt>
 +
|Wikipedia:MediaWiki
 +
|-
 +
|mailto
 +
|<tt><nowiki>mailto:info@example.org</nowiki></tt>
 +
|mailto:info@example.org
 +
|-
 +
|mailto unnamed
 +
|<tt><nowiki>[mailto:info@example.org]</nowiki></tt>
 +
|[mailto:info@example.org]
 +
|-
 +
|mailto named
 +
|<tt><nowiki>[mailto:info@example.org info]</nowiki></tt>
 +
|[mailto:info@example.org info]
 +
|-
 +
|redirect
 +
|<tt><nowiki>#REDIRECT [[Veterinary Education Online]]</nowiki></tt>
 +
| &rarr; [[Veterinary Education Online]]
 +
|}
 +
  
 
For further help please look at this site; [http://www.mediawiki.org/wiki/Help:Contents help from MediaWiki]
 
For further help please look at this site; [http://www.mediawiki.org/wiki/Help:Contents help from MediaWiki]
 
[[Category:Help]]
 
[[Category:Help]]

Revision as of 11:45, 11 January 2012

Help:ContentsHelp Banner.png
HELP



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 levels [1][2]

==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

Notes:

  1. 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.
  2. An article with four or more headings will automatically create a table of contents.

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 [[Veterinary Education Online]] Veterinary Education Online
Category link [[:Category:Help]] Category:Help
Piped link [[Veterinary Education Online|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 [[Veterinary Education Online]] Veterinary Education Online



Images

You will often want to make links different sizes, move them to different positions on the page, make them clickable links or give them captions.

Description You type You get
Image appears on page [[File:Wikivet.png]] Wikivet.png
Change size of image - can set width and height will adjust according to same ratio as uploaded. In this example, want to make image 50 pixels wide, so insert |50px into the code [[File:Wikivet.png|50px]] Wikivet.png
Change position of image [[Veterinary Education Online|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] [4]
External link,

same host unnamed

[http://{{SERVERNAME}}/pagename] [5]
Interwiki link [[Wikipedia:MediaWiki]] Wikipedia:MediaWiki
mailto mailto:info@example.org mailto:info@example.org
mailto unnamed [mailto:info@example.org] [6]
mailto named [mailto:info@example.org info] info
redirect #REDIRECT [[Veterinary Education Online]] Veterinary Education Online


For further help please look at this site; help from MediaWiki