Help:Editing

From TEHCC Wiki
Revision as of 15:02, 8 April 2011 by Vhasler (talk | contribs) (→‎Links: Added PDF link example)
Jump to navigation Jump to search

Please see http://www.mediawiki.org/wiki/Help:Editing for detailed generic wiki editing/syntax/formatting information

ClubWiki:Creating_a_Trail has information on how to add (or modify) a trail specific to this site

Current issues with the site

  • Only images can be uploaded - working on addressing this
  • Uploaded images don't work - something goofy with our web host, I need to change the permissions on images and any auto-created resizes

Typically used syntax for this site

Categorization

Please add the appropriate categories to pages. This allows people to find trails/pages that are assigned to a particular category. This needs to be done in addition to any "Trail Use/Feature" icons added to the Info Box. Please see ClubWIKI:Categorization Plan for the categories in use on this site

Links

Description You type You get
Internal link [[Main Page]] Main Page
Internal link with different label [[Main Page|different text]] different text
External link http://mediawiki.org http://mediawiki.org
External link with different label [http://mediawiki.org MediaWiki] MediaWiki
Numbered external link [http://mediawiki.org] [1]
External links with file icons [http://en.wikipedia.org/wiki/.avi video] [http://en.wikipedia.org/wiki/.ogg sound] [http://en.wikipedia.org/wiki/.pdf document]

video
sound
document

Mailto link [mailto:info@example.org email me] email me
Mailto named with subject line and body [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] info
Link directly to an internal file (not page) [[Media:Doe_River_Gorge_Visitor_Registration_Form.pdf‎|visitor release form]] visitor release form

Formatting

Description You type You get
Italic text
''italic''

italic

Bold text
'''bold'''

bold

Bold and italic
'''''bold & italic'''''

bold & italic

Escape wiki markup
<nowiki>no ''markup''</nowiki>

no ''markup''

section or line formatting – only at the beginning of the line
Headings of different levels
== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2

Level 3

Level 4

Level 5
Level 6
Horizontal rule
Text above
----
Text below

Text above


Text below

Bullet list
* Start each line
* with an [[Wikipedia:asterisk|asterisk]] (*).
** More asterisks gives deeper
*** and deeper levels.
* Line breaks<br />don't break levels.
*** But jumping levels creates empty space.
Any other start ends the list.
  • Start each line
  • with an asterisk (*).
    • More asterisks gives deeper
      • and deeper levels.
  • Line breaks
    don't break levels.
      • But jumping levels creates empty space.

Any other start ends the list.

Numbered list
# Start each line
# with a [[Wikipedia:Number_sign|number sign]] (#).
## More number signs gives deeper
### and deeper
### levels.
# Line breaks<br />don't break levels.
### But jumping levels creates empty space.
# Blank lines

# end the list and start another.
Any other start also
ends the list.
  1. Start each line
  2. with a number sign (#).
    1. More number signs gives deeper
      1. and deeper
      2. levels.
  3. Line breaks
    don't break levels.
      1. But jumping levels creates empty space.
  4. Blank lines
  1. end the list and start another.

Any other start also ends the list.

Definition list
;item 1
: definition 1
;item 2
: definition 2-1
: definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2
Indenting (Useful for discussions)
: Single indent
:: Double indent
::::: Multiple indent
Single indent
Double indent
Multiple indent

Paragraphs

MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <br />.

Other

Description You type You get
Signing (Useful for discussions)
: Your user name: ~~~
: Your user name plus timestamp: ~~~~
: Five tildes give a timestamp: ~~~~~
Your user name: Tim
Your user name plus timestamp: Tim 20:48, 1 March 2011 (EST)
Five tildes give a timestamp: 20:48, 1 March 2011 (EST)

Note: The server will fill in the link after you save.

Photo captions
Image:photo.jpg|caption
Photograph
Caption
Image sizing
Image:photo.jpg|200px
Photograph with 200 pixel width