|
|
(13 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
− | {{toplink
| |
− | |pagetype=Help
| |
− | |linktext=HELP
| |
− | |linkpage=Help:Contents
| |
− | }}
| |
− | <br>
| |
| {|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|}}}" | | {|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|}}}" |
| |- | | |- |
Line 38: |
Line 32: |
| <tt><nowiki>====level 3====</nowiki></tt><br /> | | <tt><nowiki>====level 3====</nowiki></tt><br /> |
| <tt><nowiki>=====level 4=====</nowiki></tt> | | <tt><nowiki>=====level 4=====</nowiki></tt> |
− | |
| |
− | ==Level 1==
| |
− | ===Level 2===
| |
− | ====Level 3====
| |
− | =====Level 4=====
| |
− | |-
| |
− | |Horizontal rule
| |
− | |
| |
− | <tt><nowiki>----</nowiki></tt>
| |
− | |
| |
− | ----
| |
− | |-
| |
− | |Bullet list
| |
− | |
| |
− | * one<br>
| |
− | * two<br>
| |
− | * three<br>
| |
− | ** three and one-third<br>
| |
− | ** three and two-thirds<br>
| |
− | |
| |
− | * one
| |
− | * two
| |
− | * three
| |
− | ** three and one-third
| |
− | ** three and two-thirds
| |
− | |-
| |
− | |Numbered list
| |
− | |
| |
− | # one<br />
| |
− | # two<nowiki><br></nowiki>spanning several lines<nowiki><br></nowiki>without breaking the numbering<br />
| |
− | # three<br />
| |
− | ## three point one<br />
| |
− | ## three point two<br />
| |
− | |
| |
− | # one
| |
− | # two<br>spanning several lines<br>without breaking the numbering
| |
− | # three
| |
− | ## three point one
| |
− | ## three point two
| |
− | |-
| |
− | | Mixture of bulleted<br /> and numbered lists
| |
− | |
| |
− | # one<br />
| |
− | # two<br />
| |
− | #* two point one<br />
| |
− | #* two point two<br />
| |
− | |
| |
− | # one
| |
− | # two
| |
− | #* two point one
| |
− | #* two point two
| |
− | |-
| |
− | |Definition list
| |
− | |
| |
− | ;Definition<br />
| |
− | :item 1<br />
| |
− | :item 2<br />
| |
− | |
| |
− | ;Definition
| |
− | :item 1
| |
− | :item 2
| |
− | |-
| |
− | |Preformatted text
| |
− | |
| |
− | preformatted text is done with<br />
| |
− | a space at the<br />
| |
− | beginning of the line<br />
| |
− | |
| |
− | preformatted text is done with
| |
− | a space at the
| |
− | beginning of the line
| |
− | |}
| |
− |
| |
− | Notes: <references/>
| |
− |
| |
− | == 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 <tt><nowiki><br> or <br/></nowiki></tt>.
| |
− |
| |
− | == 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>.
| |
− |
| |
− | == Links ==
| |
− |
| |
− | You will often want to make clickable ''links'' to other pages.
| |
− |
| |
− | {|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'''
| |
− | |-
| |
− | |Internal link
| |
− | |<tt><nowiki>[[Veterinary Education Online]]</nowiki></tt>
| |
− | |[[Veterinary Education Online]]
| |
− | |-
| |
− | |Category link
| |
− | |<tt><nowiki>[[:Category:Help]]</nowiki></tt>
| |
− | |[[:Category:Help]]
| |
− | |-
| |
− | |Piped link
| |
− | |<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>
| |
− | | → [[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'''
| |
− | |-
| |
− | |<big>Image appears on page</big><br><br>In this example want to display the WikiVet logo, so insert file name '''Wikivet.png''' into the image code <nowiki>[[File:]]</nowiki>.<br>Click "edit" on the page you want image on, then insert the code in desired location and click "save".<br>File name must match exactly what appears in [http://commons.wikivet.net WikiVet Commons].<br>The default size is as uploaded to WikiVet Commons, the default position is to the left.
| |
− | |<tt><nowiki>[[File:</nowiki><font color=red>Wikivet.png</font><nowiki>]]</nowiki></tt>
| |
− | |[[File:Wikivet.png]]
| |
− | |-
| |
− | |<big>Change '''size''' of image </big><br><br>can set '''width''' and height will adjust according to same ratio as uploaded. <br>In this example, want to make image 50 pixels wide, so insert '''<nowiki>|50px</nowiki>''' into the image code
| |
− | |<tt><nowiki>[[File:Wikivet.png</nowiki><font color=red><nowiki>|50px</nowiki></font><nowiki>]]</nowiki></tt>
| |
− | |[[File:Wikivet.png|50px]]
| |
− | |-
| |
− | |<big>Change '''position''' of image</big><br><br>Can change default position for image on the screen to left, center or right.<br>In this example, have made aligned to the center by inserting '''<nowiki>|center</nowiki>''' into the image code.<br>Can align to the left with '''<nowiki>|left</nowiki>''' and to the right with '''<nowiki>|right</nowiki>'''
| |
− | |<tt><nowiki>[[File:Wikivet.png</nowiki><font color=red><nowiki>|center</nowiki></font><nowiki>]]</nowiki></tt>
| |
− | |[[File:Wikivet.png|center]]
| |
− | |-
| |
− | |<big>Make image into a '''thumbnail'''</big><br><br>Can put box around image by inserting '''<nowiki>|thumb</nowiki>''' into the image code.<br>Default position for thumbnails is to the right of the screen.
| |
− | |<tt><nowiki>[[File:Wikivet.png</nowiki><font color=red><nowiki>|thumb</nowiki></font><nowiki>]]</nowiki></tt>
| |
− | |[[File:Wikivet.png|thumb]]
| |
− | |-
| |
− | |<big>Add '''captions''' to a thumbnail</big><br><br>Can add a description or a link underneath a thumbnail image.<br>In this example a simple description is entered - see [[Help:WikiMarkup_Formatting#Links|Links]] section for different links you can display.<br>To dispaly "WikiVet Logo" under the thumbnail, add '''<nowiki>|thumb|WikiVet Logo</nowiki>''' to the image code.
| |
− | |<tt><nowiki>[[File:Wikivet.png</nowiki><font color=red><nowiki>|thumb|WikiVet Logo</nowiki></font><nowiki>]]</nowiki></tt>
| |
− | |[[File:Wikivet.png|thumb|WikiVet Logo]]
| |
− | |-
| |
− | |<big>Make image a '''clickable link'''</big><br><br>This uses the Imagemap extension which puts an information button on the bottom right corner linking to the image file.<br>You add the file name after <nowiki>"Image:"</nowiki>, you can also define size and position.<br>Add link to page after "default" - this is the page that user will be taken to when they click the image.
| |
− | |<tt><nowiki><imagemap></nowiki><br>
| |
− | Image:<font color=red><nowiki>Wikivet.png|50px|center</nowiki></font><br>
| |
− | default <font color=red><nowiki>[[Veterinary Education Online]]</nowiki></font><br>
| |
− | <nowiki></imagemap></nowiki></tt>
| |
− | |<imagemap>
| |
− | Image:Wikivet.png|50px|center
| |
− | default [[Veterinary Education Online]]
| |
− | </imagemap>
| |
| |} | | |} |
− |
| |
− |
| |
− | For further help please look at this site; [http://www.mediawiki.org/wiki/Help:Contents help from MediaWiki]
| |
− | [[Category:Help]]
| |