Help:Cheatsheet

From digmovements

Jump to: navigation, search

Contents

[edit] Links

Links on wiki pages are made with double or single brackets - [[ ]] or [ ]. There are several types of links to be made: to existing pages inside to the wiki, to new pages inside the wiki, and to pages outside the wiki.

Links internal to the wiki use double brackets and exact page names. Links leading out use single brackets around URLs with a link name added.

  • Link to (create) a new wiki page - [[New Page Name]] = New Page
  • Link to an outside webpage - [http://www.evergreen.edu Evergreen] = Evergreen


[edit] Text Decorations

Use apostrophes around text for bold and italics.

  • Italics uses two apostrophes - ''This is italics.'' = This is italics.
  • Bold uses three apostrophes - '''This is bold.''' = This is bold.
  • Bold and italics uses five apostrophes - '''''This is bold and italics.''''' = This is bold and italics.


[edit] List Formats

Always put list formatting markers against the left margin.

  1. Numbered lists use the pound sign. #Like this. Numbered lines are always indented.
  • Bulleted lists use asterisks. *Like this.
    • Two asterisks will nest items down and in. **Like this.
      • Three asterisks nest in again, and so on. ***Like this.


[edit] Handy Spacers

  • To add a hard return between lines, add this code where you want the break - <br>
  • Put text in a box by putting one space at the left margin.
Like this.


[edit] Categories

Categories are special links that work like tags. They make it possible to sort out lists of pages that are all tagged the same way. The syntax for categories can be added anywhere on a page, but they always show up at the bottom.

As with all internal links in the wiki, it's crucial to avoid typos or mispellings and use exact names.

  • To link to an existing category, put double brackets around this syntax
    • image:example1.jpg and the category link Program Admin will show up ready for work at the bottom of the page.
  • To create a new category put double brackets around this - Category:new category name.


[edit] Images

The wiki application limits image size to about 400kb and recommends around 200kb. You can use jpg, gif, or png file formats. There are two steps putting an image on a wiki page. First, upload the image. Second, make an internal link to it.

  • Upload your image using the utility in the toolbox.
  • Use this syntax to embed the image in your page - [[image:filename.jpg]]

  • For your image to hug the right margin, add a bar and the word frame to your link - [[image:filename.jpg|frame]]
  • To add a caption and hug the right margin, add your caption after another bar - [[image:filename.jpg|frame|This is my caption.]]
  • Extended image syntax - [[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]].


[edit] Youtube Video

Academic Computing has added a Wikimedia extension to our wiki specific to Youtube. Trying to embed videos from other websites won't work.

  • To embed a Youtube video, start with this syntax - <youtube v="number" />
  • The number you need is in the video's Youtube URL
    • It is everything after the equal sign (and before the ampersand if there is one)
    • Don't forget to put your video item number in quotes inside the syntax.


[edit] Headings

Different numbers of equal signs around text create different heading styles. Headings have to be against the left margin and on a line by themselves to work. Headings vary in size but are always red.

The really big heading for this section uses one equal sign, like this - =Headings=

[edit] Pretty big heading with a cool underline

This ==Pretty big heading with cool underline== uses two equal signs

[edit] Reasonably big heading

This ===Reasonably big heading=== uses three equal signs

[edit] Just right heading

This ====Just right heading==== uses four equal signs

  • Multiple headings on a page will generate a numbered table of contents like the one at the top of this page. Some people really like this feature. If you don't, you can turn it off by placing two underscores on either side of this syntax __NOTOC__ anywhere on your page.